[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, // result
|
||||||
NULL, // status
|
NULL, // status
|
||||||
stack_ctx.is_top_stack(),
|
stack_ctx.is_top_stack(),
|
||||||
!stack_ctx.is_top_stack(), // inner call
|
false,
|
||||||
false)); // in function
|
false)); // in function
|
||||||
|
|
||||||
// unprepare it.
|
// unprepare it.
|
||||||
|
|||||||
@ -247,9 +247,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
|
|||||||
} else {
|
} else {
|
||||||
OZ(obj.print_plain_str_literal(out_info.tmp_buf_, out_info.tmp_buf_len_, tmp_pos,
|
OZ(obj.print_plain_str_literal(out_info.tmp_buf_, out_info.tmp_buf_len_, tmp_pos,
|
||||||
out_info.print_params_));
|
out_info.print_params_));
|
||||||
auto escape_func =
|
auto escape_func =
|
||||||
[buf, buf_len, &pos, need_enclose, &out_info] (ObString &code_point, int32_t wchar) -> int {
|
[buf, buf_len, &pos, need_enclose, &out_info] (ObString &code_point, int32_t wchar) -> int {
|
||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
if (wchar == '\0') {
|
if (wchar == '\0') {
|
||||||
OZ(out_info.escape_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
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_));
|
OZ(print_wchar_to_buf(buf, buf_len, pos, '0', out_info.print_params_.cs_type_));
|
||||||
|
|||||||
Reference in New Issue
Block a user