This commit is contained in:
shoopea 2019-06-10 17:08:58 +08:00
parent 2d9d2380a7
commit b53e71d998

2
obj.go
View File

@ -168,7 +168,7 @@ func delObj(objId int64) error {
return errors.New("Can only delete objSubTypeMessageAuctionAnnounce.")
}
stmt, err := db.Prepare(`DELETE FROM obj o WHERE o.id = ?`)
stmt, err := db.Prepare(`DELETE FROM obj WHERE id = ?`)
if err != nil {
return err
}