fix for defect 3168861
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
fb9ce3ab30
commit
16b8111ea2
@ -843,9 +843,10 @@ sub new
|
||||
buildcreatestmt($self->{tabname},
|
||||
$xCAT::Schema::tabspec{$self->{tabname}},
|
||||
$xcatcfg);
|
||||
$self->{dbh}->do($str);
|
||||
$self->{dbh}->commit; # commit the create
|
||||
|
||||
$self->{dbh}->do($str);
|
||||
if (!$self->{dbh}->{AutoCommit}) {
|
||||
$self->{dbh}->commit; # commit the create
|
||||
}
|
||||
|
||||
}
|
||||
} # end Generic DBI
|
||||
|
Loading…
Reference in New Issue
Block a user