[CP] fix a core caused by omitting the deep copy
This commit is contained in:
		@ -256,9 +256,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
 | 
			
		||||
      } else if (wchar == out_info.wchar_enclose_ || wchar == out_info.wchar_escape_) {
 | 
			
		||||
        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 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_));
 | 
			
		||||
      } 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));
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user