Commit 6ca9093e authored by Robert Ricci's avatar Robert Ricci

Fix a bug in my last commit.

parent 66a7b035
...@@ -1806,7 +1806,7 @@ sub TBOSCountInstances ($;@) ...@@ -1806,7 +1806,7 @@ sub TBOSCountInstances ($;@)
} }
my $query_result = DBQueryFatal("select distinct p.node_id from partitions " . my $query_result = DBQueryFatal("select distinct p.node_id from partitions " .
"as p left join reserved as r on p.node_id = r.node_id " "as p left join reserved as r on p.node_id = r.node_id " .
"where osid='$osid' and !($nodelist) and r.pid != '$TBOPSPID'"); "where osid='$osid' and !($nodelist) and r.pid != '$TBOPSPID'");
my $current_count = $query_result->num_rows(); my $current_count = $query_result->num_rows();
......
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