1
0
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:
unknown
2006-09-25 11:48:51 -07:00
parent e564f89c9c
commit 07ef7461a0

View File

@ -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);
}