Merge branch 'pr_1599'

This commit is contained in:
ob-robot
2023-10-13 07:41:34 +00:00

View File

@ -102,6 +102,7 @@ int ObExprSTArea::eval_st_area(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &res)
} else if (!std::isfinite(result)) { } else if (!std::isfinite(result)) {
ret = OB_OPERATE_OVERFLOW; ret = OB_OPERATE_OVERFLOW;
LOG_WARN("Result value is out of range in st_area", K(ret)); LOG_WARN("Result value is out of range in st_area", K(ret));
LOG_USER_ERROR(OB_OPERATE_OVERFLOW, "Result", N_ST_AREA);
} else { } else {
res.set_double(result); res.set_double(result);
} }