summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-05-18 09:50:30 -0700
committerIgor Babaev <igor@askmonty.org>2012-05-18 09:50:30 -0700
commitd48b4a83a28750ccd9364e8e68ba5bfb9221858b (patch)
treeb464c088716907ab8f697f7668c93e092e35b069 /sql/sql_show.cc
parent9b79feba56d8b0f955447afddbc4ab8b1d4d33c1 (diff)
parent8e95e6543b629e67e68974b8657ecfda0ba29c8a (diff)
downloadmariadb-git-d48b4a83a28750ccd9364e8e68ba5bfb9221858b.tar.gz
Merge.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index ec0749f4693..278eac2141b 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -6841,6 +6841,7 @@ static my_bool find_schema_table_in_plugin(THD *thd, plugin_ref plugin,
if (!my_strcasecmp(system_charset_info,
schema_table->table_name,
table_name)) {
+ my_plugin_lock(thd, plugin);
p_schema_table->schema_table= schema_table;
DBUG_RETURN(1);
}