mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Aria supports virtual columns, but does not support indexes on virtual columns. Let's issue an appropriate error in this case.
4 lines
151 B
Plaintext
4 lines
151 B
Plaintext
--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;
|