LatestSucceededForJob{,set}: Filter with jobset_id

This commit is contained in:
Graham Christensen
2020-02-05 17:02:56 -05:00
parent 66fbbd9692
commit f0f41eaaff
4 changed files with 7 additions and 7 deletions

View File

@ -637,8 +637,8 @@ QUERY
makeQueries('', "");
makeQueries('ForProject', "and project = ?");
makeQueries('ForJobset', "and project = ? and jobset = ?");
makeQueries('ForJob', "and project = ? and jobset = ? and job = ?");
makeQueries('ForJobset', "and jobset_id = (select id from jobsets j where j.name = ?)");
makeQueries('ForJob', "and jobset_id = (select id from jobsets j where j.name = ?) and job = ?");
my %hint = (