mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Commit on behalf of Dmitry Lenev.
Merge his patch for Bug#52044 into 5.5, and apply review comments.
This commit is contained in:
@@ -934,7 +934,7 @@ void mysql_ha_flush(THD *thd)
|
||||
((hash_tables->table->mdl_ticket &&
|
||||
hash_tables->table->mdl_ticket->has_pending_conflicting_lock()) ||
|
||||
(!hash_tables->table->s->tmp_table &&
|
||||
hash_tables->table->s->needs_reopen())))
|
||||
hash_tables->table->s->has_old_version())))
|
||||
mysql_ha_close_table(thd, hash_tables);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user