mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-17 17:27:57 +00:00
PT-2014 - pt-config-diff does not honor case insensitivity flag
- Fixed the proposed fix - Fixed proposed configuration files - Added test case
This commit is contained in:
@@ -294,7 +294,7 @@ sub _normalize_value {
|
||||
my ($val, $is_dir, $base_path) = @args{qw(value is_directory base_path)};
|
||||
|
||||
$val = defined $val ? $val : '';
|
||||
$val = $alt_val_for{lc($val)} if exists $alt_val_for{lc($val)};
|
||||
$val = $alt_val_for{uc($val)} if exists $alt_val_for{uc($val)};
|
||||
|
||||
if ( $val ) {
|
||||
if ( $is_dir ) {
|
||||
|
Reference in New Issue
Block a user