mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
[Fix] Big Bag Cleanup (#4643)
* [Bug] Big Bag Cleanup - Fixed the Database Updates to properly check for the missing column - Added the cursor slot overflow migration and drop - Only the first 200 overflow slots are migrated due to the destination buffer size shrinking from 1000 to 200. Anything over 200 is dropped (Generally just summoned food). - Fixed a direct DB call in corpses to the inventory table with incorrect column names - Fixed the Inventory Snapshot bidirectional queries to account for updated inventory table names. * Accidently nuked a line.
This commit is contained in:
+2
-2
@@ -366,8 +366,8 @@ Corpse::Corpse(Client *c, int32 rez_exp, KilledByTypes in_killed_by) : Mob(
|
||||
|
||||
if (iter != removed_list.end()) {
|
||||
std::stringstream ss("");
|
||||
ss << "DELETE FROM `inventory` WHERE `charid` = " << c->CharacterID();
|
||||
ss << " AND `slotid` IN (" << (*iter);
|
||||
ss << "DELETE FROM `inventory` WHERE `character_id` = " << c->CharacterID();
|
||||
ss << " AND `slot_id` IN (" << (*iter);
|
||||
++iter;
|
||||
|
||||
while (iter != removed_list.end()) {
|
||||
|
||||
Reference in New Issue
Block a user