From d8643908a7d6243c361e670573af763067db408d Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 16 Jan 2013 19:05:22 +0100 Subject: Bug 819432: Execute queries in two steps to improve performance r=dkl a=LpSolit --- collectstats.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'collectstats.pl') diff --git a/collectstats.pl b/collectstats.pl index bf0c68696..330fae5b3 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -473,8 +473,7 @@ sub CollectSeriesData { 'fields' => ["bug_id"], 'allow_unlimited' => 1, 'user' => $user); - my $sql = $search->sql; - $data = $shadow_dbh->selectall_arrayref($sql); + $data = $search->data; }; if (!$@) { -- cgit v1.2.3-24-g4f1b