r77822 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77821‎ | r77822 | r77823 >
Date:19:34, 5 December 2010
Author:demon
Status:ok
Tags:
Comment:
Fix copy+paste error from r77778
Modified paths:
  • /trunk/phase3/maintenance/rebuildrecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/rebuildrecentchanges.php
@@ -137,10 +137,13 @@
138138
139139 $dbw->update( 'recentchanges',
140140 array(
141 - 'rc_old_len' => $lastSize,
142 - 'rc_new_len' => $size,
 141+ 'rc_last_oldid' => $lastOldId,
 142+ 'rc_new' => $new,
 143+ 'rc_type' => $new,
 144+ 'rc_old_len' => $lastSize,
 145+ 'rc_new_len' => $size,
143146 ), array(
144 - 'rc_cur_id' => $lastCurId,
 147+ 'rc_cur_id' => $lastCurId,
145148 'rc_this_oldid' => $obj->rc_this_oldid,
146149 ),
147150 __METHOD__

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77778One less $wgTitle, and use dbw->update() instead of raw sqldemon05:59, 5 December 2010

Status & tagging log