test
This commit is contained in:
parent
56abf3b086
commit
de3fecbb11
4
sql.go
4
sql.go
@ -1381,7 +1381,7 @@ func setJobDone(jobId int64) error {
|
||||
}
|
||||
defer stmt.Close()
|
||||
|
||||
_, err := stmt.Exec(time.Now(), jobId)
|
||||
_, err = stmt.Exec(time.Now(), jobId)
|
||||
s := fmt.Sprintf("setJobDone, update obj_job(%d)", jobId)
|
||||
logOnError(err, s)
|
||||
if err != nil {
|
||||
@ -1398,7 +1398,7 @@ func setJobStart(jobId int64) error {
|
||||
}
|
||||
defer stmt.Close()
|
||||
|
||||
_, err := stmt.Exec(time.Now(), jobId)
|
||||
_, err = stmt.Exec(time.Now(), jobId)
|
||||
s := fmt.Sprintf("setJobStart, update obj_job(%d)", jobId)
|
||||
logOnError(err, s)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user