Bug #75802 | mysql cmdline behave different then jdbc app with regards to InnoDB max key | ||
---|---|---|---|
Submitted: | 5 Feb 2015 17:33 | Modified: | 13 Feb 2015 8:19 |
Reporter: | Achim Reckeweg | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1.34 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[5 Feb 2015 17:33]
Achim Reckeweg
[13 Feb 2015 8:19]
Alexander Soklakov
Hi Achim, Thanks for the report. This is a duplicate of Bug#6604 and neither a c/J nor server bug, but a well-known InnoDB limitation. Please refer http://dev.mysql.com/doc/refman/5.7/en/create-index.html: "Prefix support and lengths of prefixes (where supported) are storage engine dependent. For example, a prefix can be up to 767 bytes long for InnoDB tables or 3072 bytes if the innodb_large_prefix option is enabled. For MyISAM tables, the prefix limit is 1000 bytes."