diff options
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index ebf0ba22f85..3448009cd20 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -2154,7 +2154,7 @@ int apply_event_and_update_pos(Log_event* ev, THD* thd, Relay_log_info* rli) if (!ev->when) { my_hrtime_t hrtime= my_hrtime(); - ev->when= hrtime_to_time(hrtime); + ev->when= hrtime_to_my_time(hrtime); ev->when_sec_part= hrtime_sec_part(hrtime); } ev->thd = thd; // because up to this point, ev->thd == 0 |