TrinityCore
|
#include <LoginDatabase.h>
Public Types | |
typedef LoginDatabaseStatements | 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 183 of file LoginDatabase.h.
Definition at line 186 of file LoginDatabase.h.
LoginDatabaseConnection::LoginDatabaseConnection | ( | MySQLConnectionInfo & | connInfo, |
ConnectionFlags | connectionFlags | ||
) |
Definition at line 196 of file LoginDatabase.cpp.
LoginDatabaseConnection::~LoginDatabaseConnection | ( | ) |
Definition at line 200 of file LoginDatabase.cpp.
|
overridevirtual |
Implements MySQLConnection.
Definition at line 21 of file LoginDatabase.cpp.