From abd7a283b8ac38304a8bf7c21c175c298eec7eda Mon Sep 17 00:00:00 2001 From: Dmitry Shulga Date: Wed, 25 May 2011 23:44:08 +0700 Subject: [PATCH] Follow-up for patch for bug#11749345. --- sql/sql_show.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 61a2287419c..fb5ed62ecdf 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -3766,6 +3766,8 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond) continue; } + DEBUG_SYNC(thd, "before_open_in_get_all_tables"); + if (fill_schema_table_by_open(thd, FALSE, table, schema_table, db_name, table_name,