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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.