Core/Auth: Fix Auth failing sometimes
Fix a database race condition between authserver saving session key to database asynchronously and worldserver reading it; session key is now saved synchronously.
This commit is contained in:
1 parent
f2c0ef67a8
commit
096cb6bf00
2 files changed
+2
-2
No files matched your search
@@ -663,7 +663,7 @@ bool AuthSocket::_HandleLogonProof()
|
||||
stmt->setUInt32(2, GetLocaleByName(_localizationName));
|
||||
stmt->setString(3, _os);
|
||||
stmt->setString(4, _login);
|
||||
LoginDatabase.Execute(stmt);
|
||||
LoginDatabase.DirectExecute(stmt);
|
||||
|
||||
OPENSSL_free((void*)K_hex);
|
||||
|
||||
|
||||
Reference in new issue
Block a user