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:
cb4f6e9
)
Removed FORCE INDEX from API category queries
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 22 Feb 2015 20:49:37 +0000
(12:49 -0800)
committer
Tim Starling
<tstarling@wikimedia.org>
Mon, 23 Feb 2015 05:10:57 +0000
(
05:10
+0000)
Change-Id: I7333256b90e18b9ccb6cc0852d021a5fad2c7b45
includes/api/ApiQueryCategories.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryCategories.php
b/includes/api/ApiQueryCategories.php
index
fcfddd6
..
6aa714e
100644
(file)
--- a/
includes/api/ApiQueryCategories.php
+++ b/
includes/api/ApiQueryCategories.php
@@
-117,8
+117,6
@@
class ApiQueryCategories extends ApiQueryGeneratorBase {
}
}
- $this->addOption( 'USE INDEX', array( 'categorylinks' => 'cl_from' ) );
-
$sort = ( $params['dir'] == 'descending' ? ' DESC' : '' );
// Don't order by cl_from if it's constant in the WHERE clause
if ( count( $this->getPageSet()->getGoodTitles() ) == 1 ) {