Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
962a5948
Commit
962a5948
authored
May 17, 2002
by
Leigh B. Stoller
Browse files
Add cleanup of new ipsubnets table.
parent
877f0748
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbend.in
View file @
962a5948
...
...
@@ -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
...
...
tbsetup/tbprerun.in
View file @
962a5948
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment