This commit is contained in:
shoopea 2020-10-11 12:55:07 +02:00
parent 9cf92260e5
commit 8681c97ebd

3
sql.go
View File

@ -969,8 +969,7 @@ func cleanupJobData() {
return return
} }
jobs, err := jobStmt.Query(r) jobs, err := jobStmt.Query(&cacheObjType[`job`])
err = stmt.QueryRow(jobTypeID64).Scan(&cacheObjType[`job`])
logOnError(err, "cleanupJobData : query jobStmt") logOnError(err, "cleanupJobData : query jobStmt")
if err != nil { if err != nil {
jobStmt.Close() jobStmt.Close()