Commit 520774ea authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime

into  damien-katzs-computer.local:/Users/dkatz/mysql-5.0-runtime

parents f9759397 3cf3e286
...@@ -466,6 +466,12 @@ retry: ...@@ -466,6 +466,12 @@ retry:
{ {
mysql_ha_close_table(thd, tables); mysql_ha_close_table(thd, tables);
hash_tables->table= NULL; hash_tables->table= NULL;
/*
The lock might have been aborted, we need to manually reset
thd->some_tables_deleted because handler's tables are closed
in a non-standard way. Otherwise we might loop indefinitely.
*/
thd->some_tables_deleted= 0;
goto retry; goto retry;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment