mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-19 00:43:58 +00:00
Cxn.pm: Set NAME_lc by default
This commit is contained in:
@@ -103,7 +103,7 @@ sub new {
|
||||
dsn_name => $dp->as_string($dsn, [qw(h P S)]),
|
||||
hostname => '',
|
||||
set => $args{set},
|
||||
NAME_lc => $args{NAME_lc},
|
||||
NAME_lc => defined($args{NAME_lc}) ? $args{NAME_lc} : 1,
|
||||
dbh_set => 0,
|
||||
OptionParser => $o,
|
||||
DSNParser => $dp,
|
||||
|
@@ -114,7 +114,7 @@ my ($row) = $cxn->dbh()->selectrow_hashref('SHOW MASTER STATUS');
|
||||
ok(
|
||||
exists $row->{binlog_ignore_db},
|
||||
"FetchHashKeyName = NAME_lc",
|
||||
);
|
||||
) or diag(Dumper($row));
|
||||
|
||||
test_var_val(
|
||||
$cxn->dbh(),
|
||||
@@ -163,7 +163,7 @@ $cxn->connect();
|
||||
ok(
|
||||
exists $row->{binlog_ignore_db},
|
||||
"Reconnect FetchHashKeyName = NAME_lc",
|
||||
);
|
||||
) or diag(Dumper($row));
|
||||
|
||||
test_var_val(
|
||||
$cxn->dbh(),
|
||||
|
Reference in New Issue
Block a user