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

@@ -98,7 +98,7 @@ public:
char const* str = locStr->Str[locale];
std::size_t len = strlen(str);
buffer << uint16(len ? len + 1 : 0);
buffer << uint16(len ? len : 0);
if (len)
{
buffer.append(str, len);