r97331 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97330‎ | r97331 | r97332 >
Date:20:37, 16 September 2011
Author:aaron
Status:ok
Tags:
Comment:
MFT changes from r87606
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/FlaggedRevs/api/FlaggedRevsApi.hooks.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/FlaggedRevs/specialpages/ReviewedVersions_body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/specialpages/ReviewedVersions_body.php
@@ -106,7 +106,7 @@
107107 'tables' => array( 'flaggedrevs', 'revision', 'user' ),
108108 'fields' => 'fr_rev_id,fr_timestamp,rev_timestamp,fr_quality,fr_user,user_name',
109109 'conds' => $conds,
110 - 'options' => array( 'USE INDEX' => array( 'flaggedrevs' => 'PRIMARY' ) )
 110+ //'options' => array( 'USE INDEX' => array( 'flaggedrevs' => 'page_rev' )
111111 );
112112 }
113113
Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/api/FlaggedRevsApi.hooks.php
@@ -58,7 +58,7 @@
5959 'fr_rev_id' => array_keys( $revids ) ), LIST_AND );
6060 }
6161 $module->addWhere( $db->makeList( $where, LIST_OR ) );
62 - $module->addOption( 'USE INDEX', array( 'flaggedrevs' => 'PRIMARY' ) );
 62+ //$module->addOption( 'USE INDEX', array( 'flaggedrevs' => 'page_rev' ) );
6363
6464 $res = $module->select( __METHOD__ );
6565

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87606Follow-up r86179: Updated and commented out two USE INDEX statements. This *h...aaron23:44, 6 May 2011

Status & tagging log