test msg refresh
This commit is contained in:
parent
bea624b185
commit
e50ddc1af2
1
obj.go
1
obj.go
@ -447,6 +447,7 @@ func delObj(objId int64) error {
|
|||||||
return errors.New("Can only delete cacheObjSubType[`msg_auction_announce`].")
|
return errors.New("Can only delete cacheObjSubType[`msg_auction_announce`].")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Printf("delObj(%d)\n", objId)
|
||||||
cacheObjMsg.Delete(objId) // better delete from cache before, worst case we reload after
|
cacheObjMsg.Delete(objId) // better delete from cache before, worst case we reload after
|
||||||
|
|
||||||
stmt, err := db.Prepare(`DELETE FROM obj WHERE id = ?`)
|
stmt, err := db.Prepare(`DELETE FROM obj WHERE id = ?`)
|
||||||
|
Loading…
Reference in New Issue
Block a user