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").
This commit is contained in:
Dmitry Lenev 2010-08-20 11:54:37 +04:00
parent 9bd8a62d62
commit 27cb76cd30

View file

@ -28,7 +28,8 @@ ALTER TABLE t1 TRUNCATE PARTITION pMax;
--echo # con default
let $wait_condition=
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
--sorted_result
SELECT * FROM t1;