Commit 27cb76cd authored by Dmitry Lenev's avatar Dmitry Lenev

Fixed failure of parts.partition_debug_sync_innodb.test which

was caused by change of thread state name from "Waiting for
table" to "Waiting for table metadata lock" (which has 
happened as part of fix for bug 52044 "FLUSH TABLES WITH READ
LOCK and FLUSH TABLES <list> WITH READ LOCK are incompati").
parent 9bd8a62d
...@@ -28,7 +28,8 @@ ALTER TABLE t1 TRUNCATE PARTITION pMax; ...@@ -28,7 +28,8 @@ ALTER TABLE t1 TRUNCATE PARTITION pMax;
--echo # con default --echo # con default
let $wait_condition= let $wait_condition=
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST
WHERE STATE = "Waiting for table" AND INFO = "ALTER TABLE t1 TRUNCATE PARTITION pMax"; WHERE STATE = "Waiting for table metadata lock" AND
INFO = "ALTER TABLE t1 TRUNCATE PARTITION pMax";
--source include/wait_condition.inc --source include/wait_condition.inc
--sorted_result --sorted_result
SELECT * FROM t1; SELECT * FROM t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment