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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user