fix(query): assign the result number.

This commit is contained in:
Haojun Liao 2022-09-21 11:47:15 +08:00
parent 33c075542d
commit 4ca49bf549
1 changed files with 1 additions and 0 deletions

View File

@ -1242,6 +1242,7 @@ int32_t scalarCalculate(SNode *pNode, SArray *pBlockList, SScalarParam *pDst) {
colInfoDataEnsureCapacity(pDst->columnData, res->numOfRows);
colDataAssign(pDst->columnData, res->columnData, res->numOfRows, NULL);
pDst->numOfRows = res->numOfRows;
pDst->numOfQualified = res->numOfQualified;
}
sclFreeParam(res);