Commit 6104a44c authored by Mac Newbold's avatar Mac Newbold

No vname in next_reserve. Doh!

parent b20a89af
......@@ -100,8 +100,8 @@ foreach my $node (@nodes) {
"pid='$pid' and eid='$eid'");
if ( ($sth->num_rows()) < 1) {
print "Reserved - Scheduling next reservation...\n";
$sth = DBQueryFatal("replace into next_reserve (node_id,pid,eid,vname) ".
"values ('$pc','$pid','$eid','$pc')");
$sth = DBQueryFatal("replace into next_reserve (node_id,pid,eid) ".
"values ('$pc','$pid','$eid')");
} else {
print "Reserved - Already reserved to $pid/$eid\n";
}
......
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