schema/Builds: use jobset_id instead of jobset name matches
This was clearly an error in the original part-2 of the diff, and specifically breaks when two projects have a jobset of the same name.
This commit is contained in:
@ -622,8 +622,8 @@ QUERY
|
||||
|
||||
makeQueries('', "");
|
||||
makeQueries('ForProject', "and project = ?");
|
||||
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 = ?");
|
||||
makeQueries('ForJobset', "and jobset_id = ?");
|
||||
makeQueries('ForJob', "and jobset_id = ? and job = ?");
|
||||
|
||||
|
||||
my %hint = (
|
||||
|
Reference in New Issue
Block a user