Assign the service pointer for backend DCBs
The backend DCBs didn't have a valid service pointer whereas the client DCBs had one. The necessity of the pointer can be questioned as a similar pointer is located in the session.
This commit is contained in:
parent
f9b22387f9
commit
196821c6fc
@ -263,6 +263,7 @@ session_link_dcb(MXS_SESSION *session, DCB *dcb)
|
||||
}
|
||||
atomic_add(&session->refcount, 1);
|
||||
dcb->session = session;
|
||||
dcb->service = session->service;
|
||||
/** Move this DCB under the same thread */
|
||||
dcb->thread.id = session->client_dcb->thread.id;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user