Skip to content

Commit 7317aad

Browse files
committed
perfschema.threads_mysql sporadic failures
wait a bit more thoroughly for event scheduler to be fully started
1 parent d8e448b commit 7317aad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# threads are removed from:
1+
# threads are added to:
22
# - information_schema.processlist
33
# - performance_schema.threads
44
# at different times, so we may have to wait a little more
5-
# for the event_scheduler to shutdown
5+
# for the event_scheduler to start
66
#
77
let $wait_condition=
88
SELECT COUNT(*) = 1 FROM performance_schema.threads
9-
WHERE name like 'thread/sql/event%';
9+
WHERE name LIKE 'thread/sql/event%' AND processlist_command IS NOT NULL;
1010
--source include/wait_condition.inc

0 commit comments

Comments
 (0)