1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Give warning if MySQL doesn't honor given storage engine

Allow syntax CREATE TABLE t1 (LIKE t2)
This commit is contained in:
monty@mashka.mysql.fi
2003-05-13 11:15:11 +03:00
parent 091d6f3b73
commit 60dfb25be3
47 changed files with 462 additions and 304 deletions

View File

@ -30,3 +30,11 @@ create table if not exists t1(id int);
select @@warning_count;
@@warning_count
0
drop table t1;
create table t1 (id int) type=isam;
Warnings:
Warning 1259 Using storage engine MYISAM for table 't1'
alter table t1 type=isam;
Warnings:
Warning 1259 Using storage engine MYISAM for table 't1'
drop table t1;