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 committed 2010-09-29 15:29:57 +02:00
1 parent d3b30e979a
commit fcec787e9c
9 files changed
+58 -49

No files matched your search

@@ -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);