Index: trunk/phase3/includes/api/ApiQueryDeletedrevs.php |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | } |
153 | 153 | |
154 | 154 | $this->addOption('LIMIT', $limit + 1); |
155 | | - $this->addOption('USE INDEX', array('archive' => ($mode == 'user' ? 'usertext_timestamp' : 'name_title_timestamp'))); |
| 155 | + $this->addOption('USE INDEX', array('archive' => ($mode == 'user' ? 'ar_usertext_timestamp' : 'name_title_timestamp'))); |
156 | 156 | if($mode == 'all') |
157 | 157 | { |
158 | 158 | if($params['unique']) |
Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | $condition = array(); |
46 | 46 | |
47 | 47 | $condition['ar_user_text'] = $this->target; |
48 | | - $index = 'usertext_timestamp'; |
| 48 | + $index = 'ar_usertext_timestamp'; |
49 | 49 | |
50 | 50 | return array( $index, $condition ); |
51 | 51 | } |