[TD-5623]<feature>: skip compSizes when when memmove
This commit is contained in:
parent
16b2f3609c
commit
ace6d9f7d0
|
@ -2713,6 +2713,8 @@ static void decompressQueryColData(SSqlRes *pRes, SQueryInfo* pQueryInfo, char *
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t tailLen = pRes->rspLen - sizeof(SRetrieveTableRsp) - decompLen;
|
int32_t tailLen = pRes->rspLen - sizeof(SRetrieveTableRsp) - decompLen;
|
||||||
|
/* Skip compSizes */
|
||||||
|
pData += numOfCols * sizeof(int32_t);
|
||||||
memmove(data + decompLen, pData, tailLen);
|
memmove(data + decompLen, pData, tailLen);
|
||||||
memmove(data, outputBuf, decompLen);
|
memmove(data, outputBuf, decompLen);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue