Fix MXS-1323 regression
The check for session command count on failed session command was inverted so that only session command failures would be routed to the client.
This commit is contained in:
parent
24bec67d90
commit
db8ad7efa8
@ -415,7 +415,7 @@ static bool handle_error_new_connection(RWSplit *inst,
|
||||
gwbuf_free(stored);
|
||||
myrses->expected_responses--;
|
||||
|
||||
if (backend->session_command_count())
|
||||
if (backend->session_command_count() == 0)
|
||||
{
|
||||
/**
|
||||
* The backend was executing a command that requires a reply.
|
||||
|
Loading…
x
Reference in New Issue
Block a user