In case two revision have the same timestamp, the higher rev_id is the later revision and needs to be patrolled as well. This also fix the tests, where the clock was faked to get higher timestamps on the revisions The WHERE changed from: rc_cur_id = 2 AND (rc_timestamp > '20220603122124') AND rc_actor = 10 to rc_cur_id = 2 AND ((rc_timestamp > '20220603122124') OR (rc_timestamp = '20220603122124' AND (rc_this_oldid > 2))) AND rc_actor = 10 Bug: T309817 Bug: T304766 Bug: T260798 Follow-Up: I66bb6575dad4a970339e93b91fe486727111092a Change-Id: I3cfcca4f0405f1d701c2883109c53b15854d6e64 |
||
|---|---|---|
| .. | ||
| DeletePageTest.php | ||
| RollbackPageTest.php | ||