TrinityCore
DatabaseWorkerPool.cpp File Reference
#include "DatabaseWorkerPool.h"
#include "AdhocStatement.h"
#include "Common.h"
#include "Errors.h"
#include "IoContext.h"
#include "Implementation/LoginDatabase.h"
#include "Implementation/WorldDatabase.h"
#include "Implementation/CharacterDatabase.h"
#include "Implementation/HotfixDatabase.h"
#include "Log.h"
#include "MySQLPreparedStatement.h"
#include "PreparedStatement.h"
#include "ProducerConsumerQueue.h"
#include "QueryCallback.h"
#include "QueryHolder.h"
#include "QueryResult.h"
#include "Transaction.h"
#include "MySQLWorkaround.h"
#include <boost/asio/use_future.hpp>
#include <mysqld_error.h>
#include <utility>
+ Include dependency graph for DatabaseWorkerPool.cpp:

Go to the source code of this file.

Classes

struct  DatabaseWorkerPool< T >::QueueSizeTracker
 

Macros

#define MIN_MYSQL_SERVER_VERSION   50700u
 
#define MIN_MYSQL_SERVER_VERSION_STRING   "5.7"
 
#define MIN_MYSQL_CLIENT_VERSION   50700u
 
#define MIN_MYSQL_CLIENT_VERSION_STRING   "5.7"
 
#define MIN_MARIADB_SERVER_VERSION   100209u
 
#define MIN_MARIADB_SERVER_VERSION_STRING   "10.2.9"
 
#define MIN_MARIADB_CLIENT_VERSION   30003u
 
#define MIN_MARIADB_CLIENT_VERSION_STRING   "3.0.3"
 

Variables

template class TC_DATABASE_API DatabaseWorkerPool< LoginDatabaseConnection >
 
template class TC_DATABASE_API DatabaseWorkerPool< WorldDatabaseConnection >
 
template class TC_DATABASE_API DatabaseWorkerPool< CharacterDatabaseConnection >
 
template class TC_DATABASE_API DatabaseWorkerPool< HotfixDatabaseConnection >
 

Macro Definition Documentation

◆ MIN_MARIADB_CLIENT_VERSION

#define MIN_MARIADB_CLIENT_VERSION   30003u

Definition at line 51 of file DatabaseWorkerPool.cpp.

◆ MIN_MARIADB_CLIENT_VERSION_STRING

#define MIN_MARIADB_CLIENT_VERSION_STRING   "3.0.3"

Definition at line 52 of file DatabaseWorkerPool.cpp.

◆ MIN_MARIADB_SERVER_VERSION

#define MIN_MARIADB_SERVER_VERSION   100209u

Definition at line 49 of file DatabaseWorkerPool.cpp.

◆ MIN_MARIADB_SERVER_VERSION_STRING

#define MIN_MARIADB_SERVER_VERSION_STRING   "10.2.9"

Definition at line 50 of file DatabaseWorkerPool.cpp.

◆ MIN_MYSQL_CLIENT_VERSION

#define MIN_MYSQL_CLIENT_VERSION   50700u

Definition at line 46 of file DatabaseWorkerPool.cpp.

◆ MIN_MYSQL_CLIENT_VERSION_STRING

#define MIN_MYSQL_CLIENT_VERSION_STRING   "5.7"

Definition at line 47 of file DatabaseWorkerPool.cpp.

◆ MIN_MYSQL_SERVER_VERSION

#define MIN_MYSQL_SERVER_VERSION   50700u

Definition at line 44 of file DatabaseWorkerPool.cpp.

◆ MIN_MYSQL_SERVER_VERSION_STRING

#define MIN_MYSQL_SERVER_VERSION_STRING   "5.7"

Definition at line 45 of file DatabaseWorkerPool.cpp.

Variable Documentation

◆ DatabaseWorkerPool< CharacterDatabaseConnection >

◆ DatabaseWorkerPool< HotfixDatabaseConnection >

◆ DatabaseWorkerPool< LoginDatabaseConnection >

◆ DatabaseWorkerPool< WorldDatabaseConnection >