From: Aaron Schulz Date: Sat, 25 Aug 2007 21:25:12 +0000 (+0000) Subject: *Use 'USE INDEX' not 'FORCE INDEX'. Database functions seem to just ignore the later... X-Git-Tag: 1.31.0-rc.0~51662 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=c82983845cd5c58c34bbe346faa394c7b3a99920;p=lhc%2Fweb%2Fwiklou.git *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. --- 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 ) ); }