summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_help.cc')
-rw-r--r--sql/sql_help.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index 003741a7ddc..af67db45b36 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -653,6 +653,7 @@ bool mysqld_help(THD *thd, const char *mask)
tables[3].alias= tables[3].table_name= (char*) "help_keyword";
tables[3].lock_type= TL_READ;
tables[0].db= tables[1].db= tables[2].db= tables[3].db= (char*) "mysql";
+ init_mdl_requests(tables);
Open_tables_state open_tables_state_backup;
if (open_system_tables_for_read(thd, tables, &open_tables_state_backup))