Commit 4ee24cb0 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix to CheckPreReserve() while loop, bad loop test.

parent f2e7e6f3
......@@ -3729,9 +3729,7 @@ sub CheckPreReserve($$$)
goto done
if (!$query_result);
while ($query_result->numrows) {
my ($pid,$count,$resname) = $query_result->fetchrow_array();
while (my ($pid,$count,$resname) = $query_result->fetchrow_array()) {
# See if this is fullfulling a specific node reservation request.
# Need to delete that row if so.
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