Followup r82659
authorSam Reed <reedy@users.mediawiki.org>
Wed, 23 Feb 2011 12:56:46 +0000 (12:56 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 23 Feb 2011 12:56:46 +0000 (12:56 +0000)
Comment out the USE INDEX, it creates a query error as the query is built wrongly.

Will report as a bug.

Will revert to previous behaviour of not forcing any index

includes/specials/SpecialListusers.php

index a8553d5..1566088 100644 (file)
@@ -83,7 +83,7 @@ class UsersPager extends AlphabeticPager {
                if( $this->requestedGroup != '' ) {
                        $conds['ug_group'] = $this->requestedGroup;
                } else {
-                       $options['USE INDEX'] = $this->creationSort ? 'PRIMARY' : 'user_name';
+                       //$options['USE INDEX'] = $this->creationSort ? 'PRIMARY' : 'user_name';
                }
                if( $this->requestedUser != '' ) {
                        # Sorted either by account creation or name