Fix build for mysql versions older than 5.7

This commit is contained in:
Shauren
2015-11-13 00:01:31 +01:00
parent 0a27f8bce2
commit 5604aed5f1

View File

@@ -67,7 +67,7 @@ class DatabaseWorkerPool
WPFatal(mysql_thread_safe(), "Used MySQL library isn't thread-safe.");
WPFatal(mysql_get_client_version() >= MIN_MYSQL_CLIENT_VERSION, "TrinityCore does not support MySQL versions below 5.1");
WPFatal(mysql_get_client_version() == LIBMYSQL_VERSION_ID, "Used MySQL library does not match the version used to compile TrinityCore.");
WPFatal(mysql_get_client_version() == MYSQL_VERSION_ID, "Used MySQL library does not match the version used to compile TrinityCore.");
}
~DatabaseWorkerPool()