From 27cb76cd30bfd256eb563a3bdc69dbd3ca8520f3 Mon Sep 17 00:00:00 2001 From: Dmitry Lenev Date: Fri, 20 Aug 2010 11:54:37 +0400 Subject: [PATCH] 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 WITH READ LOCK are incompati"). --- mysql-test/suite/parts/t/partition_debug_sync_innodb.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql-test/suite/parts/t/partition_debug_sync_innodb.test b/mysql-test/suite/parts/t/partition_debug_sync_innodb.test index a6db0d39925..915a3f2ceb6 100644 --- a/mysql-test/suite/parts/t/partition_debug_sync_innodb.test +++ b/mysql-test/suite/parts/t/partition_debug_sync_innodb.test @@ -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;