[MDEV-30087] Prefix UNIQUE HASH raises unexpected Specified key part was too long Created: 2022-11-24 Updated: 2022-11-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.11, 11.0 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Nikita Malyavin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Unique hash keys work fine on the entire LONGTEXT column:
However, if I create an Unique hash key using a long prefix, it fails with an error:
The above error looks wrong. |