From: Sam Reed Date: Wed, 23 Feb 2011 12:56:46 +0000 (+0000) Subject: Followup r82659 X-Git-Tag: 1.31.0-rc.0~31816 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=7e588ae3e5b9d50a76aebd5ead99734683fdd495;p=lhc%2Fweb%2Fwiklou.git Followup r82659 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 --- diff --git a/includes/specials/SpecialListusers.php b/includes/specials/SpecialListusers.php index a8553d5ae1..15660886b2 100644 --- a/includes/specials/SpecialListusers.php +++ b/includes/specials/SpecialListusers.php @@ -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