summaryrefslogtreecommitdiff
path: root/sql/event_data_objects.cc
diff options
context:
space:
mode:
authorunknown <dkatz@damien-katzs-computer.local>2007-12-07 19:27:45 -0500
committerunknown <dkatz@damien-katzs-computer.local>2007-12-07 19:27:45 -0500
commit2bbf12c3305295b41639c98ca805437b4efc0e3a (patch)
treedb8a6c93c997972f0550dfca52c556cdfec289c4 /sql/event_data_objects.cc
parent0fdc16bd13bca09abe4026d892d71eccb99fd121 (diff)
downloadmariadb-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 'sql/event_data_objects.cc')
-rw-r--r--sql/event_data_objects.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/event_data_objects.cc b/sql/event_data_objects.cc
index adac2b596c1..f4b64ab3012 100644
--- a/sql/event_data_objects.cc
+++ b/sql/event_data_objects.cc
@@ -1649,8 +1649,6 @@ err:
void
Event_queue_element::mark_last_executed(THD *thd)
{
- thd->set_current_time();
-
last_executed= (my_time_t) thd->query_start();
last_executed_changed= TRUE;