Fix core at ObPlanCacheValue::reset
This commit is contained in:
2
deps/oblib/src/common/object/ob_object.cpp
vendored
2
deps/oblib/src/common/object/ob_object.cpp
vendored
@ -582,7 +582,7 @@ void* ObObj::get_deep_copy_obj_ptr()
|
|||||||
}
|
}
|
||||||
} else if (ob_is_raw(this->get_type())) {
|
} else if (ob_is_raw(this->get_type())) {
|
||||||
ptr = (void *)v_.string_;
|
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_;
|
ptr = (void *)v_.nmb_digits_;
|
||||||
} else if (ob_is_rowid_tc(this->get_type())) {
|
} else if (ob_is_rowid_tc(this->get_type())) {
|
||||||
ptr = (void *)v_.string_;
|
ptr = (void *)v_.string_;
|
||||||
|
|||||||
Reference in New Issue
Block a user