mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
71f53bf72d
This is an addition to original fix. Buildbot revealed another sporadic failure in perfschema.threads_mysql test. Tests relies on data stored in performance_schema.threads, while performing waits on information_schema.processlist. These tables are not updated synchronously. Fixed by performing waits on performance_schema.threads instead.
10 lines
343 B
SQL
10 lines
343 B
SQL
# threads are removed from:
|
|
# - information_schema.processlist
|
|
# - performance_schema.threads
|
|
# at different times, so we may have to wait a little more
|
|
# for the event_scheduler to shutdown
|
|
#
|
|
let $wait_condition=
|
|
SELECT COUNT(*) = 1 FROM performance_schema.threads
|
|
WHERE name like 'thread/sql/event%';
|
|
--source include/wait_condition.inc
|