revert change to Table.pm per defect 3138015 causes error everytime we start xcatd on DB2

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-12-15 18:28:10 +00:00
parent d91215c378
commit a12eb132de

View File

@ -687,11 +687,11 @@ sub new
my $create = 1;
if (exists($otherargs{'-create'}) && ($otherargs{'-create'}==0)) {$create = 0;}
$self->{autocommit} = $otherargs{'-autocommit'};
$self->{realautocommit} = $self->{autocommit}; #Assume we let the DB do the work, i.e. the autocommit is either not used or is not emulated by Table.pm
unless (defined($self->{autocommit}))
{
$self->{autocommit} = 1;
}
$self->{realautocommit} = $self->{autocommit}; #Assume we let the DB do the work, i.e. the autocommit is either not used or is not emulated by Table.pm
my $class = ref($proto) || $proto;
if ($dbworkerpid) {
my $request = {