Fix debug assert on reconnection with session commands

When a query was routed to a server that must first be connected to, the
expected response count was not updated for the executed session commands.
This commit is contained in:
Markus Mäkelä
2018-06-13 10:41:23 +03:00
parent 9dd8043359
commit 3ed6411741
4 changed files with 12 additions and 11 deletions

View File

@ -92,7 +92,7 @@ public:
*/
bool continue_write(GWBUF* buffer)
{
return mxs::Backend::write(buffer);
return mxs::Backend::write(buffer, Backend::NO_RESPONSE);
}
void close(close_type type = CLOSE_NORMAL);