mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Merge branch 'github/10.0' into 10.1
This commit is contained in:
commit
d4df7bc9b1
448 changed files with 8920 additions and 3341 deletions
|
|
@ -663,8 +663,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
|
|||
if (lock_type == TL_WRITE && !table->table->s->tmp_table &&
|
||||
table->mdl_request.type > MDL_SHARED_WRITE)
|
||||
{
|
||||
if (wait_while_table_is_used(thd, table->table,
|
||||
HA_EXTRA_PREPARE_FOR_RENAME))
|
||||
if (wait_while_table_is_used(thd, table->table, HA_EXTRA_NOT_USED))
|
||||
goto err;
|
||||
DEBUG_SYNC(thd, "after_admin_flush");
|
||||
/* Flush entries in the query cache involving this table. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue