[CP] [to #43627952] fix anonymous exception can not catched by caller
This commit is contained in:
@ -1298,7 +1298,7 @@ int ObPL::execute(ObExecContext &ctx, const ObStmtNodeTree *block)
|
||||
NULL, // result
|
||||
NULL, // status
|
||||
stack_ctx.is_top_stack(),
|
||||
!stack_ctx.is_top_stack(), // inner call
|
||||
false,
|
||||
false)); // in function
|
||||
|
||||
// unprepare it.
|
||||
|
@ -247,9 +247,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
|
||||
} else {
|
||||
OZ(obj.print_plain_str_literal(out_info.tmp_buf_, out_info.tmp_buf_len_, tmp_pos,
|
||||
out_info.print_params_));
|
||||
auto escape_func =
|
||||
[buf, buf_len, &pos, need_enclose, &out_info] (ObString &code_point, int32_t wchar) -> int {
|
||||
int ret = OB_SUCCESS;
|
||||
auto escape_func =
|
||||
[buf, buf_len, &pos, need_enclose, &out_info] (ObString &code_point, int32_t wchar) -> int {
|
||||
int ret = OB_SUCCESS;
|
||||
if (wchar == '\0') {
|
||||
OZ(out_info.escape_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
||||
OZ(print_wchar_to_buf(buf, buf_len, pos, '0', out_info.print_params_.cs_type_));
|
||||
|
Reference in New Issue
Block a user