This commit is contained in:
shoopea 2020-10-20 11:23:29 +02:00
parent 8ce9e3b0e3
commit c48549e5a2

2
sql.go
View File

@ -1013,10 +1013,10 @@ func cleanupJobData() {
} }
log.Printf("cleanupJobData : JobID : %d\n", jobID) log.Printf("cleanupJobData : JobID : %d\n", jobID)
err = doneStmt.QueryRow(jobID).Scan(&isDone) err = doneStmt.QueryRow(jobID).Scan(&isDone)
logOnError(err, "cleanupJobData : scan doneStmt")
if err != nil { if err != nil {
return return
} }
logOnError(err, "cleanupJobData : scan doneStmt")
log.Printf("cleanupJobData : isDone : %d\n", isDone) log.Printf("cleanupJobData : isDone : %d\n", isDone)
count += 1 count += 1