From 7963d3dc2221888e3547826f54c4e22aa0e86024 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 28 Sep 2008 17:41:12 +0000 Subject: [PATCH] Drop USE INDEX git-svn-id: https://develop.svn.wordpress.org/trunk@9022 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 5823932dcc..cf249dca88 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1555,7 +1555,7 @@ function _wp_get_comment_list( $status = '', $s = false, $start, $num ) { $approved ORDER BY comment_date_gmt DESC LIMIT $start, $num"); } else { - $comments = $wpdb->get_results( "SELECT SQL_CALC_FOUND_ROWS * FROM $wpdb->comments USE INDEX (comment_date_gmt) WHERE $approved ORDER BY comment_date_gmt DESC LIMIT $start, $num" ); + $comments = $wpdb->get_results( "SELECT SQL_CALC_FOUND_ROWS * FROM $wpdb->comments WHERE $approved ORDER BY comment_date_gmt DESC LIMIT $start, $num" ); } update_comment_cache($comments);