to issue<2024112900105382231>:fix core when free rawtype obobj memory
This commit is contained in:
parent
b324d19e3f
commit
4928de3364
8
deps/oblib/src/common/object/ob_object.cpp
vendored
8
deps/oblib/src/common/object/ob_object.cpp
vendored
@ -1577,13 +1577,17 @@ void* ObObj::get_deep_copy_obj_ptr()
|
||||
ptr = (void *)v_.string_;
|
||||
}
|
||||
} else if (ob_is_raw(this->get_type())) {
|
||||
ptr = (void *)v_.string_;
|
||||
if (val_len_ != 0) {
|
||||
ptr = (void *)v_.string_;
|
||||
}
|
||||
} 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_;
|
||||
if (val_len_ != 0) {
|
||||
ptr = (void *)v_.string_;
|
||||
}
|
||||
} else if (ob_is_lob_locator(this->get_type())) {
|
||||
ptr = (void *)v_.lob_locator_;
|
||||
} else if (ob_is_decimal_int_tc(this->get_type()) && 0 != val_len_ && NULL != v_.decimal_int_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user