Fix comparison: less than or equal, not strict equal
This commit is contained in:
parent
53f1c4958c
commit
73e1bf81ce
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ module Build = struct
|
|||
INNER JOIN build b ON b.id = a.build
|
||||
WHERE b.main_binary = a.id AND b.job = $1
|
||||
AND ($2 IS NULL OR platform = $2)
|
||||
AND b.finish_d = $3 AND b.finish_ps = $4
|
||||
AND (b.finish_d < $3 OR (b.finish_d = $3 AND b.finish_ps <= $4))
|
||||
ORDER BY b.start_d DESC, b.start_ps DESC
|
||||
|}
|
||||
|
||||
|
|
Loading…
Reference in a new issue