From 35f74cea13f5d1ce63d56cd643d2f2963bbb90a5 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Tue, 23 Oct 2001 21:45:45 +0000 Subject: Bug 63249 - The Bug Counts report was running very slowly due to unneeded fields/joins in the SQL query. Patch by Matthew Tuck r= gerv@mozilla.org, jake@acutex.net --- reports.cgi | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'reports.cgi') diff --git a/reports.cgi b/reports.cgi index b7d9f3f55..861622d73 100755 --- a/reports.cgi +++ b/reports.cgi @@ -268,32 +268,21 @@ FIN my $query; $query = <$query

\n" @@ -318,7 +307,7 @@ FIN ############################# my $week = 60 * 60 * 24 * 7; - while (my ($bid, $a, $sev, $st, $prod, $who, $rep, $ts) = FetchSQLData()) { + while (my ($bid, $st, $who, $ts) = FetchSQLData()) { next if (exists $bugs_lookup{$bid}); $bugs_lookup{$bid} ++; -- cgit v1.2.3-24-g4f1b