Core/DBLayer: Improve error message from 0a27f8bce2

This commit is contained in:
Shauren
2015-11-13 22:43:36 +01:00
parent 17a5f51a29
commit d31706b07e
3 changed files with 13 additions and 7 deletions

View File

@@ -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()