diff options
author | Machiavelli <none@none> | 2010-09-27 00:20:56 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-09-27 00:20:56 +0200 |
commit | a9e9a2c8848c22e4a3e3b7bab0caeca25d9ea408 (patch) | |
tree | a7c4960796d0a9a42cb1e0252d4a75c4436d1f01 /src/server/game/Maps/MapUpdater.cpp | |
parent | 894b2081b3837575bd44c71ea4ebc76008b5b5e3 (diff) |
Core/DBLayer:
- DB Threading model update
* Get rid of ThreadBundleMask and bundled connection
* Implement configurable amount of Synch threads for databasepools
* Use modulus based algorithm to check for free synchronous connections instead of previous ¨get connection by thread key or bundlemask¨ feature
* Locks on mysql context objects are now managed outside the mysql query methods
Fixes issue #4058
Fixes issue #4059
Introduces a ton of more issues. Use at own risk. You were warned. Really.
Don´t forget to update your worldserver.conf
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Maps/MapUpdater.cpp')
-rw-r--r-- | src/server/game/Maps/MapUpdater.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/game/Maps/MapUpdater.cpp b/src/server/game/Maps/MapUpdater.cpp index f9b1b5dda62..7e6b2f03bd0 100644 --- a/src/server/game/Maps/MapUpdater.cpp +++ b/src/server/game/Maps/MapUpdater.cpp @@ -16,8 +16,6 @@ class WDBThreadStartReq1 : public ACE_Method_Request virtual int call() { - WorldDatabase.Init_MySQL_Connection(); - CharacterDatabase.Init_MySQL_Connection(); return 0; } }; @@ -32,8 +30,6 @@ class WDBThreadEndReq1 : public ACE_Method_Request virtual int call() { - WorldDatabase.End_MySQL_Connection(); - CharacterDatabase.End_MySQL_Connection(); return 0; } }; |