1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock

After merge fix.
This commit is contained in:
ingo@mysql.com
2005-04-27 22:58:11 +02:00
parent 15f9556ca2
commit 731c8da030
3 changed files with 54 additions and 4 deletions

View File

@@ -1213,7 +1213,7 @@ static TABLE *delayed_get_table(THD *thd,TABLE_LIST *table_list)
}
pthread_mutex_lock(&tmp->mutex);
table=tmp->get_local_table(thd);
table= tmp->get_local_table(thd);
pthread_mutex_unlock(&tmp->mutex);
if (table)
thd->di=tmp;