Commit 57fd548d authored by Eugene Kosov's avatar Eugene Kosov Committed by Sergei Golubchik

SQL: uninitialized read [#387]

rpl.rpl_events sometimes fails in release mode after be81b00c

This could be prevented with MSAN
parent 93e8ee4a
...@@ -813,6 +813,8 @@ THD::THD(my_thread_id id, bool is_wsrep_applier, bool skip_global_sys_var_lock) ...@@ -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 // Must be reset to handle error with THD's created for init of mysqld
lex->current_select= 0; lex->current_select= 0;
start_utime= utime_after_query= 0; start_utime= utime_after_query= 0;
system_time= 0;
system_time_sec_part= 0;
utime_after_lock= 0L; utime_after_lock= 0L;
progress.arena= 0; progress.arena= 0;
progress.report_to_client= 0; progress.report_to_client= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment