Skip to content
Permalink
Browse files
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).
  • Loading branch information
vuvova committed Aug 1, 2022
1 parent 8ea529e commit 40c2460
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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)

{

0 comments on commit 40c2460

Please sign in to comment.