mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-16 03:10:36 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user