[to #45996634] fix select into pack.complex.elem memory
This commit is contained in:
@ -235,9 +235,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
|
||||
const bool need_enclose = 0 != out_info.wchar_enclose_ &&
|
||||
(!out_info.is_optional_ || obj.is_string_type());
|
||||
if (need_enclose) {
|
||||
OZ(out_info.enclose_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
||||
}
|
||||
if (0 == out_info.wchar_escape_) {
|
||||
OZ(out_info.enclose_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
||||
}
|
||||
if (0 == out_info.wchar_escape_) {
|
||||
OZ(obj.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
||||
} else if (obj.is_null()) {
|
||||
OZ(out_info.escape_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
||||
|
||||
Reference in New Issue
Block a user