Fix div expr precision deducing is not idempotent
This commit is contained in:
1
deps/oblib/src/lib/number/ob_number_v2.cpp
vendored
1
deps/oblib/src/lib/number/ob_number_v2.cpp
vendored
@ -3058,6 +3058,7 @@ const char *ObNumber::format() const
|
||||
if (OB_ISNULL(buffers)) {
|
||||
buffer = nullptr;
|
||||
} else if(OB_UNLIKELY(OB_SUCCESS != format(buffer, BUFFER_SIZE, length, -1))) {
|
||||
buffer = nullptr;
|
||||
LOG_ERROR_RET(OB_ERROR, "fail to format buffer");
|
||||
} else {
|
||||
buffer[length] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user