mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Core/DBLayer:
- Implement deriviate classes of MySQLConnection for every database type (world, realm, characters) - Make DatabaseWorkerPool templatized and use the above mentioned classes as parameter - Implementation of the new types in code (This is in preparation of prepared statement interface) --HG-- branch : trunk
This commit is contained in:
@@ -63,7 +63,7 @@ bool StartDB();
|
||||
|
||||
bool stopEvent = false; ///< Setting it to true stops the server
|
||||
|
||||
DatabaseType LoginDatabase; ///< Accessor to the realm server database
|
||||
LoginDatabaseWorkerPool LoginDatabase; ///< Accessor to the realm server database
|
||||
|
||||
/// Handle realmd's termination signals
|
||||
class RealmdSignalHandler : public Trinity::SignalHandler
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
#include "RealmList.h"
|
||||
#include "Database/DatabaseEnv.h"
|
||||
|
||||
|
||||
extern DatabaseType LoginDatabase;
|
||||
|
||||
RealmList::RealmList() : m_UpdateInterval(0), m_NextUpdateTime(time(NULL))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
#include "SHA1.h"
|
||||
//#include "Util.h" -- for commented utf8ToUpperOnlyLatin
|
||||
|
||||
extern DatabaseType LoginDatabase;
|
||||
|
||||
#define ChunkSize 2048
|
||||
|
||||
enum eAuthCmd
|
||||
|
||||
Reference in New Issue
Block a user