Permalink
Browse files

Fix passing attrs to DBI->connect

  • Loading branch information...
autarch committed Apr 1, 2013
1 parent d3ea378 commit ee11ffbca5bca6dbee2974a37fe1a1635c9963bb
Showing with 6 additions and 4 deletions.
  1. +6 −4 lib/Database/Migrator/Core.pm
@@ -236,10 +236,12 @@ sub _build_dbh {
'dbi:' . $driver . ':database=' . $self->database(),
$self->username(),
$self->password(),
- RaiseError => 1,
- PrintError => 1,
- PrintWarn => 1,
- ShowErrorStatement => 1,
+ {
+ RaiseError => 1,
+ PrintError => 1,
+ PrintWarn => 1,
+ ShowErrorStatement => 1,
+ },
);
}

0 comments on commit ee11ffb

Please sign in to comment.