summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index a8bf2695ac4..3acc025b84f 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -220,9 +220,10 @@ int fill_plugins(THD *thd, TABLE_LIST *tables, COND *cond)
DBUG_ENTER("fill_plugins");
TABLE *table= tables->table;
- if (plugin_foreach(thd, show_plugins, MYSQL_ANY_PLUGIN, table))
+ if (plugin_foreach_with_mask(thd, show_plugins, MYSQL_ANY_PLUGIN,
+ ~PLUGIN_IS_FREED, table))
DBUG_RETURN(1);
-
+
DBUG_RETURN(0);
}