Move thread related members of DCB into a substructure
The `thread` structure of a DCB now contains all the members that relate to thread ownership of the DCB.
This commit is contained in:
@ -290,7 +290,7 @@ session_link_dcb(SESSION *session, DCB *dcb)
|
||||
atomic_add(&session->refcount, 1);
|
||||
dcb->session = session;
|
||||
/** Move this DCB under the same thread */
|
||||
dcb->owner = session->client_dcb->owner;
|
||||
dcb->thread.id = session->client_dcb->thread.id;
|
||||
spinlock_release(&session->ses_lock);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user