aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/authserver/Main.cpp')
-rw-r--r--src/server/authserver/Main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp
index 1e140e4e1c0..dfc04f58512 100644
--- a/src/server/authserver/Main.cpp
+++ b/src/server/authserver/Main.cpp
@@ -346,7 +346,8 @@ bool StartDB()
num_threads = 1;
}
- if (!LoginDatabase.Open(dbstring.c_str(), num_threads))
+ //- Authserver has singlethreaded synchronous DB access, hence MYSQL_BUNDLE_ALL
+ if (!LoginDatabase.Open(dbstring.c_str(), num_threads, MYSQL_BUNDLE_ALL))
{
sLog.outError("Cannot connect to database");
return false;