DB/Bnet: increased account OS column size to allow 64 bit logins via battle net server

This commit is contained in:
Ovahlord committed 2019-09-29 18:49:45 +02:00
1 parent 2084124420
commit 894d586d81
2 files changed
+1 -1

No files matched your search

@@ -0,0 +1 @@
ALTER TABLE `account` MODIFY COLUMN `os` varchar(5);
-1
View File
@@ -497,7 +497,6 @@ void Battlenet::Session::HandleJoinRequestV2(WoWRealm::JoinRequestV2 const& join
hmac2.Finalize();
memcpy(sessionKey + hmac.GetLength(), hmac2.GetDigest(), hmac2.GetLength());
printf("OS = %s \n", _os.c_str());
PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_LOGONPROOF);
stmt->setString(0, ByteArrayToHexStr(sessionKey, 40, true).c_str());