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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user