mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-35049: Improve test coverage
innodb.lock_memory: Allow the test to run with ./mtr --mysqld=--loose-innodb-adaptive-hash-index. main.row_filter_innodb,ahi: A new combination for innodb_adaptive_hash_index=ON.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#
|
||||
# MDEV-28800 SIGABRT due to running out of memory for InnoDB locks
|
||||
#
|
||||
SET @save_ahi=@@GLOBAL.innodb_adaptive_hash_index;
|
||||
SET GLOBAL innodb_adaptive_hash_index=OFF;
|
||||
CREATE TABLE t1 (col1 INT) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (1),(2),(3),(4);
|
||||
INSERT INTO t1 SELECT * FROM t1;
|
||||
@@ -18,3 +20,4 @@ SELECT COUNT(*) FROM t1;
|
||||
COUNT(*)
|
||||
65552
|
||||
DROP TABLE t1;
|
||||
SET GLOBAL innodb_adaptive_hash_index=@save_ahi;
|
||||
|
Reference in New Issue
Block a user