Merge branch 'pr_1599'
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user