debug
This commit is contained in:
parent
336b9322f0
commit
c05af367a2
2
sql.go
2
sql.go
@ -585,6 +585,8 @@ func initDB() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func insertMsgItem(objId int64, itemId int64, quantity int64) error {
|
func insertMsgItem(objId int64, itemId int64, quantity int64) error {
|
||||||
|
log.Println("insertMsgItem inserting (%d, %d, %d)", objId, itemId, quantity)
|
||||||
|
|
||||||
stmt, err := db.Prepare(`INSERT INTO obj_msg_item (obj_id, item_id, quantity)
|
stmt, err := db.Prepare(`INSERT INTO obj_msg_item (obj_id, item_id, quantity)
|
||||||
VALUES (?, ?, ?);`)
|
VALUES (?, ?, ?);`)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user