Fix the compilation bug when download obdeploy
This commit is contained in:
committed by
wangzelin.wzl
parent
610919b622
commit
ae36be9c5b
@ -49,9 +49,9 @@ int ObExprToOutfileRow::calc_result_typeN(ObExprResType &type,
|
||||
//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));
|
||||
if (OB_UNLIKELY(param_num <= PARAM_SELECT_ITEM)) {
|
||||
ret = OB_INVALID_ARGUMENT_NUM;
|
||||
LOG_WARN("invalid argument number", K(ret), K(param_num));
|
||||
} else {
|
||||
// deduce type and length
|
||||
type.set_varbinary();
|
||||
@ -84,9 +84,9 @@ int ObExprToOutfileRow::cg_expr(ObExprCGCtx &, const ObRawExpr &, ObExpr &expr)
|
||||
if (!expr.args_[i]->is_static_const_) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("non-const format not supported", K(ret));
|
||||
}
|
||||
}
|
||||
expr.eval_func_ = &to_outfile_str;
|
||||
}
|
||||
}
|
||||
expr.eval_func_ = &to_outfile_str;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
@ -166,9 +166,9 @@ int ObExprToOutfileRow::to_outfile_str(const ObExpr &expr, ObEvalCtx &ctx, ObDat
|
||||
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));
|
||||
}
|
||||
ctx.exec_ctx_.get_allocator(), *out_info))) {
|
||||
LOG_WARN("fail calc outfile info", K(ret));
|
||||
}
|
||||
}
|
||||
if (OB_SUCC(ret)) {
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user