Skip to content
GitLab
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
7debf737
Commit
7debf737
authored
Nov 30, 2001
by
Leigh B. Stoller
Browse files
Minor fix to SetExpState; Noticed in testsuite that setting the state
to its current value returns an error.
parent
6ce76216
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/libdb.pm.in
View file @
7debf737
...
...
@@ -744,8 +744,7 @@ sub SetExpState($$$)
DBQueryWarn
(
"update experiments set state='$state' "
.
"where eid='$eid' and pid='$pid'"
);
if
(
! $query_result ||
$
query_result
->
numrows
==
0
)
{
if
(
! $query_result) {
return
0
;
}
return
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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