Fix: swallow error code

This commit is contained in:
yaojing624
2024-06-25 17:03:45 +00:00
committed by ob-robot
parent 13de62425e
commit bd76a37642

View File

@ -106,6 +106,7 @@ int ObHashUnionVecOp::inner_get_next_batch(const int64_t max_row_cnt)
ObBitVector *output_vec = nullptr; ObBitVector *output_vec = nullptr;
const ObBatchRows *child_brs = nullptr; const ObBatchRows *child_brs = nullptr;
if (OB_SUCC(ret)) {
if (!has_got_part_) { if (!has_got_part_) {
if (child_op_end) { if (child_op_end) {
end_to_process = true; end_to_process = true;
@ -180,6 +181,7 @@ int ObHashUnionVecOp::inner_get_next_batch(const int64_t max_row_cnt)
brs_.size_ = read_rows; brs_.size_ = read_rows;
brs_.skip_->deep_copy(*output_vec, read_rows); brs_.skip_->deep_copy(*output_vec, read_rows);
} }
}
if (OB_ITER_END == ret) { if (OB_ITER_END == ret) {