Fixes for maintainability of dcb.c; error in persistent connections.

This commit is contained in:
Martin Brampton
2015-07-19 16:48:24 +01:00
parent 4a0925f33d
commit bb1f26eda5
2 changed files with 17 additions and 16 deletions

View File

@ -1115,7 +1115,9 @@ int gw_read_client_event(
* send redundant COM_QUIT.
*/
/* Temporarily suppressed: SESSION_ROUTE_QUERY(session, read_buffer); */
/**
/* Replaced with freeing the read buffer. */
gwbuf_free(read_buffer);
/**
* Close router session which causes closing of backends.
*/
dcb_close(dcb);