From cbe8317d074b88c2f575297b86f8746a69b1af97 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 17 Oct 2005 17:30:10 +0000 Subject: [PATCH] force page_len index scan, where condition is not that important when a filesort would sort whole table... --- includes/SpecialShortpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index fb18a7d5da..0bbaf65b9b 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -43,7 +43,7 @@ class ShortPagesPage extends QueryPage { page_namespace as namespace, page_title as title, page_len AS value - FROM $page + FROM $page FORCE INDEX (page_len) WHERE page_namespace=".NS_MAIN." AND page_is_redirect=0"; } -- 2.20.1