2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#2909] Removed obsolete upgradeBinaryAddress func

modified:
    src/lib/dhcpsrv/memfile_lease_mgr.cc
    src/lib/dhcpsrv/memfile_lease_mgr.h
    src/lib/dhcpsrv/testutils/concrete_lease_mgr.cc
    src/lib/dhcpsrv/testutils/concrete_lease_mgr.h
This commit is contained in:
Thomas Markwalder
2023-06-21 19:12:11 -04:00
parent 41efd541cf
commit 0c04d7475e
4 changed files with 0 additions and 22 deletions

View File

@@ -3461,11 +3461,6 @@ Memfile_LeaseMgr::buildExtendedInfoTables6Internal(bool update, bool current) {
return (updated); return (updated);
} }
size_t
Memfile_LeaseMgr::upgradeBinaryAddress6(const LeasePageSize& /* page_size */) {
return (0);
}
size_t size_t
Memfile_LeaseMgr::buildExtendedInfoTables6(bool update, bool current) { Memfile_LeaseMgr::buildExtendedInfoTables6(bool update, bool current) {
if (MultiThreadingMgr::instance().getMode()) { if (MultiThreadingMgr::instance().getMode()) {

View File

@@ -1416,14 +1416,6 @@ public:
/// @return The number of updates in the database or 0. /// @return The number of updates in the database or 0.
size_t extractExtendedInfo4(bool update, bool current); size_t extractExtendedInfo4(bool update, bool current);
/// @brief Upgrade binary address (v6).
///
/// @note: this method is a nop for memfile which uses IOAddress objects.
///
/// @param page_size The page size used for retrieval.
/// @return Always return 0 as this function is a noop for not SQL backends.
virtual size_t upgradeBinaryAddress6(const LeasePageSize& page_size) override;
/// @brief Build extended info v6 tables. /// @brief Build extended info v6 tables.
/// ///
/// @param update Update extended info in database. /// @param update Update extended info in database.

View File

@@ -296,11 +296,6 @@ ConcreteLeaseMgr::upgradeExtendedInfo4(const LeasePageSize& /* page_size */) {
return (0); return (0);
} }
size_t
ConcreteLeaseMgr::upgradeBinaryAddress6(const LeasePageSize& /* page_size */) {
return (0);
}
size_t size_t
ConcreteLeaseMgr::buildExtendedInfoTables6(bool /* update */, ConcreteLeaseMgr::buildExtendedInfoTables6(bool /* update */,
bool /* current */) { bool /* current */) {

View File

@@ -381,10 +381,6 @@ public:
virtual size_t virtual size_t
upgradeExtendedInfo4(const LeasePageSize& /* page_size */) override; upgradeExtendedInfo4(const LeasePageSize& /* page_size */) override;
/// @brief Stub implementation.
virtual size_t
upgradeBinaryAddress6(const LeasePageSize& /* page_size */) override;
/// @brief Stub implementation. /// @brief Stub implementation.
virtual size_t buildExtendedInfoTables6(bool /* update */, virtual size_t buildExtendedInfoTables6(bool /* update */,
bool /* current */) override; bool /* current */) override;