dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22582b5
)
Removed STRAIGHT_JOIN; the is slower when a namespace has a few pages
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 18 Feb 2014 21:03:20 +0000
(13:03 -0800)
committer
Springle
<springle@wikimedia.org>
Wed, 19 Feb 2014 02:48:53 +0000
(
02:48
+0000)
bug: 60618
Change-Id: I1b8e9f3c15dd99a4f438bb431bee231e5648f5a3
includes/specials/SpecialWhatlinkshere.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialWhatlinkshere.php
b/includes/specials/SpecialWhatlinkshere.php
index
3f9b98d
..
789ea76
100644
(file)
--- 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' );