From 894d586d81af67ace6a03d2385524bdd09b7d6da Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 29 Sep 2019 18:49:45 +0200 Subject: [PATCH] DB/Bnet: increased account OS column size to allow 64 bit logins via battle net server --- sql/updates/auth/4.3.4/2019_09_29_00_auth.sql | 1 + src/server/bnetserver/Server/Session.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 sql/updates/auth/4.3.4/2019_09_29_00_auth.sql diff --git a/sql/updates/auth/4.3.4/2019_09_29_00_auth.sql b/sql/updates/auth/4.3.4/2019_09_29_00_auth.sql new file mode 100644 index 0000000000..febb436b64 --- /dev/null +++ b/sql/updates/auth/4.3.4/2019_09_29_00_auth.sql @@ -0,0 +1 @@ +ALTER TABLE `account` MODIFY COLUMN `os` varchar(5); diff --git a/src/server/bnetserver/Server/Session.cpp b/src/server/bnetserver/Server/Session.cpp index cad79ebd6b..4da0037fd5 100644 --- a/src/server/bnetserver/Server/Session.cpp +++ b/src/server/bnetserver/Server/Session.cpp @@ -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());