This commit is contained in:
shoopea 2019-05-10 22:14:28 +08:00
parent e095686049
commit b290d349f0

2
sql.go
View File

@ -1335,7 +1335,7 @@ func createJob(job_type_id int32, priority int32, schedule time.Time, payload []
defer stmt.Close()
res, err := stmt.Exec(objTypeJob, job_type_id)
s := fmt.sprintf("createJob, insert obj(%d, %d)", objTypeJob, job_type_id)
s := fmt.Sprintf("createJob, insert obj(%d, %d)", objTypeJob, job_type_id)
logOnError(err, s)
if err != nil {
return err