[td-6260]fix compiler error.
This commit is contained in:
parent
430ab357bf
commit
9183a6578b
|
@ -981,7 +981,7 @@ static void doHandleDataInCurrentGroup(SSLimitOperatorInfo* pInfo, SSDataBlock*
|
||||||
} else {
|
} else {
|
||||||
// discard the data rows in current group
|
// discard the data rows in current group
|
||||||
if (pInfo->limit.limit < 0 || (pInfo->limit.limit >= 0 && pInfo->rowsTotal < pInfo->limit.limit)) {
|
if (pInfo->limit.limit < 0 || (pInfo->limit.limit >= 0 && pInfo->rowsTotal < pInfo->limit.limit)) {
|
||||||
int32_t num1 = taosArrayGetSize(pInfo->pRes->pDataBlock);
|
size_t num1 = taosArrayGetSize(pInfo->pRes->pDataBlock);
|
||||||
for (int32_t i = 0; i < num1; ++i) {
|
for (int32_t i = 0; i < num1; ++i) {
|
||||||
SColumnInfoData *pColInfoData = taosArrayGet(pBlock->pDataBlock, i);
|
SColumnInfoData *pColInfoData = taosArrayGet(pBlock->pDataBlock, i);
|
||||||
SColumnInfoData *pDstInfoData = taosArrayGet(pInfo->pRes->pDataBlock, i);
|
SColumnInfoData *pDstInfoData = taosArrayGet(pInfo->pRes->pDataBlock, i);
|
||||||
|
|
Loading…
Reference in New Issue