Index: trunk/phase3/includes/SpecialAncientpages.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | if ( ! $offset ) { $offset = 0; } |
15 | 15 | |
16 | 16 | $sql = "SELECT cur_title,cur_user,cur_user_text,cur_comment," . |
17 | | - "cur_timestamp FROM cur " . |
| 17 | + "cur_timestamp FROM cur USE INDEX (namespace_redirect_timestamp) " . |
18 | 18 | "WHERE cur_namespace=0 AND cur_is_redirect=0 " . |
19 | 19 | " ORDER BY cur_timestamp LIMIT {$offset}, {$limit}"; |
20 | 20 | $res = wfQuery( $sql, $fname ); |