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

Fixed LP bug #972973.

When the function free_tmp_table deletes the handler object for
a temporary table the field TABLE::file for this table should be
set to NULL. Otherwise an assertion failure may occur.
This commit is contained in:
Igor Babaev
2012-04-07 02:29:04 -07:00
parent c1feaf8d8a
commit b95ae56b9f
4 changed files with 47 additions and 1 deletions

View File

@@ -15116,6 +15116,7 @@ free_tmp_table(THD *thd, TABLE *entry)
else
entry->file->ha_delete_table(entry->s->table_name.str);
delete entry->file;
entry->file= 0;
}
/* free blobs */