From c720f78fad0b73ec4b49e9d4bb612d174f0e8112 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 18 Feb 2014 13:03:20 -0800 Subject: [PATCH] Removed STRAIGHT_JOIN; the is slower when a namespace has a few pages bug: 60618 Change-Id: I1b8e9f3c15dd99a4f438bb431bee231e5648f5a3 --- includes/specials/SpecialWhatlinkshere.php | 4 ---- 1 file changed, 4 deletions(-) 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' ); -- 2.20.1