From 9c6da65efd745431a7f27628d601faeca0bdd6a0 Mon Sep 17 00:00:00 2001 From: obdev Date: Tue, 21 Jun 2022 10:56:30 +0800 Subject: [PATCH] [CP] change size overflow log level at ob_number::format() --- deps/oblib/src/lib/number/ob_number_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/oblib/src/lib/number/ob_number_v2.cpp b/deps/oblib/src/lib/number/ob_number_v2.cpp index 299d2e0844..e51f4e8182 100644 --- a/deps/oblib/src/lib/number/ob_number_v2.cpp +++ b/deps/oblib/src/lib/number/ob_number_v2.cpp @@ -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)); } else if (OB_UNLIKELY((buf_len - pos) < max_need_size)) { ret = OB_SIZE_OVERFLOW; - LOG_WARN("size is overflow", K(buf_len), K(pos), K(max_need_size), KPC(this), K(scale), K(ret)); + LOG_INFO("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))) { LOG_ERROR("format_int64 failed", KPC(this), K(ret)); } else if (is_finish) { -- GitLab