ls inner handler didn't enable when migrate from src ls which's restore status is restore_sys
This commit is contained in:
committed by
wangzelin.wzl
parent
715aa49d82
commit
610919b622
@ -46,9 +46,9 @@ int ObExprToOutfileRow::calc_result_typeN(ObExprResType &type,
|
||||
//objs[2] closed_cht char
|
||||
//objs[3] is_optional bool
|
||||
//objs[4] escaped_cht char
|
||||
//objs[5:] params
|
||||
int ret = OB_SUCCESS;
|
||||
UNUSED(type_ctx);
|
||||
//objs[5:] params
|
||||
int ret = OB_SUCCESS;
|
||||
UNUSED(type_ctx);
|
||||
if (OB_UNLIKELY(param_num <= PARAM_SELECT_ITEM)) {
|
||||
ret = OB_INVALID_ARGUMENT_NUM;
|
||||
LOG_WARN("invalid argument number", K(ret), K(param_num));
|
||||
@ -87,9 +87,9 @@ int ObExprToOutfileRow::cg_expr(ObExprCGCtx &, const ObRawExpr &, ObExpr &expr)
|
||||
}
|
||||
}
|
||||
expr.eval_func_ = &to_outfile_str;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
int ObExprToOutfileRow::extend_buffer(ObExprOutFileInfo &out_info,
|
||||
ObIAllocator &allocator)
|
||||
@ -163,9 +163,9 @@ int ObExprToOutfileRow::to_outfile_str(const ObExpr &expr, ObEvalCtx &ctx, ObDat
|
||||
auto rt_ctx_id = static_cast<uint64_t>(expr.expr_ctx_id_);
|
||||
if (NULL == (out_info = static_cast<ObExprOutFileInfo *>
|
||||
(ctx.exec_ctx_.get_expr_op_ctx(rt_ctx_id)))) {
|
||||
if (OB_FAIL(ctx.exec_ctx_.create_expr_op_ctx(rt_ctx_id, out_info))) {
|
||||
LOG_WARN("failed to create operator ctx", K(ret));
|
||||
} else if (OB_FAIL(calc_outfile_info(expr, ctx,
|
||||
if (OB_FAIL(ctx.exec_ctx_.create_expr_op_ctx(rt_ctx_id, out_info))) {
|
||||
LOG_WARN("failed to create operator ctx", K(ret));
|
||||
} else if (OB_FAIL(calc_outfile_info(expr, ctx,
|
||||
ctx.exec_ctx_.get_allocator(), *out_info))) {
|
||||
LOG_WARN("fail calc outfile info", K(ret));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user