This commit is contained in:
shoopea 2020-04-18 21:02:37 +08:00
parent 78d6567e0a
commit dadc20279b

1
obj.go
View File

@ -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
} }