fix(query): fix bugs caused by refactor.

This commit is contained in:
Haojun Liao 2024-05-18 23:11:18 +08:00
parent 6124666488
commit 8f4da7f308
1 changed files with 1 additions and 2 deletions

View File

@ -717,11 +717,10 @@ int32_t doExtractResultBlocks(SExchangeInfo* pExchangeInfo, SSourceDataInfo* pDa
pStart += sizeof(int32_t);
ASSERT(compLen <= rawLen && compLen != 0);
pNextStart = pStart + compLen;
if (pRetrieveRsp->compressed && (compLen < rawLen)) {
int32_t t = tsDecompressString(pStart, compLen, 1, pDataInfo->decompBuf, rawLen, ONE_STAGE_COMP, NULL, 0);
ASSERT(t == rawLen);
pNextStart = pStart + compLen;
pStart = pDataInfo->decompBuf;
}