Core/DBLayer: Pass connection info down to lower level class MySQLConnection and use relevant data in logging messages in its methods
--HG-- branch : trunk
This commit is contained in:
1 parent
d3b30e979a
commit
fcec787e9c
9 files changed
+58
-49
No files matched your search
@@ -26,11 +26,11 @@ class CharacterDatabaseConnection : public MySQLConnection
|
||||
{
|
||||
public:
|
||||
//- Constructors for sync and async connections
|
||||
CharacterDatabaseConnection() : MySQLConnection() {}
|
||||
CharacterDatabaseConnection(ACE_Activation_Queue* q) : MySQLConnection(q) {}
|
||||
CharacterDatabaseConnection(const MySQLConnectionInfo& connInfo) : MySQLConnection(connInfo) {}
|
||||
CharacterDatabaseConnection(ACE_Activation_Queue* q, const MySQLConnectionInfo& connInfo) : MySQLConnection(q, connInfo) {}
|
||||
|
||||
//- Loads databasetype specific prepared statements
|
||||
bool Open(const MySQLConnectionInfo& connInfo);
|
||||
bool Open();
|
||||
};
|
||||
|
||||
typedef DatabaseWorkerPool<CharacterDatabaseConnection> CharacterDatabaseWorkerPool;
|
||||
|
||||
Reference in new issue
Block a user