This commit is contained in:
wuzang.hdp 2019-06-20 19:52:20 +08:00 committed by Johan Wikman
parent 6b31b80e76
commit 51ce3c53fd
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ void process_sescmd_response(RWSplitSession* rses, SRWBackend& backend,
{
/** Map the returned response to the internal ID */
MXS_INFO("PS ID %u maps to internal ID %lu", resp.id, id);
rses->ps_handles[resp.id] = (id << 16) + resp.parameters;
rses->ps_handles[resp.id] = (id << 32) + resp.parameters;
}
// Discard any slave connections that did not return the same result

View File

@ -120,8 +120,8 @@ uint32_t get_internal_ps_id(RWSplitSession* rses, GWBUF* buffer, uint16_t* n_par
if (it != rses->ps_handles.end())
{
rval = it->second >> 16;
*n_params = it->second & 0xffff;
rval = it->second >> 32;
*n_params = it->second & 0xffffffff;
}
else
{