test
This commit is contained in:
parent
e3e136e660
commit
ddfc1faf00
1
sql.go
1
sql.go
@ -658,6 +658,7 @@ func insertMsgTributesStats(m *ChatWarsMessageTributesStatsAck) error {
|
|||||||
defer stmt.Close()
|
defer stmt.Close()
|
||||||
|
|
||||||
for _, t := range m.Tributes {
|
for _, t := range m.Tributes {
|
||||||
|
log.Printf("insertMsgTributesStats : #%d / #%d : %d + %d (%v)\n", m.Msg.TGUserID64, t.ItemID64, t.Quantity, t.Exp, t.Date)
|
||||||
_, err = stmt.Exec(m.Msg.TGUserID64, t.ItemID64, t.Quantity, t.Exp, t.Date)
|
_, err = stmt.Exec(m.Msg.TGUserID64, t.ItemID64, t.Quantity, t.Exp, t.Date)
|
||||||
logOnError(err, "insertMsgTributesStats Exec")
|
logOnError(err, "insertMsgTributesStats Exec")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user