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 <ian.jackson@eu.citrix.com>
}
}
-our $buildsq= db_prepare(<<END);
+sub processjobbranch ($$) {
+ my ($j,$bra) = @_;
+
+ my $buildsq= db_prepare(<<END);
SELECT * FROM runvars
WHERE flight=? AND job=?
AND name LIKE '%buildjob'
END
-sub processjobbranch ($$) {
- my ($j,$bra) = @_;
-
print DEBUG "processjobbranch('$j',", ($bra ? "'$bra'" : 'undef'), ")\n";
my %rev_grid_col;