Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/192242

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/42/192242/1

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: newchange
Gerrit-Change-Id: I7333256b90e18b9ccb6cc0852d021a5fad2c7b45
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to