提交 7544dfbb 编写于 作者: H Haojun Liao

[td-10564]add test cases.

上级 a0d8b7df
......@@ -109,12 +109,14 @@ static int32_t evaluateSqlNodeImpl(tSqlExpr* pExpr, int32_t tsPrecision) {
// other types of data are handled in the parent level.
} else if (pExpr->type == SQL_NODE_SQLFUNCTION) {
SArray* pParam = pExpr->Expr.paramList;
size_t size = taosArrayGetSize(pParam);
for(int32_t i = 0; i < size; ++i) {
if (pParam != NULL) {
for (int32_t i = 0; i < taosArrayGetSize(pParam); ++i) {
tSqlExprItem* pItem = taosArrayGet(pParam, i);
evaluateSqlNodeImpl(pItem->pNode, tsPrecision);
}
}
}
return TSDB_CODE_SUCCESS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册