update
This commit is contained in:
parent
9b842f347d
commit
fba87e549d
2
sql.go
2
sql.go
@ -1279,7 +1279,7 @@ func getObjSubTypeId(objId int64) (int64, error) {
|
||||
}
|
||||
|
||||
func setObjSubTypeId(objId int64, objSubTypeID64 int64) error {
|
||||
stmt, err := db.Prepare(`UPDATE obj o SET o.obj_sub_type_id = ? WHERE o.id = ?l`)
|
||||
stmt, err := db.Prepare(`UPDATE obj o SET o.obj_sub_type_id = ? WHERE o.id = ?;`)
|
||||
logOnError(err, "setObjSubTypeId : prepare update")
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user