diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-04 15:29:42 +0100 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2018-01-09 15:31:30 +0300 |
commit | c92bf28b5f33103ccf34e8e4c4d20b6013a239b4 (patch) | |
tree | f70be81c1d749849b60e5f45e301ddd723b2bc83 /sql/event_queue.cc | |
parent | d20d7a92c0c0ff33f892746b3cc40e324c13b5ba (diff) | |
download | mariadb-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.cc | 2 |
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()) |