Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/specialpages/ReviewedVersions_body.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | 'tables' => array( 'flaggedrevs', 'revision', 'user' ), |
108 | 108 | 'fields' => 'fr_rev_id,fr_timestamp,rev_timestamp,fr_quality,fr_user,user_name', |
109 | 109 | 'conds' => $conds, |
110 | | - 'options' => array( 'USE INDEX' => array( 'flaggedrevs' => 'PRIMARY' ) ) |
| 110 | + //'options' => array( 'USE INDEX' => array( 'flaggedrevs' => 'page_rev' ) |
111 | 111 | ); |
112 | 112 | } |
113 | 113 | |
Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/api/FlaggedRevsApi.hooks.php |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | 'fr_rev_id' => array_keys( $revids ) ), LIST_AND ); |
60 | 60 | } |
61 | 61 | $module->addWhere( $db->makeList( $where, LIST_OR ) ); |
62 | | - $module->addOption( 'USE INDEX', array( 'flaggedrevs' => 'PRIMARY' ) ); |
| 62 | + //$module->addOption( 'USE INDEX', array( 'flaggedrevs' => 'page_rev' ) ); |
63 | 63 | |
64 | 64 | $res = $module->select( __METHOD__ ); |
65 | 65 | |