diff options
author | Sadie Powell <sadie@witchery.services> | 2025-05-09 15:31:49 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-05-09 15:35:02 +0100 |
commit | 5d648f9f1cf7e23ac54317f2d63c1f9b7844de9f (patch) | |
tree | afc816d14a1e8d82f255406d6e47aea49ea6a735 /modules | |
parent | 46e6b0addece834ac1b4b917edf872f5b895ab9a (diff) |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/extra/mysql.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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 |