*Use 'USE INDEX' not 'FORCE INDEX'. Database functions seem to just ignore the later...
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 25 Aug 2007 21:25:12 +0000 (21:25 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 25 Aug 2007 21:25:12 +0000 (21:25 +0000)
includes/SpecialContributions.php

index cd07cbc..cc1b2e6 100644 (file)
@@ -45,7 +45,7 @@ class ContribsPager extends IndexPager {
                                'rev_user_text', 'rev_deleted'
                        ),
                        'conds' => $conds,
-                       'options' => array( 'FORCE INDEX' => $index )
+                       'options' => array( 'USE INDEX' => $index )
                );
        }