fix type mismatch

This commit is contained in:
dapan1121 2020-12-29 08:47:43 +00:00
parent 99bfe7dfff
commit 7794163447
1 changed files with 1 additions and 1 deletions

View File

@ -4562,7 +4562,7 @@ int32_t parseFillClause(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, SQuerySQL* pQuery
}
size_t numOfExprs = tscSqlExprNumOfExprs(pQueryInfo);
for(size_t i = 0; i < numOfExprs; ++i) {
for(int32_t i = 0; i < numOfExprs; ++i) {
SSqlExpr* pExpr = tscSqlExprGet(pQueryInfo, i);
if (pExpr->functionId == TSDB_FUNC_TOP || pExpr->functionId == TSDB_FUNC_BOTTOM) {
return invalidSqlErrMsg(tscGetErrorMsgPayload(pCmd), msg3);