fix mysql_test case result
This commit is contained in:
committed by
wangzelin.wzl
parent
e38aace24d
commit
715aa49d82
@ -43,9 +43,9 @@ int ObExprToOutfileRow::calc_result_typeN(ObExprResType &type,
|
||||
{
|
||||
//objs[0] field_str varchar
|
||||
//objs[1] line_str varchar
|
||||
//objs[2] closed_cht char
|
||||
//objs[3] is_optional bool
|
||||
//objs[4] escaped_cht char
|
||||
//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);
|
||||
@ -90,9 +90,9 @@ int ObExprToOutfileRow::cg_expr(ObExprCGCtx &, const ObRawExpr &, ObExpr &expr)
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
int ObExprToOutfileRow::extend_buffer(ObExprOutFileInfo &out_info,
|
||||
ObIAllocator &allocator)
|
||||
|
||||
int ObExprToOutfileRow::extend_buffer(ObExprOutFileInfo &out_info,
|
||||
ObIAllocator &allocator)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
int64_t old_len = out_info.buf_len_;
|
||||
@ -160,9 +160,9 @@ int ObExprToOutfileRow::to_outfile_str(const ObExpr &expr, ObEvalCtx &ctx, ObDat
|
||||
LOG_WARN("evaluate parameters values failed", K(ret));
|
||||
} else {
|
||||
ObExprOutFileInfo *out_info = NULL;
|
||||
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)))) {
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user