pt-online-schema-change wrongly thinks columns are trying to be renamed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Carlos Salguero |
Bug Description
When the word 'change' appears in a COMMENT string, pt-online-
$ pt-online-
Enter MySQL password:
No slaves found. See --recursion-method if host tbox-0-
Not checking slave lag because no slaves were found and --check-slave-lag was not specified.
Operation, tries, wait:
analyze_table, 10, 1
copy_rows, 10, 0.25
create_triggers, 10, 1
drop_triggers, 10, 1
swap_tables, 10, 1
update_
Not updating foreign keys because --alter-
Altering `foo`.`bar`...
--alter appears to rename these columns:
plus to more
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.
`foo`.`bar` was not altered.
--check-alter failed.
$ pt-online-
pt-online-
# mysqld --version
mysqld Ver 5.5.36-34.2-4 for debian-linux-gnu on x86_64 ((Debian))
$ cat /etc/debian_version
6.0.8
$ uname -a
Linux rubik 2.6.32-5-amd64 #1 SMP Mon Sep 23 22:14:43 UTC 2013 x86_64 GNU/Linux
tags: | added: pt126 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Thank you for the report.
Verified as described with versions 2.2.20 and 3.0.2