mariadb/storage/rocksdb/mysql-test/rocksdb
Nikita Malyavin 5d538f950c Rework how global temporary tables are dropped
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
2025-10-16 20:14:23 +02:00
..
include Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
r Rework how global temporary tables are dropped 2025-10-16 20:14:23 +02:00
t Rework how global temporary tables are dropped 2025-10-16 20:14:23 +02:00
combinations Revert "MDEV-30610 Update RocksDB to v8.1.1" 2023-09-30 14:12:55 +02:00
my.cnf Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
slow_query_log.awk Lintian complains about script-not-executable 2019-05-30 17:19:13 +04:00
suite.opt Test cleanup related to MDEV-12501 2017-12-16 15:34:48 +00:00
suite.pm fix rocksdb tests for buildbot 2025-01-10 13:13:53 +01:00