From b39e2c5e3246662ad90e8577d93c49dd91706732 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 18 Mar 2009 17:13:13 +0000 Subject: [PATCH] * Doh. --- src/script/hydra_scheduler.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra_scheduler.pl b/src/script/hydra_scheduler.pl index d6e6d4d9..e54cf865 100755 --- a/src/script/hydra_scheduler.pl +++ b/src/script/hydra_scheduler.pl @@ -156,7 +156,7 @@ sub fetchInputAlt { # Pick the most recent successful build of the specified job. (my $prevBuild) = $db->resultset('Builds')->search( {finished => 1, project => $project->name, jobset => $jobset->name, job => $jobName, buildStatus => 0}, - {join => 'resultInfo', order_by => "id DESC", rows => 1}); + {join => 'resultInfo', order_by => "me.id DESC", rows => 1}); if (!defined $prevBuild || !isValidPath($prevBuild->outpath)) { print STDERR "no previous build available for `$jobName'";