Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/r/insert_debug.result |
# # Bug#19904003 INNODB_LIMIT_OPTIMISTIC_INSERT_DEBUG=1 # CAUSES INFINITE PAGE SPLIT # SET GLOBAL innodb_change_buffering_debug=1; SET GLOBAL innodb_limit_optimistic_insert_debug=1; CREATE TABLE t1(c1 INT PRIMARY KEY) ENGINE=InnoDB PARTITION BY HASH (c1) PARTITIONS 15; DROP TABLE t1; SET GLOBAL innodb_change_buffering_debug=0; SET GLOBAL innodb_limit_optimistic_insert_debug=0; # # Bug#25082593 FOREIGN KEY VALIDATION DOESN'T NEED # TO ACQUIRE GAP LOCK IN READ COMMITTED # SET GLOBAL innodb_limit_optimistic_insert_debug=2; CREATE TABLE t1(col1 INT PRIMARY KEY) ENGINE=INNODB; CREATE TABLE t2(col1 INT PRIMARY KEY, col2 INT NOT NULL, FOREIGN KEY(col2) REFERENCES t1(col1)) ENGINE=INNODB; INSERT INTO t1 VALUES(1), (3), (4); SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; START TRANSACTION; INSERT INTO t2 VALUES(1, 3); START TRANSACTION; INSERT INTO t1 VALUES(2); SET GLOBAL innodb_limit_optimistic_insert_debug=0; DROP TABLE t2; DROP TABLE t1;