mirror of
https://github.com/MariaDB/server.git
synced 2025-05-02 19:25:03 +03:00
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().
12 lines
418 B
Plaintext
12 lines
418 B
Plaintext
--source include/have_innodb.inc
|
|
--source include/have_debug.inc
|
|
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;
|