Files
percona-toolkit/t/lib
Hartley McGuire 47f7638d60 PT-2015 Fix pt-config-diff not sorting flags
Previously, flags would be compared in the exact order they are output
by MySQL, which can result in false negatives if the input ordering does
not match.

Example from the ticket:

```
[root@avvr-dbm51 ~]# pt-config-diff /etc/my.cnf h=localhost,P=3047
1 config difference
Variable                  /etc/my.cnf  avvr-dbm51
========================= ============ ============
myisam_recover_options    FORCE,BACKUP BACKUP,FORCE
```

This commit fixes the issue by sorting the flags before comparison to
ensure that any ordering differences will not report a diff.

Co-authored-by: Jonathan Gnagy <jonathan@therubyist.org>
2025-08-27 16:12:27 +00:00
..
2024-09-06 13:08:45 +03:00
2013-02-19 13:04:18 -07:00
2024-07-25 19:03:33 +03:00
2024-10-04 19:02:07 +03:00
2013-03-13 12:21:14 -03:00
2024-07-26 13:31:22 +03:00
2024-07-25 19:03:33 +03:00
2024-07-27 01:59:52 +03:00
2024-07-25 19:03:33 +03:00
2024-07-27 01:59:52 +03:00
2024-07-25 19:03:33 +03:00
2024-07-27 01:59:52 +03:00
2024-07-25 19:03:33 +03:00
2024-11-14 22:48:06 +03:00
2024-07-27 01:59:52 +03:00
2024-07-27 01:59:52 +03:00
2024-07-27 01:59:52 +03:00
2024-07-27 01:59:52 +03:00
2024-07-27 01:59:52 +03:00
2013-01-18 17:44:07 -07:00
2024-07-27 01:59:52 +03:00
2013-08-03 12:11:56 -07:00
2024-07-27 01:59:52 +03:00
2024-07-26 13:31:22 +03:00
2024-07-27 01:59:52 +03:00
2024-07-25 19:03:33 +03:00
2024-07-27 01:59:52 +03:00
2017-03-09 17:14:37 -03:00
2024-09-06 16:10:36 +03:00
2016-07-20 15:53:59 -03:00
2024-07-25 19:03:33 +03:00
2024-07-27 01:59:52 +03:00
2024-07-27 01:59:52 +03:00
2024-08-25 04:36:37 +03:00
2024-07-25 19:03:33 +03:00
2024-07-26 13:31:22 +03:00
2024-07-25 19:03:33 +03:00
2024-07-25 19:03:33 +03:00
2024-07-27 01:59:52 +03:00
2024-07-27 01:59:52 +03:00
2024-07-25 19:03:33 +03:00