Current Path : /home/usr.opt/mysql57/mysql-test/suite/perfschema/include/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/perfschema/include/wait_till_sleep.inc |
# Wait till the action of the connection using the DB = 'mysqltest' or # 'mysqlsupertest' is finished ( Command = 'Sleep'). let $wait_timeout= 10; let $wait_condition= SELECT COUNT(*) = 1 FROM performance_schema.threads WHERE processlist_db IN ('mysqltest','mysqlsupertest') AND processlist_command = 'Sleep'; --source include/wait_condition.inc if (!$success) { --echo # Error: We did not reach the expected state where processlist_command = 'Sleep' SELECT * FROM performance_schema.threads WHERE processlist_db IN ('mysqltest','mysqlsupertest'); --echo # abort exit; }