]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2978] Removed unused function
authorMarcin Siodelski <marcin@isc.org>
Tue, 18 Jul 2023 20:31:00 +0000 (22:31 +0200)
committerMarcin Siodelski <marcin@isc.org>
Wed, 19 Jul 2023 11:26:56 +0000 (13:26 +0200)
src/lib/mysql/mysql_connection.cc
src/lib/mysql/mysql_connection.h

index 9db0da5416cf695559199e014e6f3b8450b440b9..643408c74199391890a4e88d227488d5d299b97d 100644 (file)
@@ -391,11 +391,6 @@ MySqlConnection::prepareStatements(const TaggedStatement* start_statement,
     }
 }
 
-void MySqlConnection::clearStatements() {
-    statements_.clear();
-    text_statements_.clear();
-}
-
 /// @brief Destructor
 MySqlConnection::~MySqlConnection() {
     // Free up the prepared statements, ignoring errors. (What would we do
index e1342464bf5ab45ec84842101c962c05a90308ce..663c9136bae5d00278665d2f543fdcab57d99ab0 100644 (file)
@@ -301,9 +301,6 @@ public:
     void prepareStatements(const TaggedStatement* start_statement,
                            const TaggedStatement* end_statement);
 
-    /// @brief Clears prepared statements and text statements.
-    void clearStatements();
-
     /// @brief Returns a prepared statement by an index
     ///
     /// @tparam StatementIndex Type of the statement index enum.