Merge branch '2.2' of https://github.com/ManjotS/percona-toolkit into bug-984057

This commit is contained in:
Carlos Salguero
2016-06-29 17:00:22 -03:00
2 changed files with 235 additions and 14 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