mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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);
|
||||
deinit:
|
||||
plugin_deinitialize(tmp);
|
||||
err:
|
||||
plugin_del(tmp);
|
||||
err:
|
||||
rw_unlock(&THR_LOCK_plugin);
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user