Reset sessionid upon exit.
Since the sessionid is now unconditionally set, it also needs to be unconditionally reset.
This commit is contained in:
parent
c6982b863a
commit
910ddb99fd
@ -629,10 +629,7 @@ dcb_process_victim_queue(DCB *listofdcb)
|
||||
dcb = nextdcb;
|
||||
}
|
||||
/** Reset threads session data */
|
||||
if (LOG_IS_ENABLED(LOGFILE_TRACE))
|
||||
{
|
||||
tls_log_info.li_sesid = 0;
|
||||
}
|
||||
tls_log_info.li_sesid = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1075,10 +1075,7 @@ unsigned long qtime;
|
||||
}
|
||||
dcb->evq.processing = 0;
|
||||
/** Reset session id from thread's local storage */
|
||||
if (LOG_IS_ENABLED(LOGFILE_TRACE))
|
||||
{
|
||||
tls_log_info.li_sesid = 0;
|
||||
}
|
||||
tls_log_info.li_sesid = 0;
|
||||
spinlock_release(&pollqlock);
|
||||
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user