[BUGFIX]fix lob read 4.0 data with force inrow

This commit is contained in:
obdev
2023-03-17 10:10:52 +00:00
committed by ob-robot
parent e62876d1ad
commit bbd67d669d
2 changed files with 31 additions and 6 deletions

View File

@ -621,7 +621,8 @@ int ObLobLocatorV2::get_inrow_data(ObString &inrow_data) const
int64_t handle_size = disk_loc->get_handle_size(byte_size);
if (byte_size + handle_size + handle_offset > size_) {
ret = OB_INVALID_ARGUMENT;
COMMON_LOG(WARN, "Lob: invalid inrow data", K(ret), K(byte_size), K(handle_size), K(*disk_loc), K(handle_offset));
COMMON_LOG(WARN, "Lob: invalid inrow data", K(ret), K(byte_size), K(handle_size),
K(*disk_loc), K(handle_offset), K(size_));
} else {
inrow_data.assign_ptr(disk_loc_buff.ptr() + handle_size, byte_size);
}