Let Builds.timestamp refer to the time the build was added

Previously, for scheduled builds, "timestamp" contained the time the
build was added to the queue, while for finished builds, it was the
time the build finished.  Now it's always the former.
This commit is contained in:
Eelco Dolstra
2013-05-23 10:45:49 -04:00
parent e09622eb29
commit 57b2bb0674
15 changed files with 31 additions and 30 deletions

View File

@ -122,7 +122,7 @@ create table Builds (
finished integer not null, -- 0 = scheduled, 1 = finished
timestamp integer not null, -- time this build was scheduled / finished building
timestamp integer not null, -- time this build was added
-- Info about the inputs.
project text not null,
@ -158,8 +158,8 @@ create table Builds (
logfile text, -- if busy, the path of the logfile
startTime integer, -- if busy, time we started
stopTime integer,
startTime integer, -- if busy/finished, time we started
stopTime integer, -- if finished, time we finished
-- Information about finished builds.
isCachedBuild integer, -- boolean