Tools can't parse index names containing newlines
Bug #1093972 reported by
Jervin R
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Support a table definition t:
CREATE TABLE `t` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`c` char(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_with_
newline` (`c`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
Running pt-table-checksum produces:
[revin@forge rsandbox_5_5_270]$ pt-table-checksum --replicate=
Use of uninitialized value $cols in pattern match (m//) at /home/revin/
[revin@forge rsandbox_5_5_270]$ pt-table-checksum --version
pt-table-checksum 2.1.7
To post a comment you must log in.
The customer for whom this issue arose fixed the problem on their side by renaming the index. Index names with newlines are very rare imo, so it's not something we're going to fix soon. Maybe it can be fixed for 3.0.