summaryrefslogtreecommitdiff
path: root/modules/extra/mysql.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-02-18 11:48:43 +0000
committerSadie Powell <sadie@witchery.services>2025-02-18 11:48:43 +0000
commit9f82a960e44c5db3d2e64bdda099823b3078c90d (patch)
tree8890673c0c4e0787359224d6768a7818d31661ae /modules/extra/mysql.cpp
parent3bba87b655a5c7d5f5721a5a7fc018f30f1390f2 (diff)
Log the version of third-party libraries on load.
Diffstat (limited to 'modules/extra/mysql.cpp')
-rw-r--r--modules/extra/mysql.cpp3
1 files changed, 2 insertions, 1 deletions
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()