Bug #29182 | MyISAMCHK reports wrong character set | ||
---|---|---|---|
Submitted: | 18 Jun 2007 19:15 | Modified: | 30 Mar 2008 9:43 |
Reporter: | Peter Zaitsev (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1.18 | OS: | Any |
Assigned to: | Ingo Strüwing | CPU Architecture: | Any |
Tags: | qc |
[18 Jun 2007 19:15]
Peter Zaitsev
[18 Jun 2007 23:33]
MySQL Verification Team
Thank you for the bug report.
[23 Jan 2008 18:18]
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/41163 ChangeSet@1.2657, 2008-01-23 19:18:18+01:00, istruewing@stella.local +3 -0 Bug#29182 - MyISAMCHK reports wrong character set myisamchk did always show Character set: latin1_swedish_ci (8), regardless what DEFAULT CHARSET the table had. When the server created a MyISAM table, it did not copy the characterset number into the MyISAM create info structure. Added assignment of charset number to MI_CREATE_INFO.
[23 Jan 2008 18:31]
Ingo Strüwing
The patch can also be applied to 5.0. Please advise.
[24 Jan 2008 11:28]
Sergey Vojtovich
Ok to push.
[24 Jan 2008 17:57]
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/41236 ChangeSet@1.2657, 2008-01-24 18:56:42+01:00, istruewing@stella.local +3 -0 Bug#29182 - MyISAMCHK reports wrong character set myisamchk did always show Character set: latin1_swedish_ci (8), regardless what DEFAULT CHARSET the table had. When the server created a MyISAM table, it did not copy the characterset number into the MyISAM create info structure. Added assignment of charset number to MI_CREATE_INFO.
[25 Jan 2008 12:11]
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/41253 ChangeSet@1.2785, 2008-01-25 13:11:29+01:00, istruewing@stella.local +1 -0 Bug#29182 - MyISAMCHK reports wrong character set Post-merge fix. In 6.0 UTF-8 has a different character set number. In 6.0 UTF-8 characters count as four bytes instaed of three.
[26 Jan 2008 17:08]
Ingo Strüwing
Queued to 6.0-engines, 5.1-engines
[27 Mar 2008 11:17]
Bugs System
Pushed into 5.1.24-rc
[27 Mar 2008 17:48]
Bugs System
Pushed into 6.0.5-alpha
[30 Mar 2008 9:43]
Jon Stephens
Documented in the 5.1.23-ndb-6.3.11, 5.1.24, and 6.0.5 changelogs as follows: myisamchk always reported the character set for a table as latin1_swedish_ci (8) regardless of the table' actual character set.