fix issue

This commit is contained in:
Ganlin Zhao 2022-07-15 16:47:52 +08:00
parent 7d5c496e10
commit 14ae310fea
1 changed files with 3 additions and 3 deletions

View File

@ -700,9 +700,9 @@ EDealRes sclRewriteNonConstOperator(SNode** pNode, SScalarCtx *ctx) {
EDealRes sclRewriteFunction(SNode** pNode, SScalarCtx *ctx) { EDealRes sclRewriteFunction(SNode** pNode, SScalarCtx *ctx) {
SFunctionNode *node = (SFunctionNode *)*pNode; SFunctionNode *node = (SFunctionNode *)*pNode;
SNode* tnode = NULL; SNode* tnode = NULL;
//if (!fmIsScalarFunc(node->funcId)) { if (!fmIsScalarFunc(node->funcId)) {
// return DEAL_RES_CONTINUE; return DEAL_RES_CONTINUE;
//} }
FOREACH(tnode, node->pParameterList) { FOREACH(tnode, node->pParameterList) {
if (!SCL_IS_CONST_NODE(tnode)) { if (!SCL_IS_CONST_NODE(tnode)) {