-Raise nodes at a time in the setNodesAttribs to 999 to account for the re-execute strategy allowing it to be that high

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-11-28 00:52:10 +00:00
parent 613b60aef2
commit 600fae75ef

View File

@ -1543,7 +1543,7 @@ sub setNodesAttribs {
};
@orderedcols = keys %cols; #pick a specific column ordering explicitly to assure consistency
use Data::Dumper;
my $nodesatatime = int(1/(1/999+(scalar @orderedcols)/999)); #the update case statement will consume '?' of which we are allowed 999 in the most restricted DB we support
my $nodesatatime = 999; #the update case statement will consume '?' of which we are allowed 999 in the most restricted DB we support
#ostensibly, we could do 999 at a time for the select statement, and subsequently limit the update aggregation only
#to get fewer sql statements, but the code is probably more complex than most people want to read
#at the moment anyway