=== modified file 'mysql-test/t/events_bugs.test' --- mysql-test/t/events_bugs.test 2008-02-07 10:47:39 +0000 +++ mysql-test/t/events_bugs.test 2008-09-12 18:40:04 +0000 @@ -114,6 +114,12 @@ let $wait_condition= select /*1*/ user, host, db, info from information_schema.processlist where command!='Daemon' and (info is null or info not like '%processlist%') order by info; select release_lock('test_bug16407'); +# wait for it to stop or we will get very spurious test failures +let $wait_condition= + select count(*) = 0 from information_schema.processlist + where db = 'events_test' and info not like '%processlist%'; +--source include/wait_condition.inc + set global event_scheduler= off; select event_schema, event_name, sql_mode from information_schema.events order by event_schema, event_name;