1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix problem where key_read was not cleaned up properly, which caused assert in innodb test.

This commit is contained in:
monty@narttu.mysql.fi
2003-05-03 16:21:43 +03:00
parent 9e4f394e59
commit 7410b6cbdf
5 changed files with 52 additions and 30 deletions

View File

@ -482,8 +482,9 @@ bool close_thread_table(THD *thd, TABLE **table_ptr)
{
DBUG_ENTER("close_thread_table");
bool found_old_table=0;
TABLE *table=*table_ptr;
bool found_old_table= 0;
TABLE *table= *table_ptr;
DBUG_ASSERT(table->key_read == 0);
*table_ptr=table->next;
if (table->version != refresh_version ||