pt-online-schema-change segfaulting on column named `key`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Triaged
|
Undecided
|
Frank Cizmich |
Bug Description
Altering a table containing a column named the reserved word `key` causes pt-online-
CREATE TABLE some_data(`key` VARCHAR(100) NOT NULL);
# pt-online-
No slaves found. See --recursion-method if host b70dd8590ec1 has slaves.
Not checking slave lag because no slaves were found and --check-slave-lag was not specified.
Operation, tries, wait:
copy_rows, 10, 0.25
create_triggers, 10, 1
drop_triggers, 10, 1
swap_tables, 10, 1
update_
Altering `development`
--alter appears to rename these columns:
key to key1
The tool should handle this correctly, but you should test it first because if it fails the renamed columns' data will be lost! Specify --no-check-alter to disable this check and perform the --alter.
`development`
Segmentation fault (core dumped)
affects: | perconatools → percona-toolkit |
tags: | added: pt-online-schema-change |
Changed in percona-toolkit: | |
status: | New → Triaged |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
Note: Using pt-online- schema- change version 2.2.11 /bugs.launchpad .net/percona- toolkit/ +bug/873598
Similar to: https:/