File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -796,6 +796,7 @@ THD::THD(my_thread_id id, bool is_wsrep_applier)
796
796
mysql_audit_init_thd (this );
797
797
net.vio =0 ;
798
798
net.buff = 0 ;
799
+ net.reading_or_writing = 0 ;
799
800
client_capabilities= 0 ; // minimalistic client
800
801
system_thread= NON_SYSTEM_THREAD;
801
802
cleanup_done= free_connection_done= abort_on_warning= 0 ;
@@ -4448,6 +4449,7 @@ MYSQL_THD create_thd()
4448
4449
thd->store_globals ();
4449
4450
thd->set_command (COM_DAEMON);
4450
4451
thd->system_thread = SYSTEM_THREAD_GENERIC;
4452
+ thd->security_ctx ->host_or_ip =" " ;
4451
4453
add_to_active_threads (thd);
4452
4454
return thd;
4453
4455
}
Original file line number Diff line number Diff line change @@ -329,6 +329,7 @@ thd_destructor_proxy(void *)
329
329
330
330
thd_destructor_myvar = _my_thread_var();
331
331
THD *thd= create_thd();
332
+ thd_proc_info(thd, "InnoDB background thread");
332
333
333
334
mysql_mutex_lock(&thd_destructor_mutex);
334
335
thd_destructor_myvar->current_mutex = &thd_destructor_mutex;
@@ -1779,6 +1780,7 @@ innobase_create_background_thd()
1779
1780
/*============================*/
1780
1781
{
1781
1782
MYSQL_THD thd= create_thd();
1783
+ thd_proc_info(thd, "InnoDB background thread");
1782
1784
THDVAR(thd, background_thread) = true;
1783
1785
return thd;
1784
1786
}
You can’t perform that action at this time.
0 commit comments