Bug #12732 | "Incorrect sub part key" - sub part length specified for non-char column in key | ||
---|---|---|---|
Submitted: | 22 Aug 2005 19:14 | Modified: | 23 Aug 2005 7:51 |
Reporter: | Doug Leeper | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S2 (Serious) |
Version: | 1.0.13rc | OS: | Windows (WinXP) |
Assigned to: | CPU Architecture: | Any |
[22 Aug 2005 19:14]
Doug Leeper
[22 Aug 2005 19:59]
Doug Leeper
I downloaded 1.0.10 and the error was still there. I then tried to decipher the error to see what was causing it and it was related to the date/datetime columns. The migration toolkit for some reason decided to do a substring on a date/datetime column for the index part of the create table. When I removed the '(#)' from the date/datetime column in the index script, everything worked fine.
[22 Aug 2005 20:00]
Doug Leeper
Therefore the change would be to the following line: INDEX `nuk_auction_start_time` (`start_time`(7)), should be INDEX `nuk_auction_start_time` (`start_time`),
[23 Aug 2005 7:51]
Michael G. Zinner
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html