for all databases commit immediately after table create

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-03-02 18:09:09 +00:00
parent 6b3dd02194
commit bd065d13c1

View File

@ -822,9 +822,7 @@ sub new
$xCAT::Schema::tabspec{$self->{tabname}},
$xcatcfg);
$self->{dbh}->do($str);
if ($xcatcfg =~ /^DB2:/) { # for DB2
$self->{dbh}->commit; # commit the create
}
}