[td-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-03-15 13:18:15 +08:00
parent 3e4b7452fe
commit 08aa04f174
1 changed files with 1 additions and 1 deletions

View File

@ -1602,7 +1602,7 @@ int32_t parseSelectClause(SSqlCmd* pCmd, int32_t clauseIndex, SArray* pSelectLis
}
bool hasDistinct = false;
int32_t numOfExpr = taosArrayGetSize(pSelectList);
size_t numOfExpr = taosArrayGetSize(pSelectList);
for (int32_t i = 0; i < numOfExpr; ++i) {
int32_t outputIndex = (int32_t)tscSqlExprNumOfExprs(pQueryInfo);
tSqlExprItem* pItem = taosArrayGet(pSelectList, i);