提交 6dd20e8b 编写于 作者: S shenglian zhou

Merge branch 'szhou/feature/support-math-functions' of...

Merge branch 'szhou/feature/support-math-functions' of github.com:taosdata/TDengine into szhou/feature/support-math-functions
......@@ -9635,7 +9635,7 @@ int32_t exprTreeFromSqlExpr(SSqlCmd* pCmd, tExprNode **pExpr, const tSqlExpr* pS
SArray* paramList = pSqlExpr->Expr.paramList;
size_t paramSize = paramList ? taosArrayGetSize(paramList) : 0;
if (paramSize > 0) {
(*pExpr)->_func.numChildren = paramSize;
(*pExpr)->_func.numChildren = (uint8_t)paramSize;
(*pExpr)->_func.pChildren = (tExprNode**)calloc(paramSize, sizeof(tExprNode*));
}
for (int32_t i = 0; i < paramSize; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册