mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Updated modules for bin/pt-config-diff
This commit is contained in:
@@ -2135,7 +2135,7 @@ sub parse_option_file {
|
|||||||
|
|
||||||
my ($config, $dupes) = _parse_varvals(
|
my ($config, $dupes) = _parse_varvals(
|
||||||
map { $_ =~ m/^([^=]+)(?:=(.*))?$/ }
|
map { $_ =~ m/^([^=]+)(?:=(.*))?$/ }
|
||||||
grep { $_ !~ m/^\s*#/ } # no # comment lines
|
grep { $_ !~ m/^\s*[#;]/ } # no # comment lines
|
||||||
split("\n", $mysqld_section)
|
split("\n", $mysqld_section)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user