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

Remove usage of deprecated variable storage_engine. It was deprecated in 5.5 but it never issued a deprecation warning. Make it issue a warning in 10.5.1. Replaced with default_storage_engine.
7 lines
330 B
Text
7 lines
330 B
Text
SET @@session.default_storage_engine = 'blackhole';
|
|
create table t1 (a int, b int as (a+1));
|
|
ERROR HY000: BLACKHOLE storage engine does not support generated columns
|
|
create table t1 (a int not null);
|
|
alter table t1 add column b int as (a+1);
|
|
ERROR HY000: BLACKHOLE storage engine does not support generated columns
|
|
drop table t1;
|