summaryrefslogtreecommitdiff
path: root/mysql-test/r/events_scheduling.result
diff options
context:
space:
mode:
authordkatz@damien-katzs-computer.local <>2007-12-07 19:27:45 -0500
committerdkatz@damien-katzs-computer.local <>2007-12-07 19:27:45 -0500
commit71160422ee4ebccac974ff4a42934dafcaf56449 (patch)
treedb8a6c93c997972f0550dfca52c556cdfec289c4 /mysql-test/r/events_scheduling.result
parent413112fb55afb352537f35a77d17327f5370c873 (diff)
downloadmariadb-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.result4
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;