Bug #27562 | ascii.xml invalid? | ||
---|---|---|---|
Submitted: | 31 Mar 2007 13:22 | Modified: | 25 Aug 2007 16:23 |
Reporter: | Masahiro Tomita | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Charsets | Severity: | S3 (Non-critical) |
Version: | 5.0.40-BK, 5.0.37 | OS: | Linux (Linux) |
Assigned to: | Chad MILLER | CPU Architecture: | Any |
Tags: | Contribution |
[31 Mar 2007 13:22]
Masahiro Tomita
[31 Mar 2007 18:05]
Valeriy Kravchuk
Thank you for a bug report and contributed patch. Verified just as described with latest 5.0.40-BK.
[6 Aug 2007 12:24]
Chad MILLER
Hrm. I'd think this is at least P2. I'm talking it since it has a contributed patch.
[6 Aug 2007 14:40]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32144 ChangeSet@1.2500, 2007-08-06 10:37:35-04:00, cmiller@zippy.cornsilk.net +3 -0 Bug#27562: ascii.xml invalid? Two character mappings were way off (backtick and tilde were "E" and "Y"!), and three others were slightly rotated. The first would cause collisions, and the latter was probably benign. Now, assign the character mappings exactly to their normal values.
[7 Aug 2007 7:04]
Alexander Barkov
Chad, the patch for ascii.xml is ok. However, you also need to do the following: cd strings ./conf_to_src ../sql/share/charsets/ >ctype-extra.c Then make sure that it has changed according to ascii.xml changes: bk diffs ctype-extra.c and commit it together with ascii.xml
[7 Aug 2007 7:09]
Alexander Barkov
Also, the test looks where huge. I suggest the following: # Create a table with an ASCII column CREATE TABLE t1 (a char(1) character set ascii); # Populate the table with all values 0x00..0xFF INSERT INTO t1 VALUES (0x00), (0x01), (0x02),..., (0xFF); # Join the table to itself to find characters equal to each other: SELECT t11.a, t12.a FROM t1 as t11, t2 as t22 WHERE t11.a=t12.a ORDER BY BINARY t11.a, BINARY t12.a;
[7 Aug 2007 9:37]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32186 ChangeSet@1.2500, 2007-08-07 05:35:20-04:00, cmiller@zippy.cornsilk.net +4 -0 Bug#27562: ascii.xml invalid? Two character mappings were way off (backtick and tilde were "E" and "Y"!), and three others were slightly rotated. The first would cause collisions, and the latter was probably benign. Now, assign the character mappings exactly to their normal values.
[7 Aug 2007 10:27]
Alexander Barkov
The patch http://lists.mysql.com/commits/32186 is ok to push.
[20 Aug 2007 10:05]
Bugs System
Pushed into 5.0.48
[20 Aug 2007 10:20]
Bugs System
Pushed into 5.1.22-beta
[25 Aug 2007 16:23]
Paul DuBois
Noted in 5.0.48, 5.1.22 changelogs. Some character mappings in the ascii.xml file were incorrect.
[31 Aug 2007 16:59]
Paul DuBois
This was pushed to 5.1.23, not 5.1.22.