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
5641fc1a
Commit
5641fc1a
authored
Jul 09, 2003
by
Leigh B. Stoller
Browse files
Hmm, thought I checked this in yesterday ... fix up a ron/all query.
parent
22798878
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/index.php3
View file @
5641fc1a
...
...
@@ -17,8 +17,9 @@ $query_result =
DBQueryFatal
(
"select count(*) from experiments as e "
.
"left join experiment_stats as s on s.exptidx=e.idx "
.
"left join experiment_resources as rs on rs.idx=s.rsrcidx "
.
"where state='active' and rs.pnodes > 0 and "
.
" e.pid!='emulab-ops' and (e.pid!='ron' and e.eid!='all')"
);
"where state='active' and rs.pnodes>0 and "
.
" e.pid!='emulab-ops' and "
.
" not (e.pid='ron' and e.eid='all')"
);
if
(
mysql_num_rows
(
$query_result
)
!=
1
)
{
$active_expts
=
"ERR"
;
...
...
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