Fix stop gaussdb failed when init thread failed.
This commit is contained in:
@ -1478,11 +1478,11 @@ void knl_thread_mot_init()
|
||||
|
||||
void knl_thread_init(knl_thread_role role)
|
||||
{
|
||||
/* doesn't init t_thrd.bn, check GaussDbThreadMain for detail */
|
||||
t_thrd.role = role;
|
||||
t_thrd.subrole = NO_SUBROLE;
|
||||
t_thrd.proc = NULL;
|
||||
t_thrd.pgxact = NULL;
|
||||
t_thrd.bn = NULL;
|
||||
t_thrd.myLogicTid = 10000;
|
||||
t_thrd.fake_session = NULL;
|
||||
t_thrd.threadpool_cxt.reaper_dead_session = false;
|
||||
|
||||
Reference in New Issue
Block a user