mariadb/mysql-test/main/enforce_storage_engine_opt.test
2018-03-29 13:59:44 +03:00

7 lines
280 B
Text

SET SQL_MODE="";
create table t1 (c1 int primary key auto_increment, c2 varchar(10)) engine=memory;
show create table t1;
set session sql_mode='no_engine_substitution';
--error 1286
create table t2 (c1 int primary key auto_increment, c2 varchar(10)) engine=memory;
drop table t1;