mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
e14d2b7974
NO_ENGINE_SUBSTITUTION Analysis: When the error is hit, wrong error code is passed in my_error Fix: Pass a better error code.
7 lines
304 B
Text
7 lines
304 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 ER_OPTION_PREVENTS_STATEMENT
|
|
create table t2 (c1 int primary key auto_increment, c2 varchar(10)) engine=memory;
|
|
drop table t1;
|