fix(query): fix bugs caused by refactor.
This commit is contained in:
parent
6124666488
commit
8f4da7f308
|
@ -717,11 +717,10 @@ int32_t doExtractResultBlocks(SExchangeInfo* pExchangeInfo, SSourceDataInfo* pDa
|
||||||
pStart += sizeof(int32_t);
|
pStart += sizeof(int32_t);
|
||||||
ASSERT(compLen <= rawLen && compLen != 0);
|
ASSERT(compLen <= rawLen && compLen != 0);
|
||||||
|
|
||||||
|
pNextStart = pStart + compLen;
|
||||||
if (pRetrieveRsp->compressed && (compLen < rawLen)) {
|
if (pRetrieveRsp->compressed && (compLen < rawLen)) {
|
||||||
int32_t t = tsDecompressString(pStart, compLen, 1, pDataInfo->decompBuf, rawLen, ONE_STAGE_COMP, NULL, 0);
|
int32_t t = tsDecompressString(pStart, compLen, 1, pDataInfo->decompBuf, rawLen, ONE_STAGE_COMP, NULL, 0);
|
||||||
ASSERT(t == rawLen);
|
ASSERT(t == rawLen);
|
||||||
|
|
||||||
pNextStart = pStart + compLen;
|
|
||||||
pStart = pDataInfo->decompBuf;
|
pStart = pDataInfo->decompBuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue