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:
46360f6
)
Force the pl_from/tl_from index here, as there are reasons to believe MySQL 4 selects...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 13 May 2008 14:01:40 +0000
(14:01 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 13 May 2008 14:01:40 +0000
(14:01 +0000)
includes/api/ApiQueryLinks.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryLinks.php
b/includes/api/ApiQueryLinks.php
index
b27be25
..
af2acc2
100644
(file)
--- a/
includes/api/ApiQueryLinks.php
+++ b/
includes/api/ApiQueryLinks.php
@@
-96,6
+96,7
@@
class ApiQueryLinks extends ApiQueryGeneratorBase {
// pl_namespace is always constant
$order[] = "{$this->prefix}_title";
$this->addOption('ORDER BY', implode(", ", $order));
+ $this->addOption('USE INDEX', "{$this->prefix}_from");
$db = $this->getDB();
$res = $this->select(__METHOD__);