Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.11.2
-
None
-
Ubuntu
Description
When I alter table from innodb engine to Aria engine, it does not allow the indexes on the virtual columns. I am also unable to add them directly on aria engine with alter table command.
ALTER TABLE `cases` ADD INDEX(`rthirdref`); |
gives:
#1904 - Key/Index cannot be defined on a virtual generated column
`rthirdref` varchar(50) GENERATED ALWAYS AS (reverse(`thirdref`)) VIRTUAL, |
InnoDB engine works fine.
Attachments
Issue Links
- duplicates
-
MDEV-18812 Add support for generated indexed virtual columns to aria
- Open
- relates to
-
MDEV-5800 indexes on virtual (not materialized) columns
- Closed