From: MaxSem Date: Thu, 7 Sep 2017 22:49:38 +0000 (+0000) Subject: Merge "ApiQueryLinks: Remove index forcing" X-Git-Tag: 1.31.0-rc.0~2183 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=ca7466e065ddef33e0dd594dc61d18ad95c98963;hp=2d545a6e6da6d8a075afcedadc27d3cc53692631;p=lhc%2Fweb%2Fwiklou.git Merge "ApiQueryLinks: Remove index forcing" --- diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index d29a763fe8..4b340912e8 100644 --- 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__ );