提交 c29c99ea 编写于 作者: M Monk-Liu 提交者: wangzelin.wzl

[bugfix]: avoid hang in number_to_year.

上级 0c2eb7a6
......@@ -2554,6 +2554,8 @@ static int number_year(
} else if (in.get_number().is_negative()) {
uint8_t value = 0;
if (CAST_FAIL(ObTimeConverter::int_to_year(INT_MIN, value))) {
} else {
SET_RES_YEAR(out);
}
} else {
ObObj from;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册