This commit is contained in:
shoopea 2020-10-20 11:33:05 +02:00
parent 9b73f7b891
commit 1f724c37da

7
sql.go
View File

@ -1021,7 +1021,12 @@ func cleanupJobData() {
if err != nil { if err != nil {
return return
} }
log.Printf("cleanupJobData : delObj : %d\n", delObj.RowsAffected()) del, err := delObj.RowsAffected()
logOnError(err, "cleanupJobData : rows delObj")
if err != nil {
return
}
log.Printf("cleanupJobData : delObj : %d\n", del)
} else { } else {
logOnError(err, "cleanupJobData : scan doneStmt") logOnError(err, "cleanupJobData : scan doneStmt")
return return