aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Guilds
diff options
context:
space:
mode:
authorazazel <none@none>2010-12-15 14:08:12 +0600
committerazazel <none@none>2010-12-15 14:08:12 +0600
commitb39b8fdd0dd219b78cced60d746f2eb0d0cacdf7 (patch)
tree0448fb375ecd1ca73de28b0bf610d6a8078dce61 /src/server/game/Guilds
parent58a9b15443aea65e78169b7078b3c00ae9004ac5 (diff)
DB Schema/Characters: removed columns auctionhouse.item_template, character_inventory.item_template, guild_bank_item.item_entry and mail_items.item_template and created item_instance.itemEntry column instead of them.
As a side effect moved related queries to prepared statements. As one more side effect fixed not shown and lost mail items in returned expired mail (patch by Quriq14). --HG-- branch : trunk
Diffstat (limited to 'src/server/game/Guilds')
-rwxr-xr-xsrc/server/game/Guilds/Guild.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp
index 813afcdefbd..0b8afcc8e43 100755
--- a/src/server/game/Guilds/Guild.cpp
+++ b/src/server/game/Guilds/Guild.cpp
@@ -476,7 +476,6 @@ bool Guild::BankTab::SetItem(SQLTransaction& trans, uint8 slotId, Item* pItem)
stmt->setUInt8 (1, m_tabId);
stmt->setUInt8 (2, slotId);
stmt->setUInt32(3, pItem->GetGUIDLow());
- stmt->setUInt32(4, pItem->GetEntry());
CharacterDatabase.ExecuteOrAppend(trans, stmt);
pItem->SetUInt64Value(ITEM_FIELD_CONTAINED, 0);