SET @@session.default_storage_engine = 'memory'; create table t1 (a int, b int as (a+1)); ERROR HY000: MEMORY 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: MEMORY storage engine does not support generated columns drop table t1;