diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-09-29 00:58:09 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-09-29 10:18:50 +0200 |
commit | f9605eb20947f5533cfe74dda44c9a22b43c551f (patch) | |
tree | cca8235a90f42f4d8e5578a6ea9d863e6b30f797 | |
parent | 28ae361857686d49fce1933958b15f90db2047d1 (diff) | |
download | mariadb-git-f9605eb20947f5533cfe74dda44c9a22b43c551f.tar.gz |
fix sporadic failures on main.kill
KILL QUERY ID 0 was sometimes finding con3 that was still in the process
of disconnecting and had query_id==0 (as it didn't run any queries)
-rw-r--r-- | mysql-test/main/kill.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/kill.test b/mysql-test/main/kill.test index b2debd95a98..bfcf922d73b 100644 --- a/mysql-test/main/kill.test +++ b/mysql-test/main/kill.test @@ -504,6 +504,7 @@ drop table t2; --echo # --echo # Test kill USER --echo # +--source include/count_sessions.inc grant ALL on test.* to test@localhost; grant ALL on test.* to test2@localhost; connect (con3, localhost, test,,); @@ -528,6 +529,7 @@ connection con4; --error 2013,2006,5014 select 1; connection default; +--source include/wait_until_count_sessions.inc --echo # --echo # MDEV-4911 - add KILL query id, and add query id information to |