提交 00bd416b 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] [to #43627952] fix anonymous exception can not catched by caller

上级 b61c3b3e
......@@ -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_));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册