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

WorkLog#1323

Deprecate the use of TYPE=... Preferred syntax is ENGINE=
This commit is contained in:
antony@ltantony.rdg.cyberkinetica.homeunix.net
2003-12-10 04:31:42 +00:00
parent 28113396ec
commit fcf96dbb18
189 changed files with 1075 additions and 1000 deletions

View File

@ -11,7 +11,7 @@ drop table if exists t1,t2,t3;
#
flush status;
set autocommit=0;
create table t1 (a int not null) type=innodb;
create table t1 (a int not null) engine=innodb;
insert into t1 values (1),(2),(3);
select * from t1;
show status like "Qcache_queries_in_cache";
@ -19,15 +19,15 @@ drop table t1;
commit;
set autocommit=1;
begin;
create table t1 (a int not null) type=innodb;
create table t1 (a int not null) engine=innodb;
insert into t1 values (1),(2),(3);
select * from t1;
show status like "Qcache_queries_in_cache";
drop table t1;
commit;
create table t1 (a int not null) type=innodb;
create table t2 (a int not null) type=innodb;
create table t3 (a int not null) type=innodb;
create table t1 (a int not null) engine=innodb;
create table t2 (a int not null) engine=innodb;
create table t3 (a int not null) engine=innodb;
insert into t1 values (1),(2);
insert into t2 values (1),(2);
insert into t3 values (1),(2);
@ -54,7 +54,7 @@ commit;
show status like "Qcache_queries_in_cache";
drop table if exists t1;
CREATE TABLE t1 (id int(11) NOT NULL auto_increment, PRIMARY KEY (id)) TYPE=InnoDB;
CREATE TABLE t1 (id int(11) NOT NULL auto_increment, PRIMARY KEY (id)) ENGINE=InnoDB;
select count(*) from t1;
insert into t1 (id) values (0);
select count(*) from t1;