pt-table-sync enum values are not properly quoted

Bug #1610388 reported by Carlos Salguero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Undecided
Unassigned

Bug Description

My particular use case is that I have an enum value "0x0" which gets caught up in the hexadecimal check in https://github.com/percona/percona-toolkit/blob/2.2/bin/pt-table-sync#L1895 . When this occurs, pt-table-sync treats the value as a hexadecimal value and bombs out when I get a "Data truncated for column" mysql error on insert/update.

Changed in percona-toolkit:
status: New → Fix Committed
milestone: none → 2.2.19
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-1381

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.