Backed dcb close if now forced after routing COM_QUERY and close client dcb, in mysql_client.c gw_read_client_event

/** close backends connection */
router->closeSession(router_instance, rsession);

Tested only with readconroute router module
This commit is contained in:
Massimiliano Pinto
2013-10-02 09:27:10 +02:00
parent 440a4c7278
commit c55ca0aaee

View File

@ -704,8 +704,9 @@ int gw_read_client_event(DCB* dcb) {
dcb);
/** close client connection */
(dcb->func).close(dcb);
(dcb->func).close(dcb);
/** close backends connection */
router->closeSession(router_instance, rsession);
rc = 1;
}
else