From c82983845cd5c58c34bbe346faa394c7b3a99920 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 25 Aug 2007 21:25:12 +0000 Subject: [PATCH] *Use 'USE INDEX' not 'FORCE INDEX'. Database functions seem to just ignore the later. 'USE INDEX' is outputted as 'FORCE INDEX' in the query anyway, not to mention mysql seems to use the right ones without being told. --- includes/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index cd07cbc832..cc1b2e6f64 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -45,7 +45,7 @@ class ContribsPager extends IndexPager { 'rev_user_text', 'rev_deleted' ), 'conds' => $conds, - 'options' => array( 'FORCE INDEX' => $index ) + 'options' => array( 'USE INDEX' => $index ) ); } -- 2.20.1