summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/pgsql_lease_mgr.h
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2023-10-18 17:30:33 +0200
committerRazvan Becheriu <razvan@isc.org>2023-12-14 07:01:42 +0100
commitd781e915cd9da2f40bc6e919fc71611b2d145bb7 (patch)
tree3ddf5aa6a260442bd5fd88736b7df97d34a57d36 /src/lib/dhcpsrv/pgsql_lease_mgr.h
parent[#3107] use const& whenever possible (diff)
downloadkea-d781e915cd9da2f40bc6e919fc71611b2d145bb7.tar.xz
kea-d781e915cd9da2f40bc6e919fc71611b2d145bb7.zip
[#3019] retry db open on startup
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r--src/lib/dhcpsrv/pgsql_lease_mgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h
index feac211fff..c7525a27d7 100644
--- a/src/lib/dhcpsrv/pgsql_lease_mgr.h
+++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h
@@ -665,12 +665,13 @@ public:
/// @brief Returns backend version.
///
+ /// @param timer_name The DB reconnect timer name.
/// @return Version number as a pair of unsigned integers. "first" is the
/// major version number, "second" the minor number.
///
/// @throw isc::db::DbOperationError An operation on the open database has
/// failed.
- virtual std::pair<uint32_t, uint32_t> getVersion() const override;
+ virtual std::pair<uint32_t, uint32_t> getVersion(const std::string& timer_name = "") const override;
/// @brief Commit Transactions
///