• Sergei Golubchik's avatar
    Bug#29363867: LOST CONNECTION TO MYSQL SERVER DURING QUERY · 91599701
    Sergei Golubchik authored
    plugin variables in SET  only locked the plugin till the end of the
    statement. If SET with a plugin variable was prepared, it was possible
    to uninstall the plugin before EXECUTE. Then EXECUTE would crash,
    trying to resolve a now-invalid pointer to a disappeared variable.
    
    Fix: keep plugins locked until the prepared statement is closed.
    91599701
plugin_vars.test 2.21 KB