AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "DatabaseWorkerPool.h"
#include "AdhocStatement.h"
#include "CharacterDatabase.h"
#include "Errors.h"
#include "Log.h"
#include "LoginDatabase.h"
#include "MySQLPreparedStatement.h"
#include "MySQLWorkaround.h"
#include "PCQueue.h"
#include "PreparedStatement.h"
#include "QueryCallback.h"
#include "QueryHolder.h"
#include "QueryResult.h"
#include "SQLOperation.h"
#include "Transaction.h"
#include "WorldDatabase.h"
#include <limits>
#include <mysqld_error.h>
#include <sstream>
#include <vector>
Go to the source code of this file.
Classes | |
class | PingOperation |
Functions | |
bool | DatabaseIncompatibleVersion (std::string const mysqlVersion) |
Returns true if the version string given is incompatible. More... | |
Variables | |
template class AC_DATABASE_API | DatabaseWorkerPool< LoginDatabaseConnection > |
template class AC_DATABASE_API | DatabaseWorkerPool< WorldDatabaseConnection > |
template class AC_DATABASE_API | DatabaseWorkerPool< CharacterDatabaseConnection > |
bool DatabaseIncompatibleVersion | ( | std::string const | mysqlVersion | ) |
Returns true if the version string given is incompatible.
Intended to be used with mysql_get_server_info()'s output as the source
DatabaseIncompatibleVersion("8.0.35") => false DatabaseIncompatibleVersion("5.6.6") => true
Adapted from stackoverflow response https://stackoverflow.com/a/2941508
mysqlVersion | The output from GetServerInfo()/mysql_get_server_info() |
References MIN_MYSQL_SERVER_VERSION.
Referenced by DatabaseWorkerPool< T >::OpenConnections().
template class AC_DATABASE_API DatabaseWorkerPool< CharacterDatabaseConnection > |
template class AC_DATABASE_API DatabaseWorkerPool< LoginDatabaseConnection > |
template class AC_DATABASE_API DatabaseWorkerPool< WorldDatabaseConnection > |