[CP][BUGFIX] fix expr output to file process outrow lob

This commit is contained in:
skylhd 2024-03-22 05:25:31 +00:00 committed by ob-robot
parent 3ee6fb921e
commit 5fe0031adc

View File

@ -181,7 +181,7 @@ int ObExprToOutfileRow::to_outfile_str(const ObExpr &expr, ObEvalCtx &ctx, ObDat
const ObObjMeta &obj_meta = expr.args_[i]->obj_meta_;
ObObj obj;
OZ(v.to_obj(obj, obj_meta, expr.args_[i]->obj_datum_map_));
if (!ob_is_text_tc(obj_meta.get_type())) {
if (!obj_meta.is_lob_storage()) {
OZ(print_field(buf, buf_len, pos, obj, *out_info));
} else { // text tc
ObEvalCtx::TempAllocGuard tmp_alloc_g(ctx);