[MDEV-21057] CREATE UNIQUE INDEX USING HASH malfunctions for engine=Aria table Created: 2019-11-14  Updated: 2020-08-22  Resolved: 2019-11-15

Status: Closed
Project: MariaDB Server
Component/s: N/A
Affects Version/s: 10.4.11
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Manuel Rigger Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Ubuntu 19.04


Issue Links:
Duplicate
duplicates MDEV-18791 Wrong error upon creating Aria table ... Closed
Relates

 Description   

On a recent trunk version (0308de9), the creation of the following index seems to malfunction:

CREATE TABLE t0(c0 INT) engine=Aria;
CREATE UNIQUE INDEX i0 USING HASH ON t0(c0); -- Key/Index cannot be defined on a virtual generated column

This error is not triggered if the index is not unique, or when "USING HASH" is not used. The error seems unexpected, because from a user perspective, no virtual generated column is involved.


Generated at Thu Feb 08 09:04:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.