diff --git a/src/sql/engine/expr/ob_expr_to_outfile_row.cpp b/src/sql/engine/expr/ob_expr_to_outfile_row.cpp index 5c57352556..1615973fab 100644 --- a/src/sql/engine/expr/ob_expr_to_outfile_row.cpp +++ b/src/sql/engine/expr/ob_expr_to_outfile_row.cpp @@ -232,9 +232,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p { int ret = OB_SUCCESS; int64_t tmp_pos = 0; - const bool need_enclose = 0 != out_info.wchar_enclose_ && - (!out_info.is_optional_ || obj.is_string_type()); - if (need_enclose) { + 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_) {