mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fix THD::system_time to follow, well, system time
Because NOW() is set to system time, unless overriden. And both should follow big manual system time changes, while still coping with lowres system clocks. Ignoring system time changes is both confusing and breaks with restarts.
This commit is contained in:
@ -819,8 +819,7 @@ THD::THD(my_thread_id id, bool is_wsrep_applier, bool skip_global_sys_var_lock)
|
||||
// Must be reset to handle error with THD's created for init of mysqld
|
||||
lex->current_select= 0;
|
||||
start_utime= utime_after_query= 0;
|
||||
system_time= 0;
|
||||
system_time_sec_part= 0;
|
||||
system_time.start.val= system_time.sec= system_time.sec_part= 0;
|
||||
utime_after_lock= 0L;
|
||||
progress.arena= 0;
|
||||
progress.report_to_client= 0;
|
||||
|
Reference in New Issue
Block a user