Commit 19b508c5 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Revert query that got optimized wrongly.

parent c094a39f
......@@ -3046,8 +3046,8 @@ COMMAND_PROTOTYPE(dovnodelist)
char buf[MYBUFSIZE];
int nrows;
res = mydb_query("select r.node_id,n.jailflag from nodes as n "
"left join reserved as r on r.node_id=n.node_id "
res = mydb_query("select r.node_id,n.jailflag from reserved as r "
"left join nodes as n on r.node_id=n.node_id "
"left join node_types as nt on nt.type=n.type "
"where nt.isvirtnode=1 and n.phys_nodeid='%s'",
2, reqp->nodeid);
......
Markdown is supported
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