From 9074209d4304bea828bf3849be8f2c8191fc22bc Mon Sep 17 00:00:00 2001 From: Leon Krieg Date: Sun, 25 Jan 2026 22:27:12 +0100 Subject: [PATCH] Allow MariaDB database implementations --- src/server/database/Database/DatabaseWorkerPool.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/server/database/Database/DatabaseWorkerPool.cpp b/src/server/database/Database/DatabaseWorkerPool.cpp index ee19a5a..9d867c1 100644 --- a/src/server/database/Database/DatabaseWorkerPool.cpp +++ b/src/server/database/Database/DatabaseWorkerPool.cpp @@ -59,13 +59,15 @@ DatabaseWorkerPool::DatabaseWorkerPool() : { WPFatal(mysql_thread_safe(), "Used MySQL library isn't thread-safe."); - bool isSupportClientDB = mysql_get_client_version() >= MIN_MYSQL_CLIENT_VERSION; - bool isSameClientDB = mysql_get_client_version() == MYSQL_VERSION_ID; + bool isSupportClientDB = true; + bool isSameClientDB = true; + /* WPFatal(isSupportClientDB, "AzerothCore does not support MySQL versions below 8.0\n\nFound version: {} / {}. Server compiled with: {}.\nSearch the wiki for ACE00043 in Common Errors (https://www.azerothcore.org/wiki/common-errors#ace00043).", mysql_get_client_info(), mysql_get_client_version(), MYSQL_VERSION_ID); WPFatal(isSameClientDB, "Used MySQL library version ({} id {}) does not match the version id used to compile AzerothCore (id {}).\nSearch the wiki for ACE00046 in Common Errors (https://www.azerothcore.org/wiki/common-errors#ace00046).", mysql_get_client_info(), mysql_get_client_version(), MYSQL_VERSION_ID); + */ } template @@ -386,6 +388,9 @@ void DatabaseWorkerPool::KeepAlive() */ bool DatabaseIncompatibleVersion(std::string const mysqlVersion) { + + return false; + // anon func to turn a version string into an array of uint8 // "1.2.3" => [1, 2, 3] auto parse = [](std::string const& input)