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 committed 2020-02-23 02:20:38 +01:00
1 parent 2c6beb7f99
commit 73ce49cb78
9 files changed
+102 -44

No files matched your search

+1 -1
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;
});