Index: trunk/extensions/FlaggedRevs/maintenance/updateStats.inc |
— | — | @@ -160,7 +160,7 @@ |
161 | 161 | 'GROUP BY' => 'rev_id', |
162 | 162 | 'ORDER BY' => 'rev_id ASC', // slight bias avoidance, if any |
163 | 163 | 'LIMIT' => $size, // sample size |
164 | | - 'USE INDEX' => array('flaggedrevs' => 'PRIMARY','logging' => 'page_time') |
| 164 | + 'USE INDEX' => array('revision' => array('PRIMARY','rev_id'),'flaggedrevs' => 'PRIMARY','logging' => 'page_time') |
165 | 165 | ) |
166 | 166 | ); |
167 | 167 | # Actually run the query... |