Bug #20374 | Creating unique key failed | ||
---|---|---|---|
Submitted: | 10 Jun 2006 12:23 | Modified: | 12 Jun 2006 7:35 |
Reporter: | Andre Timmer | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.18 | OS: | |
Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[10 Jun 2006 12:23]
Andre Timmer
[11 Jun 2006 3:13]
Heikki Tuuri
Andre, are you using the UTF-8 charset? Then every character takes up to 3 bytes. Regards, Heikki
[12 Jun 2006 7:22]
Andre Timmer
Yes we use UTF-8. 3 x 400 + length integer = 1204 still not 767.
[12 Jun 2006 7:22]
Andre Timmer
Yes we use UTF-8. 3 x 400 + length integer = 1204 still not 767.
[12 Jun 2006 7:31]
Heikki Tuuri
Andre, this is the problem in UTF-8: keys become long. I am marking this as 'Not a bug'. Regards, Heikki
[12 Jun 2006 7:35]
Andre Timmer
I agree. The text however could be improved upon would have saved us both some time.