Commit 349169c
(MODULES-11802) Downcase charset/collate before normalising
Charset and collation names are case-insensitive in MySQL/MariaDB and the
server always reports them lowercased. Downcase in normalise_utf8 so a user
who supplies an uppercase value (e.g. `UTF8`) also compares in sync with the
lowercase server value, rather than drifting on every run. Adds unit
coverage for uppercase charset/collate input.
Addresses review feedback on PR #1712.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5244dc2 commit 349169c
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
0 commit comments