From: Brion Vibber Date: Tue, 24 Jun 2003 18:52:53 +0000 (+0000) Subject: Timestamp index is sufficient for ancientpages, don't need a custom one X-Git-Tag: 1.1.0~482 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=bc536bcbf7b99186071f0d83584f28038cf0db67;p=lhc%2Fweb%2Fwiklou.git Timestamp index is sufficient for ancientpages, don't need a custom one --- diff --git a/includes/SpecialAncientpages.php b/includes/SpecialAncientpages.php index dbdc5eb148..95f8334ab4 100644 --- a/includes/SpecialAncientpages.php +++ b/includes/SpecialAncientpages.php @@ -8,7 +8,7 @@ function wfSpecialAncientpages() list( $limit, $offset ) = wfCheckLimits(); $sql = "SELECT cur_title,cur_user,cur_user_text,cur_comment," . - "cur_timestamp FROM cur USE INDEX (namespace_redirect_timestamp) " . + "cur_timestamp FROM cur USE INDEX (cur_timestamp) " . "WHERE cur_namespace=0 AND cur_is_redirect=0 " . " ORDER BY cur_timestamp LIMIT {$offset}, {$limit}"; $res = wfQuery( $sql, $fname );