From 5d648f9f1cf7e23ac54317f2d63c1f9b7844de9f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 9 May 2025 15:31:49 +0100 Subject: Revert "Force the MySQL module to use UTC for connections". This results in a deadlock. We have other ways for dealing with this problem anyway. Closes #506. --- modules/extra/mysql.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules') diff --git a/modules/extra/mysql.cpp b/modules/extra/mysql.cpp index 34fb097bb..f68987236 100644 --- a/modules/extra/mysql.cpp +++ b/modules/extra/mysql.cpp @@ -631,10 +631,6 @@ void MySQLService::Connect() if (!connect) throw SQL::Exception("Unable to connect to MySQL service " + this->name + ": " + mysql_error(this->sql)); - // We force UTC so that FromUnixtime works as expected. - SQL::Query tzquery("SET time_zone = '+00:00'"); - RunQuery(tzquery); - if (this->socket.empty()) Log(LOG_DEBUG) << "Successfully connected to MySQL service " << this->name << " at " << this->server << ":" << this->port; else -- cgit