fix bug merge_into with unexpected affected_row
This commit is contained in:
committed by
ob-robot
parent
3c3644137b
commit
9682ba58a9
@ -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))) {
|
} 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));
|
LOG_WARN("failed to push dml modify row to modified row list", K(ret));
|
||||||
} else {
|
} else {
|
||||||
affected_rows_++;
|
// do nothing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OB_SUCC(ret)) {
|
||||||
|
affected_rows_++;
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user