jenkins-bot has submitted this change and it was merged.
Change subject: Removed FORCE INDEX from API category queries
......................................................................
Removed FORCE INDEX from API category queries
Change-Id: I7333256b90e18b9ccb6cc0852d021a5fad2c7b45
---
M includes/api/ApiQueryCategories.php
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
Tim Starling: Looks good to me, approved
Springle: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/includes/api/ApiQueryCategories.php
b/includes/api/ApiQueryCategories.php
index fcfddd6..6aa714e 100644
--- a/includes/api/ApiQueryCategories.php
+++ b/includes/api/ApiQueryCategories.php
@@ -117,8 +117,6 @@
}
}
- $this->addOption( 'USE INDEX', array( 'categorylinks' =>
'cl_from' ) );
-
$sort = ( $params['dir'] == 'descending' ? ' DESC' : '' );
// Don't order by cl_from if it's constant in the WHERE clause
if ( count( $this->getPageSet()->getGoodTitles() ) == 1 ) {
--
To view, visit https://gerrit.wikimedia.org/r/192242
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7333256b90e18b9ccb6cc0852d021a5fad2c7b45
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Springle <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits