mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +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:
@@ -3461,11 +3461,6 @@ Memfile_LeaseMgr::buildExtendedInfoTables6Internal(bool update, bool current) {
|
||||
return (updated);
|
||||
}
|
||||
|
||||
size_t
|
||||
Memfile_LeaseMgr::upgradeBinaryAddress6(const LeasePageSize& /* page_size */) {
|
||||
return (0);
|
||||
}
|
||||
|
||||
size_t
|
||||
Memfile_LeaseMgr::buildExtendedInfoTables6(bool update, bool current) {
|
||||
if (MultiThreadingMgr::instance().getMode()) {
|
||||
|
@@ -1416,14 +1416,6 @@ public:
|
||||
/// @return The number of updates in the database or 0.
|
||||
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.
|
||||
///
|
||||
/// @param update Update extended info in database.
|
||||
|
@@ -296,11 +296,6 @@ ConcreteLeaseMgr::upgradeExtendedInfo4(const LeasePageSize& /* page_size */) {
|
||||
return (0);
|
||||
}
|
||||
|
||||
size_t
|
||||
ConcreteLeaseMgr::upgradeBinaryAddress6(const LeasePageSize& /* page_size */) {
|
||||
return (0);
|
||||
}
|
||||
|
||||
size_t
|
||||
ConcreteLeaseMgr::buildExtendedInfoTables6(bool /* update */,
|
||||
bool /* current */) {
|
||||
|
@@ -381,10 +381,6 @@ public:
|
||||
virtual size_t
|
||||
upgradeExtendedInfo4(const LeasePageSize& /* page_size */) override;
|
||||
|
||||
/// @brief Stub implementation.
|
||||
virtual size_t
|
||||
upgradeBinaryAddress6(const LeasePageSize& /* page_size */) override;
|
||||
|
||||
/// @brief Stub implementation.
|
||||
virtual size_t buildExtendedInfoTables6(bool /* update */,
|
||||
bool /* current */) override;
|
||||
|
Reference in New Issue
Block a user