fix define cursor error

This commit is contained in:
obdev
2022-11-15 07:40:21 +00:00
committed by wangzelin.wzl
parent dbbbb29f9d
commit a9c4677e35
2 changed files with 5 additions and 4 deletions

View File

@ -259,9 +259,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
} else if (!need_enclose && (wchar == out_info.wchar_field_ ||
wchar == out_info.wchar_line_)) {
OZ(out_info.escape_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
} else {
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
} else {
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
}
return ret;
};