[BUGFIX] fix read lob alloc memory failed

This commit is contained in:
skylhd
2023-07-19 02:42:28 +00:00
committed by ob-robot
parent 3d46588675
commit 2f8b6410ce

View File

@ -1342,6 +1342,8 @@ bool ObMultipleMerge::need_read_lob_columns(const blocksstable::ObDatumRow &row)
int ObMultipleMerge::handle_lob_before_fuse_row() int ObMultipleMerge::handle_lob_before_fuse_row()
{ {
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
// reuse lob locator every row because output filter shared common expr is already fixed
reuse_lob_locator();
// Notice: should not change behavior dynamicly by min cluster version: // Notice: should not change behavior dynamicly by min cluster version:
// for example, while running in 4.0 compat mode, the min cluster version changes to 4.1 // for example, while running in 4.0 compat mode, the min cluster version changes to 4.1
// but lob_locator_helper is not initialized. // but lob_locator_helper is not initialized.