Skip to content

Commit

Permalink
Issue #434: actually pass the connection params.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Sep 14, 2020
1 parent a6d630e commit d5c0e9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Kernel/System/DB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ sub Connect {
if ( $DBIxConnectorIsUsed ) {

# The defaults for the attributes RaiseError and AutoInactiveDestroy differ between DBI
# and DBIx::Connector. For DBI they are off per default, but for DBIx::Connector there on per default.
# RaiseError: expllicitly turn it off as this was the previous setup in OTOBO.
# and DBIx::Connector. For DBI they are off per default, but for DBIx::Connector they on per default.
# RaiseError: explicitly turn it off as this was the previous setup in OTOBO.
# This is OK as the the methods run(), txn(), and svp() are not used in OTOBO.
# AutoInactiveDestroy: Concerns only behavior on forks and such.
# Keep it activated as it is important for DBIx::Connector.
Expand All @@ -247,6 +247,7 @@ sub Connect {
$Self->{DSN},
$Self->{USER},
$Self->{PW},
\%ConnectAttributes,
);

# this method reuses an existing connection that is still pinging
Expand Down

0 comments on commit d5c0e9f

Please sign in to comment.