!409 CreateFunctionStmt结构的copy函数缺失字段复制

Merge pull request !409 from liyongjin/Branch_master_bug1
This commit is contained in:
opengauss-bot
2020-11-19 15:38:01 +08:00
committed by Gitee

View File

@ -4502,12 +4502,14 @@ static CreateFunctionStmt* _copyCreateFunctionStmt(const CreateFunctionStmt* fro
{
CreateFunctionStmt* newnode = makeNode(CreateFunctionStmt);
COPY_SCALAR_FIELD(isOraStyle);
COPY_SCALAR_FIELD(replace);
COPY_NODE_FIELD(funcname);
COPY_NODE_FIELD(parameters);
COPY_NODE_FIELD(returnType);
COPY_NODE_FIELD(options);
COPY_NODE_FIELD(withClause);
COPY_SCALAR_FIELD(isProcedure);
return newnode;
}