]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth smysql: remove unused var 13954/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 19 Mar 2024 14:59:42 +0000 (15:59 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 21 Mar 2024 12:00:49 +0000 (13:00 +0100)
modules/gmysqlbackend/gmysqlbackend.cc
modules/gmysqlbackend/smysql.cc
modules/gmysqlbackend/smysql.hh

index 7aac1044ae8efa63eecc9f5b2dbf85ba06c7ba49..82f0f9d285b75e1b0069519a504f18350237d807 100644 (file)
@@ -61,8 +61,7 @@ void gMySQLBackend::reconnect()
                                          getArg("group"),
                                          mustDo("innodb-read-committed"),
                                          getArgAsNum("timeout"),
-                                         mustDo("thread-cleanup"),
-                                         mustDo("ssl"))));
+                                         mustDo("thread-cleanup"))));
   allocateStatements();
 }
 
index 9a3452eca94eaa000eb159eb6373b46305a3547d..3522123f3f31a2b5f2d326bac96e3413f59780f4 100644 (file)
@@ -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();
 }
index f39e5b942750d5b79016cbbccb9d50b940fd7871..2280224b13f513abf4f9c1c6a507932d65ba881e 100644 (file)
@@ -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;
 };