Commit 5641fc1a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Hmm, thought I checked this in yesterday ... fix up a ron/all query.

parent 22798878
...@@ -17,8 +17,9 @@ $query_result = ...@@ -17,8 +17,9 @@ $query_result =
DBQueryFatal("select count(*) from experiments as e " . DBQueryFatal("select count(*) from experiments as e " .
"left join experiment_stats as s on s.exptidx=e.idx " . "left join experiment_stats as s on s.exptidx=e.idx " .
"left join experiment_resources as rs on rs.idx=s.rsrcidx ". "left join experiment_resources as rs on rs.idx=s.rsrcidx ".
"where state='active' and rs.pnodes > 0 and " . "where state='active' and rs.pnodes>0 and " .
" e.pid!='emulab-ops' and (e.pid!='ron' and e.eid!='all')"); " e.pid!='emulab-ops' and ".
" not (e.pid='ron' and e.eid='all')");
if (mysql_num_rows($query_result) != 1) { if (mysql_num_rows($query_result) != 1) {
$active_expts = "ERR"; $active_expts = "ERR";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment