session = dcb->session; was missing in the previous check in mysql_client.c:gw_read_client_event()

This commit is contained in:
Massimiliano Pinto 2013-10-02 15:42:55 +02:00
parent 37bd63b33b
commit 9f2f0ac006

View File

@ -556,6 +556,8 @@ int gw_read_client_event(DCB* dcb) {
rc = 0;
// get the backend session, if available, and close the session
session = dcb->session;
if (session != NULL) {
CHK_SESSION(session);
router = session->service->router;