pt-config-diff fails if the mysqld section is in uppercase ([MYSQLD]) and ignores it if there is a [mysqld] section
General
Escalation
General
Escalation
Description
pt-config-diff compares mysqld options, but it fails if the [mysqld] section is in uppercase, even though that is a valid way of setting mysqld variables. Since [MYSQLD] is acceptable for MySQL, pt-config-diff should compare the options under that section.
Steps to reproduce:
Create two configuration files with only a [MYSQLD] section and compare them with pt-config-diff:
If both files have a [mysqld] section, the tool doesn't fail but doesn't compare the values under `[MYSQLD]`. For example:
pt-config-diff
compares mysqld options, but it fails if the[mysqld]
section is in uppercase, even though that is a valid way of settingmysqld
variables. Since[MYSQLD]
is acceptable for MySQL,pt-config-diff
should compare the options under that section.Steps to reproduce:
Create two configuration files with only a
[MYSQLD]
section and compare them withpt-config-diff
:If both files have a
[mysqld]
section, the tool doesn't fail but doesn't compare the values under `[MYSQLD]`. For example: