diff options
author | unknown <dkatz@damien-katzs-computer.local> | 2007-12-07 19:27:45 -0500 |
---|---|---|
committer | unknown <dkatz@damien-katzs-computer.local> | 2007-12-07 19:27:45 -0500 |
commit | 2bbf12c3305295b41639c98ca805437b4efc0e3a (patch) | |
tree | db8a6c93c997972f0550dfca52c556cdfec289c4 /mysql-test/t/events_scheduling.test | |
parent | 0fdc16bd13bca09abe4026d892d71eccb99fd121 (diff) | |
download | mariadb-git-2bbf12c3305295b41639c98ca805437b4efc0e3a.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.
mysql-test/t/disabled.def:
Enable events_scheduling test
Diffstat (limited to 'mysql-test/t/events_scheduling.test')
-rw-r--r-- | mysql-test/t/events_scheduling.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/events_scheduling.test b/mysql-test/t/events_scheduling.test index b1eeae1e020..226cad0f3eb 100644 --- a/mysql-test/t/events_scheduling.test +++ b/mysql-test/t/events_scheduling.test @@ -87,7 +87,7 @@ SELECT IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR') FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='event_2'; -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'; |