mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
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:
parent
9bd8a62d62
commit
27cb76cd30
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue