summaryrefslogtreecommitdiffstats
path: root/src/lib/mysql
diff options
context:
space:
mode:
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