summaryrefslogtreecommitdiff
path: root/sql/event_queue.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-01-04 15:29:42 +0100
committerAleksey Midenkov <midenok@gmail.com>2018-01-09 15:31:30 +0300
commitc92bf28b5f33103ccf34e8e4c4d20b6013a239b4 (patch)
treef70be81c1d749849b60e5f45e301ddd723b2bc83 /sql/event_queue.cc
parentd20d7a92c0c0ff33f892746b3cc40e324c13b5ba (diff)
downloadmariadb-git-c92bf28b5f33103ccf34e8e4c4d20b6013a239b4.tar.gz
cleanup: don't use thd->set_current_time() directly
Diffstat (limited to 'sql/event_queue.cc')
-rw-r--r--sql/event_queue.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc
index e46326afe18..9e30534dd14 100644
--- a/sql/event_queue.cc
+++ b/sql/event_queue.cc
@@ -617,7 +617,7 @@ Event_queue::get_top_for_execution_if_time(THD *thd,
top= (Event_queue_element*) queue_top(&queue);
- thd->set_current_time(); /* Get current time */
+ thd->set_start_time(); /* Get current time */
next_activation_at= top->execute_at;
if (next_activation_at > thd->query_start())