r48992 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48991‎ | r48992 | r48993 >
Date:11:14, 29 March 2009
Author:midom
Status:ok
Tags:
Comment:
Aaron is lazy, but right :)
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRecentchanges.php
@@ -287,7 +287,7 @@
288288 }
289289 if ($wgUser->isAllowed("rollback")) {
290290 $tables[] = 'page';
291 - $join_conds['page'] = array('LEFT JOIN', 'rc_namespace=page_namespace AND rc_title=page_title AND rc_this_oldid=page_latest');
 291+ $join_conds['page'] = array('LEFT JOIN', 'rc_cur_id=page_id');
292292 }
293293 // Tag stuff.
294294 $fields = array(); // Fields are * in this case, so let the function modify an empty array to keep it happy.

Follow-up revisions

RevisionCommit summaryAuthorDate
r50100Backported r48989, r48992: fix performance regression in Special:RecentChange...tstarling06:59, 1 May 2009

Status & tagging log