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
b4c12259
Commit
b4c12259
authored
Nov 14, 2012
by
Leigh B Stoller
Browse files
Minor bug fix; do not include non-shared VMs.
parent
950dc3ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showpool.php
View file @
b4c12259
...
...
@@ -78,8 +78,10 @@ while ($row = mysql_fetch_array($query_result)) {
$query_result
=
DBQueryFatal
(
"select r.node_id from reserved as r "
.
"left join nodes as n on n.node_id=r.node_id "
.
"left join reserved as r2 on r2.node_id=n.phys_nodeid "
.
"where n.node_id!=n.phys_nodeid and "
.
" r.sharing_mode is not null "
);
" r.sharing_mode is not null and "
.
" r2.pid='
$pid
' and r2.eid='
$eid
'"
);
while
(
$row
=
mysql_fetch_array
(
$query_result
))
{
$node_id
=
$row
[
"node_id"
];
...
...
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