* Only show status changes from successful to failed and failed to

successful (not between different kinds of failure).
This commit is contained in:
Eelco Dolstra 2009-10-07 13:59:12 +00:00
parent 7ae263a23a
commit 48d8871dbc

View file

@ -222,7 +222,9 @@ sub makeQueries {
from builds c natural join buildresultinfo r2
where
x.project = c.project and x.jobset = c.jobset and x.job = c.job and x.system = c.system and
x.id > c.id and r.buildstatus != r2.buildstatus)
x.id > c.id and
((r.buildstatus = 0 and r2.buildstatus != 0) or
(r.buildstatus != 0 and r2.buildstatus = 0)))
QUERY
makeSource(