Permalink
Browse files

Clear the revisionwork's enddate too when clearing work

  • Loading branch information...
rolfbjarne committed May 29, 2012
1 parent a489d27 commit 15fe72f82a1e1f6b591c3b593d38943efcf63f8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 MonkeyWrench.Database/DB.cs
@@ -782,7 +782,7 @@ FROM RevisionWork
WHERE RevisionWork.host_id = @host_id AND RevisionWork.lane_id = @lane_id AND RevisionWork.revision_id = @revision_id);
UPDATE
- RevisionWork SET state = DEFAULT, lock_expires = DEFAULT, completed = DEFAULT, workhost_id = DEFAULT
+ RevisionWork SET state = DEFAULT, lock_expires = DEFAULT, completed = DEFAULT, workhost_id = DEFAULT, endtime = DEFAULT
WHERE
lane_id = @lane_id
AND revision_id = @revision_id

0 comments on commit 15fe72f

Please sign in to comment.