From 34c90f97878b7d346808fa55407ccf6027c8a596 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 6 Jun 2019 14:06:29 +0800 Subject: [PATCH] test --- sql.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql.go b/sql.go index 7b8c9a6..2a150eb 100644 --- a/sql.go +++ b/sql.go @@ -521,8 +521,8 @@ func insertMsgAuctionAnnounce(m *ChatWarsMessageAuctionAnnounce) error { return errors.New("Message type mismatch") } - stmt, err := db.Prepare(`INSERT INTO obj_msg_auction_announce (obj_id, lot_id, item, cond, quality, seller_id, seller_guild_id, seller_castle_id, buyer_id, buyer_guild_id, buyer_castle_id, price, status, end) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);`) + stmt, err := db.Prepare(`INSERT INTO obj_msg_auction_announce (obj_id, lot_id, item_id, cond, quality, seller_id, seller_guild_id, seller_castle_id, buyer_id, buyer_guild_id, buyer_castle_id, price, status, end) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);`) if err != nil { return err }