summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_class.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 84fdaf8b1b6..9f6ff7cde34 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -813,6 +813,8 @@ 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;
utime_after_lock= 0L;
progress.arena= 0;
progress.report_to_client= 0;