mirror of
https://github.com/MariaDB/server.git
synced 2025-07-14 13:41:20 +03:00
in INFORMATION_SCHEMA.ALL_PLUGINS match installed plugins better
look for an installed plugin with the same name _and the same type_ (in case there are many plugins with the same name and different type, which is, technically, possible for built-in plugins).
This commit is contained in:
@ -2458,7 +2458,7 @@ static bool plugin_dl_foreach_internal(THD *thd, st_plugin_dl *plugin_dl,
|
||||
tmp.plugin_dl= plugin_dl;
|
||||
|
||||
mysql_mutex_lock(&LOCK_plugin);
|
||||
if ((plugin= plugin_find_internal(&tmp.name, MYSQL_ANY_PLUGIN)) &&
|
||||
if ((plugin= plugin_find_internal(&tmp.name, plug->type)) &&
|
||||
plugin->plugin == plug)
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user