![]() |
DDraceNetwork Documentation
|
Classes | |
| class | CStmtDeleter |
| union | UParameterExtra |
Public Member Functions | |
| CMysqlConnection (CMysqlConfig m_Config) | |
| ~CMysqlConnection () | |
| void | Print (IConsole *pConsole, const char *pMode) override |
| const char * | BinaryCollate () const override |
| void | ToUnixTimestamp (const char *pTimestamp, char *aBuf, unsigned int BufferSize) override |
| const char * | InsertTimestampAsUtc () const override |
| const char * | CollateNocase () const override |
| const char * | InsertIgnore () const override |
| const char * | Random () const override |
| const char * | MedianMapTime (char *pBuffer, int BufferSize) const override |
| const char * | False () const override |
| const char * | True () const override |
| bool | Connect (char *pError, int ErrorSize) override |
| void | Disconnect () override |
| bool | PrepareStatement (const char *pStmt, char *pError, int ErrorSize) override |
| void | BindString (int Idx, const char *pString) override |
| void | BindBlob (int Idx, unsigned char *pBlob, int Size) override |
| void | BindInt (int Idx, int Value) override |
| void | BindInt64 (int Idx, int64_t Value) override |
| void | BindFloat (int Idx, float Value) override |
| void | BindNull (int Idx) override |
| void | Print () override |
| bool | Step (bool *pEnd, char *pError, int ErrorSize) override |
| bool | ExecuteUpdate (int *pNumUpdated, char *pError, int ErrorSize) override |
| bool | IsNull (int Col) override |
| float | GetFloat (int Col) override |
| int | GetInt (int Col) override |
| int64_t | GetInt64 (int Col) override |
| void | GetString (int Col, char *pBuffer, int BufferSize) override |
| int | GetBlob (int Col, unsigned char *pBuffer, int BufferSize) override |
| bool | AddPoints (const char *pPlayer, int Points, char *pError, int ErrorSize) override |
| Public Member Functions inherited from IDbConnection | |
| IDbConnection (const char *pPrefix) | |
| virtual | ~IDbConnection ()=default |
| IDbConnection & | operator= (const IDbConnection &)=delete |
| const char * | GetPrefix () const |
Private Member Functions | |
| void | StoreErrorMysql (const char *pContext) |
| void | StoreErrorStmt (const char *pContext) |
| bool | ConnectImpl () |
| bool | PrepareAndExecuteStatement (const char *pStmt) |
Private Attributes | |
| char | m_aErrorDetail [128] |
| bool | m_NewQuery = false |
| bool | m_HaveConnection = false |
| MYSQL | m_Mysql |
| std::unique_ptr< MYSQL_STMT, CStmtDeleter > | m_pStmt = nullptr |
| std::vector< MYSQL_BIND > | m_vStmtParameters |
| std::vector< UParameterExtra > | m_vStmtParameterExtras |
| CMysqlConfig | m_Config |
| std::atomic_bool | m_InUse |
Additional Inherited Members | |
| Protected Member Functions inherited from IDbConnection | |
| void | FormatCreateRace (char *aBuf, unsigned int BufferSize, bool Backup) const |
| void | FormatCreateTeamrace (char *aBuf, unsigned int BufferSize, const char *pIdType, bool Backup) const |
| void | FormatCreateMaps (char *aBuf, unsigned int BufferSize) const |
| void | FormatCreateSaves (char *aBuf, unsigned int BufferSize, bool Backup) const |
| void | FormatCreatePoints (char *aBuf, unsigned int BufferSize) const |
|
explicit |
| CMysqlConnection::~CMysqlConnection | ( | ) |
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
private |
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
private |
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
private |
|
private |
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |