mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Bug#30331: Table_locks_waited shows inaccurate values
Post-merge fix: wait for statement result before disconnecting. Otherwise, the statement might affect unrelated tests.
This commit is contained in:
parent
2887dd45b7
commit
885523381f
1 changed files with 3 additions and 1 deletions
|
@ -626,9 +626,11 @@ let $wait_condition=
|
|||
--source include/wait_condition.inc
|
||||
let $tlwb= `show status like 'Table_locks_waited'`;
|
||||
unlock tables;
|
||||
connection waiter;
|
||||
--reap
|
||||
connection default;
|
||||
drop table t1;
|
||||
disconnect waiter;
|
||||
connection default;
|
||||
--disable_query_log
|
||||
eval SET @tlwa= SUBSTRING_INDEX('$tlwa', ' ', -1);
|
||||
eval SET @tlwb= SUBSTRING_INDEX('$tlwb', ' ', -1);
|
||||
|
|
Loading…
Add table
Reference in a new issue