From f037a318e3ec827792cfbff380d7bafec81af8eb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 25 Sep 2013 00:57:36 +0200 Subject: [PATCH] *headdesk* DBIC::Class helpfully doesn't warn you when you're matching against unselected columns. So this query actually returned all builds... --- src/script/hydra-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra-build b/src/script/hydra-build index b7d52422..a80e3024 100755 --- a/src/script/hydra-build +++ b/src/script/hydra-build @@ -50,7 +50,7 @@ sub failDependents { my @dependentBuilds = $db->resultset('Builds')->search( { finished => 0, busy => 0 }, - { columns => ["id", "project", "jobset", "job", "drvpath"] }); + { columns => ["id", "project", "jobset", "job", "drvpath", "finished", "busy"] }); for my $d (@dependentBuilds) { next unless $dependentDrvs->has($d->drvpath);