1 # Wait till the action of the connection using the DB = 'mysqltest' or 
    2 # 'mysqlsupertest' is finished ( Command = 'Sleep'). 
    7 FROM performance_schema.threads
 
    8 WHERE processlist_db IN (
'mysqltest',
'mysqlsupertest')
 
    9   AND processlist_command = 'Sleep';
 
   10 --source include/wait_condition.inc
 
   13    --echo # Error: We did not reach the expected state where processlist_command = 
'Sleep' 
   14    SELECT * FROM performance_schema.threads
 
   15    WHERE processlist_db IN (
'mysqltest',
'mysqlsupertest');