Commit 1a40865f authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: query in Q::fetch_all_dead_workers_with_jobs() has to reference worker...

bugfix: query in Q::fetch_all_dead_workers_with_jobs() has to reference worker table by its full name
parent 6725b22c
......@@ -475,7 +475,7 @@ sub fetch_overdue_workers {
sub fetch_all_dead_workers_with_jobs {
my $self = shift;
return $self->fetch_all( "JOIN job j USING(worker_id) WHERE w.status='DEAD' AND j.status NOT IN ('DONE', 'READY', 'FAILED', 'PASSED_ON') GROUP BY worker_id" );
return $self->fetch_all( "JOIN job j USING(worker_id) WHERE worker.status='DEAD' AND j.status NOT IN ('DONE', 'READY', 'FAILED', 'PASSED_ON') GROUP BY worker_id" );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment