mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
Bug #10600 After review fixes
sql/lock.cc: Used flags immediately in call sql/mysql_priv.h: Added RTFC (short for remove_table_from_cache) for constants and used hex syntax to clarify it is bits in the flags sql/sql_base.cc: Use flags parameter immediately and use flags immediately in call Change to other variant of eternal loop variant sql/sql_table.cc: Use flags immediately in call
This commit is contained in:
parent
6d29b23b15
commit
af1dfb613b
4 changed files with 18 additions and 29 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue