fix bug merge_into with unexpected affected_row

This commit is contained in:
yishenglanlingzui
2023-02-09 15:16:41 +00:00
committed by ob-robot
parent 3c3644137b
commit 9682ba58a9

View File

@ -483,9 +483,13 @@ int ObTableMergeOp::update_row_das()
} else if (need_after_row_process(*upd_ctdef) && OB_FAIL(dml_modify_rows_.push_back(modify_row))) {
LOG_WARN("failed to push dml modify row to modified row list", K(ret));
} else {
affected_rows_++;
// do nothing
}
}
if (OB_SUCC(ret)) {
affected_rows_++;
}
return ret;
}