r100299 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100298‎ | r100299 | r100300 >
Date:23:56, 19 October 2011
Author:aaron
Status:ok
Tags:
Comment:
FU r100286: Added sanity check to fetchFromConds() join conds
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -277,7 +277,7 @@
278278 __METHOD__,
279279 array( 'LIMIT' => 1 ),
280280 array( 'page' => array( 'INNER JOIN', 'page_id = rev_page' ),
281 - 'user' => array( 'LEFT JOIN', 'user_id = rev_user' ) )
 281+ 'user' => array( 'LEFT JOIN', 'rev_user != 0 AND user_id = rev_user' ) )
282282 );
283283 }
284284

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100286* Tweaked Revision class to handle loading the current user name instead of r...aaron22:25, 19 October 2011

Status & tagging log