This commit is contained in:
shoopea 2020-04-18 21:11:58 +08:00
parent e9731146b0
commit 39a944a611

2
obj.go
View File

@ -278,6 +278,8 @@ func objAddName(objID64 int64, name string) error {
return err return err
} }
log.Printf("objAddName : %s (%d) : %dn.", name, objID64, priority)
stmt2, err := db.Prepare(`INSERT INTO obj_name (obj_id, name, priority) stmt2, err := db.Prepare(`INSERT INTO obj_name (obj_id, name, priority)
VALUES (?, ?, ?);`) VALUES (?, ?, ?);`)
if err != nil { if err != nil {