From dab1ff7e5b7dc0f3600aba7fdde7e4d184e823f5 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 12:58:40 +0800 Subject: [PATCH] fix --- sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.go b/sql.go index 8995b76..ab98acd 100644 --- a/sql.go +++ b/sql.go @@ -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