From f3926df5750dd0d89421f8e4a41bb0275e8f36b4 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 12 Apr 2017 10:07:03 -0400 Subject: [PATCH] ApiQueryLinks: Remove index forcing 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 | 1 - 1 file changed, 1 deletion(-) 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__ ); -- 2.20.1