1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

SQL: uninitialized read [#387]

rpl.rpl_events sometimes fails in release mode after be81b00c84

This could be prevented with MSAN
This commit is contained in:
Eugene Kosov
2018-01-12 22:45:35 +03:00
committed by Sergei Golubchik
parent 93e8ee4ae1
commit 57fd548d10

View File

@ -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;