Autocommit for DBI
This commit is contained in:
parent
35385562ec
commit
65b51d7c60
|
@ -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, }
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user