Commit 81e3e7d4 authored by Sergei Golubchik's avatar Sergei Golubchik

bug fix: I_S plugins were not locked when used

parent e13e93cb
......@@ -6838,6 +6838,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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment