summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index dbd7748e104..eb49254215d 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -549,9 +549,8 @@ int lock_table_name(THD *thd, TABLE_LIST *table_list)
}
{
- uint flags= 0;
if (remove_table_from_cache(thd, db,
- table_list->real_name, flags))
+ table_list->real_name, RTFC_NO_FLAG))
{
DBUG_RETURN(1); // Table is in use
}