mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Backport of:
------------------------------------------------------------ revno: 2630.4.14 committer: Dmitry Lenev <dlenev@mysql.com> branch nick: mysql-6.0-3726-w timestamp: Wed 2008-05-28 12:16:03 +0400 message: WL#3726 "DDL locking for all metadata objects". After review fixes in progress. Removed unused code and adjusted names of functions/methods to better reflect their current function.
This commit is contained in:
@ -801,7 +801,7 @@ void mysql_ha_flush(THD *thd)
|
||||
if (hash_tables->table &&
|
||||
(hash_tables->table->mdl_lock &&
|
||||
mdl_has_pending_conflicting_lock(hash_tables->table->mdl_lock) ||
|
||||
hash_tables->table->needs_reopen_or_name_lock()))
|
||||
hash_tables->table->needs_reopen()))
|
||||
mysql_ha_close_table(thd, hash_tables);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user