This commit is contained in:
shoopea 2019-05-10 22:12:59 +08:00
parent ef007d2cfc
commit bbc62f2bce

2
sql.go
View File

@ -1334,7 +1334,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 := 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