Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.11, 11.0(EOL)
-
None
Description
Unique hash keys work fine on the entire LONGTEXT column:
CREATE OR REPLACE TABLE t3 (a LONGTEXT CHARACTER SET utf8, UNIQUE KEY(a) USING HASH); |
However, if I create an Unique hash key using a long prefix, it fails with an error:
CREATE OR REPLACE TABLE t3 (a LONGTEXT CHARACTER SET utf8, UNIQUE KEY(a(35000)) USING HASH); |
ERROR 4159 (42000): Specified key part was too long; max key part length is 65535 bytes
|
The above error looks wrong.
Attachments
Issue Links
- relates to
-
MDEV-371 Unique indexes for blobs
- Closed