r25144 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25143‎ | r25144 | r25145 >
Date:21:25, 25 August 2007
Author:aaron
Status:old
Tags:
Comment:
*Use 'USE INDEX' not 'FORCE INDEX'. Database functions seem to just ignore the later. 'USE INDEX' is outputted as 'FORCE INDEX' in the query anyway, not to mention mysql seems to use the right ones without being told.
Modified paths:
  • /trunk/phase3/includes/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialContributions.php
@@ -45,7 +45,7 @@
4646 'rev_user_text', 'rev_deleted'
4747 ),
4848 'conds' => $conds,
49 - 'options' => array( 'FORCE INDEX' => $index )
 49+ 'options' => array( 'USE INDEX' => $index )
5050 );
5151 }
5252

Follow-up revisions

RevisionCommit summaryAuthorDate
r25223Merged revisions 25126-25214 via svnmerge from...david07:39, 28 August 2007

Status & tagging log