test
This commit is contained in:
parent
9cb8e162bf
commit
840b02287d
2
sql.go
2
sql.go
@ -1279,8 +1279,6 @@ func getObjSubTypeId(objId int64) (int64, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func setObjSubTypeId(objId int64, objSubTypeID64 int64) error {
|
func setObjSubTypeId(objId int64, objSubTypeID64 int64) error {
|
||||||
var objSubTypeId int64
|
|
||||||
|
|
||||||
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 = ?l`)
|
||||||
logOnError(err, "setObjSubTypeId : prepare update")
|
logOnError(err, "setObjSubTypeId : prepare update")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user