test
This commit is contained in:
parent
78d6567e0a
commit
dadc20279b
1
obj.go
1
obj.go
@ -269,6 +269,7 @@ func objAddName(objID64 int64, name string) error {
|
|||||||
SELECT ? obj_id, ? name, (SELECT count(*) FROM obj_name WHERE obj_id = ?) priority FROM DUAL;`)
|
SELECT ? obj_id, ? name, (SELECT count(*) FROM obj_name WHERE obj_id = ?) priority FROM DUAL;`)
|
||||||
|
|
||||||
_, err = stmt.Exec(objID64, name, objID64)
|
_, err = stmt.Exec(objID64, name, objID64)
|
||||||
|
defer stmt.Close()
|
||||||
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user