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