summaryrefslogtreecommitdiffstats
path: root/src/lib/mysql
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2021-03-19 08:24:54 +0100
committerRazvan Becheriu <razvan@isc.org>2021-03-29 20:11:29 +0200
commit2a06054b555f73808ecf67f31ed5e6b36ad2d81a (patch)
tree07d368bef276ac3adc2af96d089e63ae4515f5e5 /src/lib/mysql
parent[#1621] addressed comments (diff)
downloadkea-2a06054b555f73808ecf67f31ed5e6b36ad2d81a.tar.xz
kea-2a06054b555f73808ecf67f31ed5e6b36ad2d81a.zip
[#1621] add enable-connection-recovery parameter to configure connection recovery
Diffstat (limited to 'src/lib/mysql')
-rw-r--r--src/lib/mysql/mysql_connection.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/mysql/mysql_connection.h b/src/lib/mysql/mysql_connection.h
index dff65e9d3b..8d51554411 100644
--- a/src/lib/mysql/mysql_connection.h
+++ b/src/lib/mysql/mysql_connection.h
@@ -246,8 +246,8 @@ public:
MySqlConnection(const ParameterMap& parameters,
IOServiceAccessorPtr io_accessor = IOServiceAccessorPtr(),
DbCallback callback = DbCallback())
- : DatabaseConnection(parameters), io_service_accessor_(io_accessor),
- io_service_(), callback_(callback) {
+ : DatabaseConnection(parameters, callback),
+ io_service_accessor_(io_accessor), io_service_() {
}
/// @brief Destructor
@@ -698,9 +698,6 @@ public:
/// @brief IOService object, used for all ASIO operations.
isc::asiolink::IOServicePtr io_service_;
-
- /// @brief The callback used to recover the connection.
- DbCallback callback_;
};
} // end of isc::db namespace