MDEV-28240 InnoDB Temporary Tablespace (ibtmp1) is continously growing

- This is caused by commit 1bd681c8(MDEV-25506)
InnoDB removes the index from the table object before freeing the
leaf and non-leaf segments.
parent fd8dbe0d
......@@ -13497,11 +13497,12 @@ int ha_innobase::delete_table(const char *name)
if (table->is_temporary())
{
dict_sys.remove(table, false, true);
dict_sys.unlock();
parent_trx->mod_tables.erase(table); /* CREATE...SELECT error handling */
btr_drop_temporary_table(*table);
dict_mem_table_free(table);
dict_sys.lock(SRW_LOCK_CALL);
dict_sys.remove(table);
dict_sys.unlock();
DBUG_RETURN(0);
}
......
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