2
0
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:
Francis Dupont
2023-07-06 23:04:23 +02:00
parent 122223650a
commit 47693d30ea
8 changed files with 92 additions and 10 deletions

View File

@@ -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()) {