dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2d545a6
)
Merge "ApiQueryLinks: Remove index forcing"
author
MaxSem
<maxsem.wiki@gmail.com>
Thu, 7 Sep 2017 22:49:38 +0000
(22:49 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 7 Sep 2017 22:49:38 +0000
(22:49 +0000)
includes/api/ApiQueryLinks.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryLinks.php
b/includes/api/ApiQueryLinks.php
index
d29a763
..
4b34091
100644
(file)
--- a/
includes/api/ApiQueryLinks.php
+++ b/
includes/api/ApiQueryLinks.php
@@
-137,7
+137,6
@@
class ApiQueryLinks extends ApiQueryGeneratorBase {
$order[] = $this->prefix . '_title' . $sort;
$this->addOption( 'ORDER BY', $order );
- $this->addOption( 'USE INDEX', [ $this->table => 'PRIMARY' ] );
$this->addOption( 'LIMIT', $params['limit'] + 1 );
$res = $this->select( __METHOD__ );