fixed commit error for table creation on SQLite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
69a867251e
commit
3707ec41b5
@ -622,7 +622,9 @@ sub new
|
||||
$xCAT::Schema::tabspec{$self->{tabname}},
|
||||
$xcatcfg);
|
||||
$self->{dbh}->do($str);
|
||||
$self->{dbh}->commit;
|
||||
if (!$self->{dbh}->{AutoCommit}) {
|
||||
$self->{dbh}->commit;
|
||||
}
|
||||
}
|
||||
else { return undef; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user