TrinityCore
|
#include <WorldDatabase.h>
Public Types | |
typedef WorldDatabaseStatements | Statements |
Additional Inherited Members | |
Protected Types inherited from MySQLConnection | |
typedef std::vector< std::unique_ptr< MySQLPreparedStatement > > | PreparedStatementContainer |
Protected Member Functions inherited from MySQLConnection | |
bool | LockIfReady () |
void | Unlock () |
Called by parent databasepool. Will let other threads access this connection. More... | |
uint32 | GetServerVersion () const |
MySQLPreparedStatement * | GetPreparedStatement (uint32 index) |
void | PrepareStatement (uint32 index, std::string_view sql, ConnectionFlags flags) |
virtual void | DoPrepareStatements ()=0 |
Protected Attributes inherited from MySQLConnection | |
PreparedStatementContainer | m_stmts |
PreparedStatements storage. More... | |
bool | m_reconnecting |
Are we reconnecting? More... | |
bool | m_prepareError |
Was there any error while preparing statements? More... | |
Definition at line 92 of file WorldDatabase.h.
Definition at line 95 of file WorldDatabase.h.
WorldDatabaseConnection::WorldDatabaseConnection | ( | MySQLConnectionInfo & | connInfo, |
ConnectionFlags | connectionFlags | ||
) |
Definition at line 84 of file WorldDatabase.cpp.
WorldDatabaseConnection::~WorldDatabaseConnection | ( | ) |
Definition at line 88 of file WorldDatabase.cpp.
|
overridevirtual |
Implements MySQLConnection.
Definition at line 21 of file WorldDatabase.cpp.