Bug #17530 | Bug in non-UNIQUE index column truncation | ||
---|---|---|---|
Submitted: | 17 Feb 2006 14:50 | Modified: | 27 Feb 2006 20:53 |
Reporter: | SINISA MILIVOJEVIC | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.18 | OS: | Any (Any) |
Assigned to: | Evgeny Potemkin | CPU Architecture: | Any |
[17 Feb 2006 14:50]
SINISA MILIVOJEVIC
[21 Feb 2006 15:09]
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/2979
[24 Feb 2006 13:02]
Evgeny Potemkin
When a too long field is used for a key, only a prefix part of the field is used. Length is reduced to the max key length allowed for storage. But if the field have a multibyte charset it is possible to break multibyte char sequence. This leads to the failed assertion in the innodb code and server crash when a record is inserted. Fixed in 5.0.19, cset 1.2063.1.3
[25 Feb 2006 19:17]
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/3143
[25 Feb 2006 22:09]
Trudy Pelzer
Patch also added to 5.1.7.
[27 Feb 2006 20:53]
Mike Hillyer
Documented in 5.0.19 and 5.1.7 changelogs: <listitem> <para> Data truncations on non-UNIQUE indexes could crash InnoDB when using multi-byte character sets. (Bug #17530) </para> </listitem>