Skip to content

Commit 18a30d0

Browse files
author
Mikael Ronstrom
committed
Post-merge fix: wait for statement result before disconnecting. Otherwise the statement might affect unrelated tests. mysql-test/t/lock_multi.test, Reap statement status
1 parent f408138 commit 18a30d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mysql-test/t/lock_multi.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,11 @@ let $wait_condition=
626626
--source include/wait_condition.inc
627627
let $tlwb= `show status like 'Table_locks_waited'`;
628628
unlock tables;
629+
connection waiter;
630+
--reap
631+
connection default;
629632
drop table t1;
630633
disconnect waiter;
631-
connection default;
632634
--disable_query_log
633635
eval SET @tlwa= SUBSTRING_INDEX('$tlwa', ' ', -1);
634636
eval SET @tlwb= SUBSTRING_INDEX('$tlwb', ' ', -1);

0 commit comments

Comments
 (0)