mirror of
https://github.com/MariaDB/server.git
synced 2025-10-07 00:09:16 +02:00
![]() We're used to drop ON COMMIT DELETE child tables exactly as part of commit hton call, however some parts of server rely on the fact that table unlock happens *after* trans_commit/trans_rollback. At the same time, we can't safely ignore unlocking for temporary tables, since it's important for innodb. The solution is to defer dropping to the stage after unlocking, i.e. as part of close_thread_tables -> mark_tmp_tables_as_free_for_reuse. THD::commit_global_tmp_tables: set the committed mark THD::mark_tmp_tables_as_free_for_reuse: drop ON COMMIT DELETE tables if the committed mark set. Fixes MDEV-37394, MDEV-37690 and MDEV-37395 |
||
---|---|---|
.. | ||
archive | ||
blackhole | ||
columnstore | ||
connect | ||
csv | ||
example | ||
federated | ||
federatedx | ||
heap | ||
innobase | ||
maria | ||
mroonga | ||
myisam | ||
myisammrg | ||
oqgraph | ||
perfschema | ||
rocksdb | ||
sequence | ||
sphinx | ||
spider | ||
test_sql_discovery |