mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Merge branch '10.6' into 10.11
This commit is contained in:
commit
87e13722a9
190 changed files with 6075 additions and 1653 deletions
|
|
@ -1588,6 +1588,11 @@ void THD::close_unused_temporary_table_instances(const TABLE_LIST *tl)
|
|||
{
|
||||
/* Note: removing current list element doesn't invalidate iterator. */
|
||||
share->all_tmp_tables.remove(table);
|
||||
/*
|
||||
At least one instance should be left (guaratead by calling this
|
||||
function for table which is opened and the table is under processing)
|
||||
*/
|
||||
DBUG_ASSERT(share->all_tmp_tables.front());
|
||||
free_temporary_table(table);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue