summaryrefslogtreecommitdiff
path: root/sql/event_timed.cc
diff options
context:
space:
mode:
authorandrey@lmy004. <>2006-01-30 17:12:30 +0100
committerandrey@lmy004. <>2006-01-30 17:12:30 +0100
commit08892be32d351bd5380fabb0ce017ffccbef0586 (patch)
treea1a46a3ae4a9dca9205c1ff3697eafb10837cd13 /sql/event_timed.cc
parent9d7d8767dd56274b4b3f7fed39e4e467c0101e79 (diff)
downloadmariadb-git-08892be32d351bd5380fabb0ce017ffccbef0586.tar.gz
post-merge fixes of fix for bug#16642 (No I_S.EVENTS table)
WL#1034 (Internal CRON)
Diffstat (limited to 'sql/event_timed.cc')
-rw-r--r--sql/event_timed.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/event_timed.cc b/sql/event_timed.cc
index deab6e84c4f..0be3f32e854 100644
--- a/sql/event_timed.cc
+++ b/sql/event_timed.cc
@@ -307,6 +307,8 @@ event_timed::init_starts(THD *thd, Item *new_starts)
thd->variables.time_zone->gmt_sec_to_TIME(&time_tmp,
(my_time_t) thd->query_start());
+ DBUG_PRINT("info",("now =%lld", TIME_to_ulonglong_datetime(&time_tmp)));
+ DBUG_PRINT("info",("starts=%lld", TIME_to_ulonglong_datetime(&ltime)));
if (TIME_to_ulonglong_datetime(&ltime) <
TIME_to_ulonglong_datetime(&time_tmp))
DBUG_RETURN(EVEX_BAD_PARAMS);