aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Main.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-09-03 10:52:32 +0200
committerMachiavelli <none@none>2010-09-03 10:52:32 +0200
commit273679c5baba2c8f8978b1d5d0caadf1c933ebda (patch)
treebff84137e930a2dec85216669505aa5370f669bd /src/server/authserver/Main.cpp
parent277f2674ac278e981bb483c13b34b0a2d2f28a2b (diff)
Core/DBLayer
- Store threadbundlemask internally per database pool and prevent direct access to config file post startup - Fix threadbundlemask flag checking for ReactorRunnable, WorldRunnable - Remove CLI threadbundlemask flag, CLI doesn´t need a seperate mysql connection nor thread - Remove unused Character Database connection from WorldSocketMgr / ReactorRunnable - Add proper LoginDatabase connection to RA Runnable (soon to be overhauled) Note: still experimental and not tested for live use --HG-- branch : trunk
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;