From: Aaron Schulz Date: Tue, 18 Feb 2014 21:03:20 +0000 (-0800) Subject: Removed STRAIGHT_JOIN; the is slower when a namespace has a few pages X-Git-Tag: 1.31.0-rc.0~16880 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=c720f78fad0b73ec4b49e9d4bb612d174f0e8112;p=lhc%2Fweb%2Fwiklou.git Removed STRAIGHT_JOIN; the is slower when a namespace has a few pages bug: 60618 Change-Id: I1b8e9f3c15dd99a4f438bb431bee231e5648f5a3 --- diff --git a/includes/specials/SpecialWhatlinkshere.php b/includes/specials/SpecialWhatlinkshere.php index 3f9b98d5e4..789ea765bd 100644 --- a/includes/specials/SpecialWhatlinkshere.php +++ b/includes/specials/SpecialWhatlinkshere.php @@ -152,10 +152,6 @@ class SpecialWhatLinksHere extends SpecialPage { // Read an extra row as an at-end check $queryLimit = $limit + 1; - // Enforce join order, sometimes namespace selector may - // trigger filesorts which are far less efficient than scanning many entries - $options[] = 'STRAIGHT_JOIN'; - $options['LIMIT'] = $queryLimit; $fields = array( 'page_id', 'page_namespace', 'page_title', 'rd_from' );