[bugfix] use OB_ITER_END instead ob OB_BEYOND_THE_RANGE for macro block iterator

This commit is contained in:
saltonz
2022-11-21 07:36:35 +00:00
committed by wangzelin.wzl
parent 9a5408dfe9
commit 4cf8473874

View File

@ -116,7 +116,6 @@ int ObIndexBlockMacroIterator::open(
} else {
curr_key_ = range.get_end_key();
if (start_beyond_range) {
ret = OB_BEYOND_THE_RANGE;
is_iter_end_ = true;
} else if (end_beyond_range) {
// endkey beyond the open range
@ -144,7 +143,6 @@ int ObIndexBlockMacroIterator::open(
// for check reuse boundary during compaction
curr_key_.set_min_rowkey();
if (start_beyond_range) {
ret = OB_BEYOND_THE_RANGE;
is_iter_end_ = true;
} else if (end_beyond_range) {
}