From 273679c5baba2c8f8978b1d5d0caadf1c933ebda Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Fri, 3 Sep 2010 10:52:32 +0200 Subject: 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) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: still experimental and not tested for live use --HG-- branch : trunk --- src/server/authserver/Main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server/authserver/Main.cpp') 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; -- cgit v1.2.3