mirror of
https://github.com/MariaDB/server.git
synced 2025-02-22 13:23:07 +01:00

Aria supports virtual columns, but does not support indexes on virtual columns. Let's issue an appropriate error in this case.
3 lines
151 B
Text
3 lines
151 B
Text
--source include/have_maria.inc
|
|
--error ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN
|
|
create table t1 (a int, b int as (a+1), c int, index(b)) engine=aria;
|