提交 61be1fdc 编写于 作者: H Haojun Liao

fix(query):fix syntax error.

上级 38222252
...@@ -799,18 +799,6 @@ int32_t doMinMaxHelper(SqlFunctionCtx* pCtx, int32_t isMinFunc, int32_t* nElems) ...@@ -799,18 +799,6 @@ int32_t doMinMaxHelper(SqlFunctionCtx* pCtx, int32_t isMinFunc, int32_t* nElems)
} }
} }
if (pCtx->subsidiaries.num > 0) {
index = findRowIndex(pInput->startRowIndex, pInput->numOfRows, pCol, tval);
if (index >= 0) {
int32_t code = saveTupleData(pCtx, index, pCtx->pSrcBlock, &pBuf->tuplePos);
if (code != TSDB_CODE_SUCCESS) {
return code;
}
}
}
}
}
numOfElems = 1; numOfElems = 1;
pBuf->assign = true; pBuf->assign = true;
goto _over; goto _over;
...@@ -939,5 +927,5 @@ _over: ...@@ -939,5 +927,5 @@ _over:
} }
*nElems = numOfElems; *nElems = numOfElems;
return TSDB_CODE_SUCCESS; return code;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册