Fix large packet execution

The number of expected responses was not correctly tracked for large
packets.
This commit is contained in:
Markus Mäkelä
2018-05-28 13:51:05 +03:00
parent be098538e5
commit 2bbf1271c9
2 changed files with 2 additions and 1 deletions

View File

@ -643,6 +643,7 @@ void RWSplitSession::handleError(GWBUF *errmsgbuf, DCB *problem_dcb,
else
{
// We were expecting a response but we aren't going to get one
ss_dassert(m_expected_responses > 0);
m_expected_responses--;
if (can_retry_query())