Commit 962a5948 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add cleanup of new ipsubnets table.

parent 877f0748
......@@ -91,6 +91,8 @@ DBQueryWarn("DELETE from nseconfigs where pid='$pid' and eid='$eid'") or
$errors++;
DBQueryWarn("DELETE from eventlist where pid='$pid' and eid='$eid'") or
$errors++;
DBQueryWarn("DELETE from ipsubnets where pid='$pid' and eid='$eid'") or
$errors++;
if ($errors == 0) {
SetExpState($pid, $eid, EXPTSTATE_TERMINATED) or
......
......@@ -86,6 +86,7 @@ sub cleanup {
DBQueryWarn("DELETE from virt_routes where pid='$pid' and eid='$eid'");
DBQueryWarn("DELETE from nseconfigs where pid='$pid' and eid='$eid'");
DBQueryWarn("DELETE from eventlist where pid='$pid' and eid='$eid'");
DBQueryWarn("DELETE from ipsubnets where pid='$pid' and eid='$eid'");
SetExpState($pid, $eid, EXPTSTATE_NEW);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment