From: OverlordQ Date: Thu, 11 Nov 2010 20:03:46 +0000 (+0000) Subject: Partial 'reverts' of of r70608, r76539, that doesn't do what you want, you're specify... X-Git-Tag: 1.31.0-rc.0~33924 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=b46e99b788c4c9a0d3b5df60c104e557e8c2dbad;p=lhc%2Fweb%2Fwiklou.git Partial 'reverts' of of r70608, r76539, that doesn't do what you want, you're specifying the same rc_id for every row which is wrong --- diff --git a/maintenance/rebuildrecentchanges.php b/maintenance/rebuildrecentchanges.php index 3a600dd4f2..eb4f621771 100644 --- a/maintenance/rebuildrecentchanges.php +++ b/maintenance/rebuildrecentchanges.php @@ -66,7 +66,6 @@ class RebuildRecentchanges extends Maintenance { $cutoff = time() - $wgRCMaxAge; $dbw->insertSelect( 'recentchanges', array( 'page', 'revision' ), array( - 'rc_id' => ( $dbw->nextSequenceValue( 'recentchanges_rc_id_seq' ) > 0 ) ? $dbw->nextSequenceValue( 'recentchanges_rc_id_seq' ) : 0, 'rc_timestamp' => 'rev_timestamp', 'rc_cur_time' => 'rev_timestamp', 'rc_user' => 'rev_user',