MXS-1625 Move internal/external id map to QueryClassifier

This commit is contained in:
Johan Wikman
2018-04-06 15:20:09 +03:00
parent 304499bd36
commit 300de4ecc6
5 changed files with 70 additions and 23 deletions

View File

@ -111,7 +111,7 @@ void RWSplitSession::process_sescmd_response(SRWBackend& backend, GWBUF** ppPack
{
/** Map the returned response to the internal ID */
MXS_INFO("PS ID %u maps to internal ID %lu", resp.id, id);
m_ps_handles[resp.id] = id;
m_qc.ps_id_internal_put(resp.id, id);
}
// Discard any slave connections that did not return the same result