patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -43,23 +43,6 @@ int ObExprMakedate::calc_result_type2(ObExprResType &type,
return ret;
}
int ObExprMakedate::calc_result2(ObObj &result,
const ObObj &year,
const ObObj &day,
ObExprCtx &expr_ctx) const
{
UNUSED(expr_ctx);
int ret = OB_SUCCESS;
if (OB_UNLIKELY(year.is_null() || day.is_null())) {
result.set_null();
} else if (OB_FAIL(calc(result, year.get_int(), day.get_int()))) {
LOG_WARN("calc make date failed", K(ret));
}
return ret;
}
int ObExprMakedate::cg_expr(ObExprCGCtx &op_cg_ctx,
const ObRawExpr &raw_expr,
ObExpr &rt_expr) const
@ -122,4 +105,4 @@ int ObExprMakedate::calc(T &res, int64_t year, int64_t day)
}
}
}
}