From 7fe069735ac08534b344489f99d8680266111953 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Fri, 30 May 2008 17:52:26 +0000 Subject: [PATCH] force an index here :) --- includes/SpecialCategories.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 4c3d19c2e0..d5b79a9d41 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -29,7 +29,8 @@ class CategoryPager extends AlphabeticPager { return array( 'tables' => array( 'category' ), 'fields' => array( 'cat_title','cat_pages' ), - 'conds' => array( 'cat_pages > 0' ) + 'conds' => array( 'cat_pages > 0' ), + 'options' => array( 'USE INDEX' => 'cat_title' ), ); } -- 2.20.1