From: Ian Jackson Date: Mon, 10 Aug 2020 11:50:59 +0000 (+0100) Subject: sg-report-job-history: Prep for fork: Move $buildsq query X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=96529bb42c266a17218e2ba9e84ce22bfc6c8a08;p=osstest.git sg-report-job-history: Prep for fork: Move $buildsq query We will need to prepare this once per (job,branch) so that it works when we do each of those in a different process. Signed-off-by: Ian Jackson --- diff --git a/sg-report-job-history b/sg-report-job-history index 6008ca7..47fc7a6 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -106,15 +106,15 @@ sub add_revisions ($$$$) { } } -our $buildsq= db_prepare(<