diff options
Diffstat (limited to 'sql/sql_servers.cc')
-rw-r--r-- | sql/sql_servers.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_servers.cc b/sql/sql_servers.cc index 5251a50cab9..6d25b0c2b59 100644 --- a/sql/sql_servers.cc +++ b/sql/sql_servers.cc @@ -224,7 +224,8 @@ bool servers_reload(THD *thd) bool return_val= TRUE; DBUG_ENTER("servers_reload"); - unlock_locked_tables(thd); // Can't have locked tables here + /* Can't have locked tables here */ + thd->locked_tables_list.unlock_locked_tables(thd); DBUG_PRINT("info", ("locking servers_cache")); rw_wrlock(&THR_LOCK_servers); |