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:
45b00db
)
ApiQueryLinks: Remove index forcing
author
Brad Jorsch
<bjorsch@wikimedia.org>
Wed, 12 Apr 2017 14:07:03 +0000
(10:07 -0400)
committer
Jcrespo
<jcrespo@wikimedia.org>
Wed, 6 Sep 2017 08:53:44 +0000
(08:53 +0000)
Appears to have been added for T16102, which has hopefully been fixed
since. Let's try it and see if queries break.
Bug: T162774
Change-Id: If60442b9c8856b80a071ed9df830f9a3397218c9
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__ );