diff options
author | dkatz@damien-katzs-computer.local <> | 2007-12-07 19:27:45 -0500 |
---|---|---|
committer | dkatz@damien-katzs-computer.local <> | 2007-12-07 19:27:45 -0500 |
commit | 71160422ee4ebccac974ff4a42934dafcaf56449 (patch) | |
tree | db8a6c93c997972f0550dfca52c556cdfec289c4 /mysql-test/r/events_scheduling.result | |
parent | 413112fb55afb352537f35a77d17327f5370c873 (diff) | |
download | mariadb-git-71160422ee4ebccac974ff4a42934dafcaf56449.tar.gz |
Bug#29830 Test case 'events_scheduling' fails on Mac OS X and Windows.
Change LAST_EXECUTED time the execution start time, instead of the execution completion time. This ensures the END time always the same or later than the LAST_EXECUTED time.
Diffstat (limited to 'mysql-test/r/events_scheduling.result')
-rw-r--r-- | mysql-test/r/events_scheduling.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/events_scheduling.result b/mysql-test/r/events_scheduling.result index d45bffcd7ff..033136ba354 100644 --- a/mysql-test/r/events_scheduling.result +++ b/mysql-test/r/events_scheduling.result @@ -78,10 +78,10 @@ FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='event_2'; IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR') OK -SELECT IF(LAST_EXECUTED-ENDS < 3, 'OK', 'ERROR') +SELECT IF(LAST_EXECUTED-ENDS <= 0, 'OK', 'ERROR') FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='event_2'; -IF(LAST_EXECUTED-ENDS < 3, 'OK', 'ERROR') +IF(LAST_EXECUTED-ENDS <= 0, 'OK', 'ERROR') OK "Already dropped because ended. Therefore an error." DROP EVENT event_3; |