Fix copy+paste error from r77778
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 5 Dec 2010 19:34:40 +0000 (19:34 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 5 Dec 2010 19:34:40 +0000 (19:34 +0000)
maintenance/rebuildrecentchanges.php

index f627892..3a1b9e1 100644 (file)
@@ -137,10 +137,13 @@ class RebuildRecentchanges extends Maintenance {
 
                                $dbw->update( 'recentchanges',
                                        array(
-                                               'rc_old_len' => $lastSize,
-                                               'rc_new_len' => $size,
+                                               'rc_last_oldid' => $lastOldId,
+                                               'rc_new'        => $new,
+                                               'rc_type'       => $new,
+                                               'rc_old_len'    => $lastSize,
+                                               'rc_new_len'    => $size,
                                        ), array(
-                                               'rc_cur_id' => $lastCurId,
+                                               'rc_cur_id'     => $lastCurId,
                                                'rc_this_oldid' => $obj->rc_this_oldid,
                                        ),
                                        __METHOD__