1
0
mirror of https://github.com/MariaDB/server.git synced 2025-04-26 11:49:09 +03:00
mariadb/mysql-test/suite/innodb/r/evict_tables_on_commit_debug.result
Marko Mäkelä 59e8a12657 MDEV-26879 innodb_evict_tables_on_commit_debug=on makes table creation hang
In commit c5fd9aa562fb15e8d6ededceccbec0c9792a3243 (MDEV-25919)
an incorrect change to lock_release() was applied.

The setting innodb_evict_tables_on_commit_debug=on should only be
applied to normal transactions, not DDL transactions in the likes of
CREATE TABLE, nor transactions that are holding dict_sys.latch,
such as dict_stats_save().
2022-01-05 12:14:01 +02:00

10 lines
353 B
Plaintext

SET @save_debug= @@GLOBAL.innodb_evict_tables_on_commit_debug;
SET GLOBAL innodb_evict_tables_on_commit_debug=on;
CREATE TEMPORARY TABLE t1(a INT) ENGINE=InnoDB;
CREATE TABLE t2 (a INT) ENGINE=InnoDB;
INSERT INTO t1 VALUES(1);
INSERT INTO t2 VALUES(2);
DROP TABLE t2;
SET GLOBAL innodb_evict_tables_on_commit_debug=@save_debug;
DROP TEMPORARY TABLE t1;