diff options
Diffstat (limited to 'sql/lock.cc')
-rw-r--r-- | sql/lock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/lock.cc b/sql/lock.cc index 35b93c79fee..507e802d2e8 100644 --- a/sql/lock.cc +++ b/sql/lock.cc @@ -562,7 +562,7 @@ int lock_table_name(THD *thd, TABLE_LIST *table_list) my_free((gptr) table,MYF(0)); DBUG_RETURN(-1); } - if (remove_table_from_cache(thd, db, table_list->table_name)) + if (remove_table_from_cache(thd, db, table_list->table_name, 0)) DBUG_RETURN(1); // Table is in use DBUG_RETURN(0); } |