diff --git a/deps/oblib/src/common/object/ob_object.cpp b/deps/oblib/src/common/object/ob_object.cpp index c4f0a12a74..4794b04d3f 100644 --- a/deps/oblib/src/common/object/ob_object.cpp +++ b/deps/oblib/src/common/object/ob_object.cpp @@ -582,7 +582,7 @@ void* ObObj::get_deep_copy_obj_ptr() } } else if (ob_is_raw(this->get_type())) { ptr = (void *)v_.string_; - } else if (ob_is_number_tc(this->get_type())) { + } else if (ob_is_number_tc(this->get_type()) && 0 != nmb_desc_.len_ && NULL != v_.nmb_digits_) { ptr = (void *)v_.nmb_digits_; } else if (ob_is_rowid_tc(this->get_type())) { ptr = (void *)v_.string_;