Issue Details (XML | Word | Printable)

Key: FX-925
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Daniel Lichtenberger
Reporter: Daniel Lichtenberger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
[fleXive]

MySQL: database setup fails on Ubuntu 10.04 (Specified key was too long)

Created: 08/Jul/10 12:05 PM   Updated: 13/Jul/10 08:22 AM   Resolved: 13/Jul/10 08:22 AM
Component/s: Core:Persistence
Affects Version/s: 3.1.3
Fix Version/s: 3.1.4

Time Tracking:
Not Specified


 Description  « Hide
     [java] CREATE INDEX FXI_CD_ASS_FTEXT1024  ON FX_CONTENT_DATA(ASSIGN,FTEXT1024)
     [java] Error setting up division: Specified key was too long; max key length is 1000 bytes


Daniel Lichtenberger added a comment - 13/Jul/10 08:22 AM

I was unable to reproduce this on other installations. A complete reinstall of MySQL fixed the problem, apparently something went wrong during the upgrade. It seems that MySQL applied the 1000 bytes restriction on the whole composite key, while InnoDB apparently allows longer keys (as long as the individual parts stay below 768 bytes).