Skip to content

Commit df42c47

Browse files
ShockerShauren
authored andcommitted
Core/Guild: Fix guild bank money withdraw update
(cherry picked from commit 6dc9b4c)
1 parent 65715e7 commit df42c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/database/Database/Implementation/CharacterDatabase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void CharacterDatabaseConnection::DoPrepareStatements()
217217

218218
PrepareStatement(CHAR_INS_GUILD_MEMBER_WITHDRAW,
219219
"INSERT INTO guild_member_withdraw (guid, tab0, tab1, tab2, tab3, tab4, tab5, money) VALUES (?, ?, ?, ?, ?, ?, ?, ?) "
220-
"ON DUPLICATE KEY UPDATE tab0 = VALUES (tab0), tab1 = VALUES (tab1), tab2 = VALUES (tab2), tab3 = VALUES (tab3), tab4 = VALUES (tab4), tab5 = VALUES (tab5)", CONNECTION_ASYNC);
220+
"ON DUPLICATE KEY UPDATE tab0 = VALUES (tab0), tab1 = VALUES (tab1), tab2 = VALUES (tab2), tab3 = VALUES (tab3), tab4 = VALUES (tab4), tab5 = VALUES (tab5), money = VALUES (money)", CONNECTION_ASYNC);
221221
PrepareStatement(CHAR_DEL_GUILD_MEMBER_WITHDRAW, "TRUNCATE guild_member_withdraw", CONNECTION_ASYNC);
222222

223223
// 0: uint32, 1: uint32, 2: uint32

0 commit comments

Comments
 (0)