1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 12:43:13 +02:00

Fix printing the MySQL version when building against MariaDB.

This commit is contained in:
Sadie Powell
2025-09-11 15:58:31 +01:00
parent 9d89d8233d
commit 8e337c6592
+1 -1
View File
@@ -245,7 +245,7 @@ public:
DThread = new DispatcherThread();
DThread->Start();
Log(this) << "Module was compiled against MySQL version " << (MYSQL_VERSION_ID / 10000) << "." << (MYSQL_VERSION_ID / 100 % 100) << "." << (MYSQL_VERSION_ID % 100) << " and is running against version " << mysql_get_client_info();
Log(this) << "Module was compiled against MySQL version " << MYSQL_SERVER_VERSION << " and is running against version " << mysql_get_client_info();
}
~ModuleSQL()