From ab19523309713e00204b216f3f342edcdd7640ca Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 2 Oct 2013 10:37:06 -0700 Subject: [PATCH] Removed more FORCE INDEX clauses for logging * Same reasons as 7003a7c5e825f391c1a83f8e46cdf332a228d874 bug: 54876 Change-Id: I743bd21e81395c2866b4241730caa8c5990cc73f --- includes/logging/LogPager.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/includes/logging/LogPager.php b/includes/logging/LogPager.php index f8403ca826..09ae3b8ce9 100644 --- a/includes/logging/LogPager.php +++ b/includes/logging/LogPager.php @@ -249,13 +249,6 @@ class LogPager extends ReverseChronologicalPager { # no duplicate log rows. Otherwise, we need to remove the duplicates. $options[] = 'DISTINCT'; } - # Avoid usage of the wrong index by limiting - # the choices of available indexes. This mainly - # avoids site-breaking filesorts. - } elseif ( $this->title || $this->pattern || $this->performer ) { - $index['logging'] = array( 'page_time', 'user_time', 'log_user_type_time' ); - } elseif ( count( $this->types ) == 1 ) { - $index['logging'] = 'type_time'; // @TODO: sucks for change tags } if ( count( $index ) ) { $options['USE INDEX'] = $index; -- 2.20.1