提交 ace6d9f7 编写于 作者: G Ganlin Zhao

[TD-5623]<feature>: skip compSizes when when memmove

上级 16b2f360
......@@ -2713,6 +2713,8 @@ static void decompressQueryColData(SSqlRes *pRes, SQueryInfo* pQueryInfo, char *
}
int32_t tailLen = pRes->rspLen - sizeof(SRetrieveTableRsp) - decompLen;
/* Skip compSizes */
pData += numOfCols * sizeof(int32_t);
memmove(data + decompLen, pData, tailLen);
memmove(data, outputBuf, decompLen);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册