[to #49482918] fix error code of combined usage of Ordinal binding and Named binding
This commit is contained in:
@ -329,6 +329,9 @@ int ObPLParser::parse_stmt_block(ObParseCtx &parse_ctx, ObStmtNodeTree *&multi_s
|
||||
K_(parse_ctx.is_dynamic),
|
||||
K_(parse_ctx.is_for_preprocess),
|
||||
K(ret));
|
||||
if (OB_NOT_SUPPORTED == ret) {
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, parse_ctx.global_errmsg_);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
multi_stmt = parse_ctx.stmt_tree_;
|
||||
|
||||
@ -36,4 +36,5 @@ static const int32_t OB_PARSER_ERR_NON_INT_LITERAL = -9605;
|
||||
static const int32_t OB_PARSER_ERR_NUMERIC_OR_VALUE_ERROR = -5677;
|
||||
static const int32_t OB_PARSER_ERR_NON_INTEGRAL_NUMERIC_LITERAL = -9670;
|
||||
static const int32_t OB_PARSER_ERR_UNDECLARED_VAR = -5543;
|
||||
static const int32_t OB_PARSER_ERR_UNSUPPORTED = -4007;
|
||||
#endif /*OCEANBASE_SQL_PARSER_PARSE_DEFINE_*/
|
||||
|
||||
Reference in New Issue
Block a user