This commit is contained in:
shoopea 2019-05-11 12:58:40 +08:00
parent de3fecbb11
commit dab1ff7e5b

2
sql.go
View File

@ -1357,7 +1357,7 @@ func createJob(job_type_id int32, priority int32, schedule time.Time, payload []
}
stmt, err = db.Prepare(`INSERT INTO obj_job (obj_id, priority, status, schedule, is_done, in_work, inserted, pulled, started, end, payload)
VALUES (?, ?, ?, ?, 0, 0, , ?, NULL, NULL, NULL, ?);`)
VALUES (?, ?, ?, ?, 0, 0, ?, NULL, NULL, NULL, ?);`)
logOnError(err, "createJob : prepare insert obj_job")
if err != nil {
return err