mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed valgrind warning in DBUG_PRINT as thd->stmt_lex is not initalized
This commit is contained in:
@ -819,6 +819,7 @@ THD::THD(my_thread_id id, bool is_wsrep_applier, bool skip_global_sys_var_lock)
|
|||||||
statement_id_counter= 0UL;
|
statement_id_counter= 0UL;
|
||||||
// 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;
|
||||||
|
stmt_lex= 0;
|
||||||
start_utime= utime_after_query= 0;
|
start_utime= utime_after_query= 0;
|
||||||
system_time.start.val= system_time.sec= system_time.sec_part= 0;
|
system_time.start.val= system_time.sec= system_time.sec_part= 0;
|
||||||
utime_after_lock= 0L;
|
utime_after_lock= 0L;
|
||||||
|
Reference in New Issue
Block a user