Quoter (de)serialize UTF8 data fails on CentOS 5.6
Bug #932327 reported by
Daniel Nichter
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Invalid
|
Medium
|
Brian Fraser |
Bug Description
CentOS 5.6, Perl 5.8.8:
not ok 46 - Serialize [ニ\,è,a]
# Failed test 'Serialize [ニ\,è,a]
# in lib/Quoter.t at line 197.
# Structures begin differing at:
# $got->[0] = 'ã\,è,a'
# $expected->[0] = 'ニ\,è,a'
That's the test with UTF8 data. Maybe it's a false-positive due to how Perl 5.8 or CentOS 5.6 handles UTF8, but in any case the test is failing.
Related branches
lp:~percona-toolkit-dev/percona-toolkit/possible-fix-925781-932327
On hold
for merging
into
lp:percona-toolkit/2.1
- Percona Toolkit developers: Pending requested
-
Diff: 285 lines (+92/-67)5 files modifiedbin/pt-table-checksum (+15/-8)
lib/Quoter.pm (+18/-13)
lib/Sandbox.pm (+3/-3)
lib/TableChunker.pm (+2/-27)
t/lib/Quoter.t (+54/-16)
tags: | added: charset |
Changed in percona-toolkit: | |
status: | New → Confirmed |
milestone: | none → 2.0.4 |
tags: | added: all-tools |
Changed in percona-toolkit: | |
status: | Confirmed → In Progress |
tags: | removed: utf8 |
To post a comment you must log in.
DBD::mysql 3.0007
DBI 1.52