summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-06-19 00:17:25 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-06-19 00:17:25 -0400
commit8c44fd63ac61161e92e7feb55d693d72aebac68d (patch)
treeec3bf31837fea5c01a8cf0c66dfd9ce1c7d7cae7 /mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
parent6d5b723bdc3e04978619b9673fca266e0426916f (diff)
downloadmariadb-git-8c44fd63ac61161e92e7feb55d693d72aebac68d.tar.gz
MDEV-8239 : Idle threads post-execution end up in closing tables state
Set thd's state to 'committed' only after it has done closing tables (called indirectly by relay_group_info::cleanup_context()).
Diffstat (limited to 'mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test')
-rw-r--r--mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test b/mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
index d67eba4d37c..cf984f92b2f 100644
--- a/mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
+++ b/mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
@@ -41,7 +41,7 @@ while ($count)
SELECT COUNT(*) = 20000 FROM t1;
SELECT COUNT(DISTINCT f1) = 20000 FROM t1;
-SELECT COUNT(*) = 4 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE LIKE 'closing tables';
+SELECT COUNT(*) = 4 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE LIKE 'committed%';
--disable_query_log
--eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_threads_orig;