Autocommit for DBI

This commit is contained in:
Xavier Guimard 2010-09-17 09:28:26 +00:00
parent 35385562ec
commit 65b51d7c60

View File

@ -56,7 +56,7 @@ sub _dbh {
return $self->{_dbh} if ( $self->{_dbh} and $self->{_dbh}->ping );
return DBI->connect_cached(
$self->{dbiChain}, $self->{dbiUser},
$self->{dbiPassword}, { RaiseError => 1 }
$self->{dbiPassword}, { RaiseError => 1, AutoCommit => 1, }
);
}