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:
unknown 2005-07-20 21:19:01 +02:00
commit af1dfb613b
4 changed files with 18 additions and 29 deletions

View file

@ -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
}