From 9f82a960e44c5db3d2e64bdda099823b3078c90d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Feb 2025 11:48:43 +0000 Subject: Log the version of third-party libraries on load. --- modules/extra/mysql.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/extra/mysql.cpp') diff --git a/modules/extra/mysql.cpp b/modules/extra/mysql.cpp index 027291991..65fe6d5c4 100644 --- a/modules/extra/mysql.cpp +++ b/modules/extra/mysql.cpp @@ -242,9 +242,10 @@ public: { me = this; - DThread = new DispatcherThread(); DThread->Start(); + + Log() << "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(); } ~ModuleSQL() -- cgit