mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-13 11:34:07 -04:00
Core/DBLayer: Store MySQL connection details in a struct and print relevant data in sql driver messages
--HG-- branch : trunk
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
|
||||
#include "CharacterDatabase.h"
|
||||
|
||||
bool CharacterDatabaseConnection::Open(const std::string& infoString)
|
||||
bool CharacterDatabaseConnection::Open(const MySQLConnectionInfo& connInfo)
|
||||
{
|
||||
if (!MySQLConnection::Open(infoString))
|
||||
if (!MySQLConnection::Open(connInfo))
|
||||
return false;
|
||||
|
||||
m_stmts.resize(MAX_CHARACTERDATABASE_STATEMENTS);
|
||||
|
||||
Reference in New Issue
Block a user