提交 3aa7e08d 编写于 作者: R raywill 提交者: wangzelin.wzl

[feature] support user defined nextval("seqname") function

上级 191577d3
......@@ -3452,6 +3452,13 @@ int ObRawExprResolverImpl::process_fun_sys_node(const ParseNode* node, ObRawExpr
name = ObString::make_string("ora_decode");
}
}
if (OB_SUCC(ret)) {
if (0 == name.case_compare("nextval")) {
ret = OB_ERR_FUNCTION_UNKNOWN;
}
}
if (OB_FAIL(ret)) {
/*^-^*/
} else if (OB_FAIL(ob_write_string(ctx_.expr_factory_.get_allocator(), name, func_name))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册