mysql-test/suite/perfschema/include/pfs_no_running_event_scheduler.inc
raw| 1 | # threads are removed from: |
| 2 | # - information_schema.processlist |
| 3 | # - performance_schema.threads |
| 4 | # at different times, so we may have to wait a little more |
| 5 | # for the event_scheduler to shutdown |
| 6 | # |
| 7 | let $wait_condition= |
| 8 | SELECT COUNT(*) = 0 FROM performance_schema.threads |
| 9 | WHERE name like 'thread/sql/event%'; |
| 10 | --source include/wait_condition.inc |