mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 12:47:46 +00:00
Bad old SQL line was adding exponentially increasing duplicates.
This commit is contained in:
parent
bc95c139de
commit
a14e36fadc
1 changed files with 2 additions and 1 deletions
|
@ -1337,7 +1337,8 @@ namespace FFXIVClassic_Map_Server
|
|||
string query = @"
|
||||
INSERT INTO characters_inventory
|
||||
(characterId, inventoryType, serverItemId, quantity)
|
||||
SELECT @charId, @inventoryType, @uid, @quantity FROM characters_inventory WHERE characterId = @charId AND inventoryType = @inventoryType;
|
||||
VALUES
|
||||
(@charId, @inventoryType, uid, @quantity)
|
||||
";
|
||||
|
||||
MySqlCommand cmd = new MySqlCommand(query, conn);
|
||||
|
|
Loading…
Add table
Reference in a new issue