From 1eeffaa68f13c58888bd7a4a8d145f25e55abd83 Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Sat, 6 Aug 2005 10:23:56 +0000 Subject: [PATCH] Quick memory-saving fix --- includes/SpecialValidate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialValidate.php b/includes/SpecialValidate.php index e9212e3b11..7d2567ce96 100644 --- a/includes/SpecialValidate.php +++ b/includes/SpecialValidate.php @@ -636,7 +636,7 @@ class Validation { # Collecting statistic data # Unfortunately, it has to read all the data, though it will only display a part $db =& wfGetDB( DB_SLAVE ); - $res = $db->select( 'validate', '*', array( "val_page" => $this->page_id ), 'SpecialValidate::showList' );#, $b ); + $res = $db->select( 'validate', 'val_revision,val_type,val_value', array( "val_page" => $this->page_id ), 'SpecialValidate::showList' );#, $b ); $statistics = array(); while( $vote = $db->fetchObject($res) ) { -- 2.20.1