mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#20615
"plugin name lost when loading an already-loaded name" Do not delete existing plugin when loading a new plugin which has the same name. sql/sql_plugin.cc: Bug#20615 Don't delete the plugin if it wasn't added.
This commit is contained in:
@ -864,8 +864,8 @@ my_bool mysql_install_plugin(THD *thd, const LEX_STRING *name, const LEX_STRING
|
|||||||
DBUG_RETURN(FALSE);
|
DBUG_RETURN(FALSE);
|
||||||
deinit:
|
deinit:
|
||||||
plugin_deinitialize(tmp);
|
plugin_deinitialize(tmp);
|
||||||
err:
|
|
||||||
plugin_del(tmp);
|
plugin_del(tmp);
|
||||||
|
err:
|
||||||
rw_unlock(&THR_LOCK_plugin);
|
rw_unlock(&THR_LOCK_plugin);
|
||||||
DBUG_RETURN(TRUE);
|
DBUG_RETURN(TRUE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user