1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

perfschema.threads_mysql sporadic failures

wait a bit more thoroughly for event scheduler to be fully started
This commit is contained in:
Sergei Golubchik
2023-11-21 00:12:02 +01:00
parent d8e448ba1b
commit 7317aadeea

View File

@ -1,10 +1,10 @@
# threads are removed from: # threads are added to:
# - information_schema.processlist # - information_schema.processlist
# - performance_schema.threads # - performance_schema.threads
# at different times, so we may have to wait a little more # at different times, so we may have to wait a little more
# for the event_scheduler to shutdown # for the event_scheduler to start
# #
let $wait_condition= let $wait_condition=
SELECT COUNT(*) = 1 FROM performance_schema.threads SELECT COUNT(*) = 1 FROM performance_schema.threads
WHERE name like 'thread/sql/event%'; WHERE name LIKE 'thread/sql/event%' AND processlist_command IS NOT NULL;
--source include/wait_condition.inc --source include/wait_condition.inc