mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.6 into 10.10
This commit is contained in:
@ -4,17 +4,6 @@
|
||||
|
||||
# Wait until there is only one session left, this one.
|
||||
|
||||
let $wait_condition=
|
||||
select count(*) = 1 from information_schema.processlist;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
# Threads are removed from information_schema.processlist
|
||||
# very soon, but continue to execute in the server,
|
||||
# before finally be removed from performance_schema.threads.
|
||||
# Because instrumentation is optional, we use "<=" here.
|
||||
|
||||
let $wait_condition=
|
||||
select count(*) <= 2 from performance_schema.threads
|
||||
where `TYPE`='FOREGROUND';
|
||||
let $wait_condition= select count(*) = 1 from performance_schema.threads where `type`='foreground';
|
||||
--source include/wait_condition.inc
|
||||
|
||||
|
Reference in New Issue
Block a user