Commit 5ba4f7e3 authored by unknown's avatar unknown

Merge moksha.com.br:/Users/davi/mysql/bugs/post-rename-5.0

into  moksha.com.br:/Users/davi/mysql/mysql-5.1-runtime


sql/sql_handler.cc:
  Auto merged
parents 2170dd08 bf4c0695
......@@ -466,6 +466,12 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables,
{
mysql_ha_close_table(thd, tables);
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;
}
......
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