Core/DBLayer: Improve error message from 0a27f8bce264b8f6d8c55efa8ebc97f6e9cb7d11

(cherry picked from commit d31706b07e5e4a4d632f5deea7076e864b467bbe)
This commit is contained in:
Shauren authored and Carbenium committed 2015-11-14 13:54:36 +01:00
1 parent 1438c841ed
commit 7631ec444e
3 files changed
+12 -6

No files matched your search

@@ -67,7 +67,8 @@ 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() == MYSQL_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 version (%s) does not match the version used to compile TrinityCore (%s).",
mysql_get_client_info(), MYSQL_SERVER_VERSION);
}
~DatabaseWorkerPool()