From 95a7f809bc85115e22687a8d6d5ca357ba752e43 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 19 Mar 2024 15:59:42 +0100 Subject: [PATCH] auth smysql: remove unused var --- modules/gmysqlbackend/gmysqlbackend.cc | 3 +-- modules/gmysqlbackend/smysql.cc | 4 ++-- modules/gmysqlbackend/smysql.hh | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/gmysqlbackend/gmysqlbackend.cc b/modules/gmysqlbackend/gmysqlbackend.cc index 7aac1044ae..82f0f9d285 100644 --- a/modules/gmysqlbackend/gmysqlbackend.cc +++ b/modules/gmysqlbackend/gmysqlbackend.cc @@ -61,8 +61,7 @@ void gMySQLBackend::reconnect() getArg("group"), mustDo("innodb-read-committed"), getArgAsNum("timeout"), - mustDo("thread-cleanup"), - mustDo("ssl")))); + mustDo("thread-cleanup")))); allocateStatements(); } diff --git a/modules/gmysqlbackend/smysql.cc b/modules/gmysqlbackend/smysql.cc index 9a3452eca9..3522123f3f 100644 --- a/modules/gmysqlbackend/smysql.cc +++ b/modules/gmysqlbackend/smysql.cc @@ -525,8 +525,8 @@ void SMySQL::connect() } SMySQL::SMySQL(string database, string host, uint16_t port, string msocket, string user, - string password, string group, bool setIsolation, unsigned int timeout, bool threadCleanup, bool clientSSL) : - d_database(std::move(database)), d_host(std::move(host)), d_msocket(std::move(msocket)), d_user(std::move(user)), d_password(std::move(password)), d_group(std::move(group)), d_timeout(timeout), d_port(port), d_setIsolation(setIsolation), d_threadCleanup(threadCleanup), d_clientSSL(clientSSL) + string password, string group, bool setIsolation, unsigned int timeout, bool threadCleanup) : + d_database(std::move(database)), d_host(std::move(host)), d_msocket(std::move(msocket)), d_user(std::move(user)), d_password(std::move(password)), d_group(std::move(group)), d_timeout(timeout), d_port(port), d_setIsolation(setIsolation), d_threadCleanup(threadCleanup) { connect(); } diff --git a/modules/gmysqlbackend/smysql.hh b/modules/gmysqlbackend/smysql.hh index f39e5b9427..2280224b13 100644 --- a/modules/gmysqlbackend/smysql.hh +++ b/modules/gmysqlbackend/smysql.hh @@ -33,7 +33,7 @@ public: string msocket = "", string user = "", string password = "", string group = "", bool setIsolation = false, unsigned int timeout = 10, - bool threadCleanup = false, bool clientSSL = false); + bool threadCleanup = false); ~SMySQL() override; @@ -64,5 +64,4 @@ private: uint16_t d_port; bool d_setIsolation; bool d_threadCleanup; - bool d_clientSSL; }; -- 2.47.2