summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 6b961ac2262..a6c471f67d5 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -1115,8 +1115,6 @@ void mysql_ha_flush(THD *thd)
SQL_HANDLER *hash_tables;
DBUG_ENTER("mysql_ha_flush");
- mysql_mutex_assert_not_owner(&LOCK_open);
-
/*
Don't try to flush open HANDLERs when we're working with
system tables. The main MDL context is backed up and we can't