Added changes suggested by mbenshoof, michaeldg

- Fixed issue with dry run and preserve triggers
- Fixed issue with trim multiline
- Changed DSNParser in lib
This commit is contained in:
Manjot Singh
2016-06-28 12:33:44 -07:00
parent 5642cc4fd0
commit a564cc7bc8
2 changed files with 5 additions and 2 deletions

View File

@@ -276,6 +276,7 @@ sub get_dbh {
PrintError => 0,
ShowErrorStatement => 1,
mysql_enable_utf8 => ($cxn_string =~ m/charset=utf8/i ? 1 : 0),
mysql_multi_statements => 1,
};
@{$defaults}{ keys %$opts } = values %$opts;
if (delete $defaults->{L}) { # L for LOAD DATA LOCAL INFILE, our own extension