提交 fe6e4016 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] change size overflow log level at ob_number::format()

上级 10041293
...@@ -3198,7 +3198,7 @@ int ObNumber::format_v2(char* buf, const int64_t buf_len, int64_t& pos, int16_t ...@@ -3198,7 +3198,7 @@ int ObNumber::format_v2(char* buf, const int64_t buf_len, int64_t& pos, int16_t
LOG_WARN("argument is invalid", KP(buf), K(buf_len), K(pos), K(ret)); LOG_WARN("argument is invalid", KP(buf), K(buf_len), K(pos), K(ret));
} else if (OB_UNLIKELY((buf_len - pos) < max_need_size)) { } else if (OB_UNLIKELY((buf_len - pos) < max_need_size)) {
ret = OB_SIZE_OVERFLOW; ret = OB_SIZE_OVERFLOW;
LOG_INFO("size is overflow", K(buf_len), K(pos), K(max_need_size), KPC(this), K(scale), K(ret)); LOG_TRACE("size is overflow", K(buf_len), K(pos), K(max_need_size), KPC(this), K(scale), K(ret));
} else if (OB_FAIL(format_int64(buf, pos, scale, is_finish))) { } else if (OB_FAIL(format_int64(buf, pos, scale, is_finish))) {
LOG_ERROR("format_int64 failed", KPC(this), K(ret)); LOG_ERROR("format_int64 failed", KPC(this), K(ret));
} else if (is_finish) { } else if (is_finish) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册