DDraceNetwork Docs
|
#include "connection.h"
#include <engine/server/databases/connection_pool.h>
#include <mysql.h>
#include <base/tl/threading.h>
#include <engine/console.h>
#include <atomic>
#include <memory>
#include <vector>
Classes | |
class | CMysqlConnection |
class | CMysqlConnection::CStmtDeleter |
union | CMysqlConnection::UParameterExtra |
Enumerations | |
enum | { MYSQLSTATE_UNINITIALIZED , MYSQLSTATE_INITIALIZED , MYSQLSTATE_SHUTTINGDOWN } |
Functions | |
bool | MysqlAvailable () |
int | MysqlInit () |
void | MysqlUninit () |
std::unique_ptr< IDbConnection > | CreateMysqlConnection (CMysqlConfig Config) |
Variables | |
std::atomic_int | g_MysqlState = {MYSQLSTATE_UNINITIALIZED} |
std::atomic_int | g_MysqlNumConnections |
std::unique_ptr< IDbConnection > CreateMysqlConnection | ( | CMysqlConfig | Config | ) |
bool MysqlAvailable | ( | ) |
int MysqlInit | ( | ) |
void MysqlUninit | ( | ) |
std::atomic_int g_MysqlNumConnections |
std::atomic_int g_MysqlState = {MYSQLSTATE_UNINITIALIZED} |