pt-config-diff fails if the mysqld section is in uppercase ([MYSQLD]) and ignores it if there is a [mysqld] section

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:

Environment

None

AFFECTED CS IDs

CS0046797

Activity

Show:

Aaditya Dubey June 7, 2024 at 10:09 AM

Hi

Thank you for the report.
Verified as described.

Details

Assignee

Reporter

Priority

Affects versions

Needs QA

Yes

Smart Checklist

Created May 30, 2024 at 5:44 PM
Updated June 7, 2024 at 10:10 AM