From edcd89ee1ef8e9ce8685f725b68af0bdb349400c Mon Sep 17 00:00:00 2001 From: Jon Olav Hauglid Date: Wed, 1 Jun 2011 13:52:20 +0200 Subject: Bug#11853126 RE-ENABLE CONCURRENT READS WHILE CREATING SECONDARY INDEX IN INNODB This is a follow-up patch. This patch moves part of the new test coverage to a test file that is only run on debug builds since it used debug- only features and therefore broke the test case on release builds. --- mysql-test/t/innodb_mysql_lock.test | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'mysql-test/t/innodb_mysql_lock.test') diff --git a/mysql-test/t/innodb_mysql_lock.test b/mysql-test/t/innodb_mysql_lock.test index a5dcb4d31bf..629da27660e 100644 --- a/mysql-test/t/innodb_mysql_lock.test +++ b/mysql-test/t/innodb_mysql_lock.test @@ -290,8 +290,6 @@ DROP TABLE IF EXISTS t1; --connect (con1,localhost,root) ---echo # Test 1: Secondary index - --echo # Connection default connection default; CREATE TABLE t1 (id INT PRIMARY KEY, value INT) ENGINE = InnoDB; @@ -314,22 +312,6 @@ ALTER TABLE t1 ADD INDEX idx(value); SELECT * FROM t1; COMMIT; DROP TABLE t1; - ---echo # Test 2: Primary index -CREATE TABLE t1(a INT NOT NULL, b INT NOT NULL) engine=innodb; -INSERT INTO t1 VALUES (1, 12345), (2, 23456); - ---echo # Connection con1 ---connection con1 -SET SESSION debug= "+d,alter_table_rollback_new_index"; ---error ER_UNKNOWN_ERROR -ALTER TABLE t1 ADD PRIMARY KEY(a); -SELECT * FROM t1; - ---echo # Connection default ---connection default -SELECT * FROM t1; -DROP TABLE t1; disconnect con1; -- cgit v1.2.1