mysql-test/suite/perfschema/include/pfs_running_event_scheduler.inc
raw| 1 | # threads are added to: |
| 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 start |
| 6 | # |
| 7 | let $wait_condition= |
| 8 | SELECT COUNT(*) = 1 FROM performance_schema.threads |
| 9 | WHERE name LIKE 'thread/sql/event%' AND processlist_command IS NOT NULL; |
| 10 | --source include/wait_condition.inc |