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
593aec60
Commit
593aec60
authored
Oct 02, 2015
by
Mike Hibler
Browse files
Oops, don't forget to save the state (-S) of the history tables.
parent
d4e1a8f3
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/deletenode.in
View file @
593aec60
...
...
@@ -172,6 +172,15 @@ if ($options{"S"}) {
}
}
}
# We always save the history tables content regardless of -H
while
(
my
(
$table
,
$clist
)
=
each
%history_tables
)
{
foreach
my
$column
(
@$clist
)
{
if
(
system
("
mysqldump
$dumpopts
-w
\"
$column
='
$node
'
\"
tbdb
$table
>>
$savefile
"))
{
print
STDERR
"
*** Failed to save
$table
info for
$node
, aborting
\n
";
exit
(
1
);
}
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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