[Improvement] remove unused code in vectorized compaction (#9774)

This commit is contained in:
Gabriel
2022-05-26 15:05:27 +08:00
committed by GitHub
parent 32a210f426
commit cd99c24844

View File

@ -414,11 +414,7 @@ Status VCollectIterator::Level1Iterator::_merge_next(Block* block) {
++target_block_row;
auto res = _merge_next(&cur_row);
if (UNLIKELY(res.precise_code() == OLAP_ERR_DATA_EOF)) {
if (target_block_row > 0) {
return Status::OK();
} else {
return res;
}
return res;
}
if (UNLIKELY(!res.ok())) {