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:
Machiavelli
2010-09-29 15:29:57 +02:00
parent d3b30e979a
commit fcec787e9c
9 changed files with 58 additions and 49 deletions

View File

@@ -18,9 +18,9 @@
#include "CharacterDatabase.h"
bool CharacterDatabaseConnection::Open(const MySQLConnectionInfo& connInfo)
bool CharacterDatabaseConnection::Open()
{
if (!MySQLConnection::Open(connInfo))
if (!MySQLConnection::Open())
return false;
m_stmts.resize(MAX_CHARACTERDATABASE_STATEMENTS);