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