mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user