Core/Datastore: updated db2 field names and types to reflect client magic names

*fixed string length for sending names in item_sparse length
This commit is contained in:
Ovahlord
2020-02-23 02:20:38 +01:00
parent 2c6beb7f99
commit 73ce49cb78
9 changed files with 102 additions and 44 deletions

View File

@@ -1231,7 +1231,7 @@ public:
auto itr = std::find_if(sItemSparseStore.begin(), sItemSparseStore.end(), [&itemName](ItemSparseEntry const* sparse)
{
for (uint32 i = 0; i < MAX_LOCALES; ++i)
if (itemName == sparse->Name->Str[i])
if (itemName == sparse->Display->Str[i])
return true;
return false;
});