提交 4eeb83d1 编写于 作者: H Haojun Liao

[td-225]fix compiler error.

上级 9e03384a
......@@ -1925,7 +1925,7 @@ void setResultColName(char* name, tSqlExprItem* pItem, int32_t functionId, SStrT
static void updateLastScanOrderIfNeeded(SQueryInfo* pQueryInfo) {
if (pQueryInfo->sessionWindow.gap > 0 || tscGroupbyColumn(pQueryInfo)) {
int32_t numOfExpr = tscSqlExprNumOfExprs(pQueryInfo);
size_t numOfExpr = tscSqlExprNumOfExprs(pQueryInfo);
for (int32_t i = 0; i < numOfExpr; ++i) {
SSqlExpr* pExpr = tscSqlExprGet(pQueryInfo, i);
if (pExpr->functionId != TSDB_FUNC_LAST && pExpr->functionId != TSDB_FUNC_LAST_DST) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册