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
7b1472db
Commit
7b1472db
authored
Aug 22, 2003
by
Leigh B. Stoller
Browse files
Fix minor bug wrt batch experiments reported by Eric.
parent
e5c66752
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showexp.php3
View file @
7b1472db
...
...
@@ -52,15 +52,16 @@ if (! TBExptAccessCheck($uid, $exp_pid, $exp_eid, $TB_EXPT_READINFO)) {
# Need some DB info.
#
$query_result
=
DBQueryFatal
(
"select e.idx,e.state,e.batchmode,s.rsrcidx "
.
DBQueryFatal
(
"select e.idx,e.state,e.batchmode,
e.batchstate,
s.rsrcidx "
.
" from experiments as e "
.
"left join experiment_stats as s on s.exptidx=e.idx "
.
"where e.eid='
$eid
' and e.pid='
$pid
'"
);
$row
=
mysql_fetch_array
(
$query_result
);
$expindex
=
$row
[
"idx"
];
$expstate
=
$row
[
"state"
];
$rsrcidx
=
$row
[
"rsrcidx"
];
$isbatch
=
$row
[
"batchmode"
];
$row
=
mysql_fetch_array
(
$query_result
);
$expindex
=
$row
[
"idx"
];
$expstate
=
$row
[
"state"
];
$rsrcidx
=
$row
[
"rsrcidx"
];
$isbatch
=
$row
[
"batchmode"
];
$batchstate
=
$row
[
"batchstate"
];
echo
"<font size=+2>Experiment <b>"
.
"<a href='showproject.php3?pid=
$pid
'>
$pid
</a>/"
.
...
...
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