summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index a5208ef29a5..8472117510b 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -995,10 +995,7 @@ void close_thread_tables(THD *thd)
we will exit this function a few lines below.
*/
if (! thd->lex->requires_prelocking())
- {
- thd->locked_tables_list.reopen_tables(thd, true);
DBUG_VOID_RETURN;
- }
/*
We are in the top-level statement of a prelocked statement,