mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#2869] Finished delete cascade
This commit is contained in:
@@ -3525,9 +3525,7 @@ MySqlLeaseMgr::deleteLease(const Lease6Ptr& lease) {
|
||||
// Check success case first as it is the most likely outcome.
|
||||
if (affected_rows == 1) {
|
||||
// Delete references from extended info tables.
|
||||
if (getExtendedInfoTablesEnabled()) {
|
||||
deleteExtendedInfo6(lease->addr_);
|
||||
}
|
||||
// Performed by the delete cascade.
|
||||
|
||||
// Run installed callbacks.
|
||||
if (hasCallbacks()) {
|
||||
|
Reference in New Issue
Block a user