mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 20:19:00 +00:00
Remove 'type=innodb' syntax (illegal in MySQL 5.5)
This commit is contained in:
@@ -7,7 +7,7 @@ create table table_1(
|
|||||||
c int not null,
|
c int not null,
|
||||||
d varchar(50),
|
d varchar(50),
|
||||||
key(b)
|
key(b)
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
insert into table_1 values
|
insert into table_1 values
|
||||||
(1, 2, 3, 4),
|
(1, 2, 3, 4),
|
||||||
|
@@ -15,7 +15,7 @@ CREATE TABLE `table_5` (
|
|||||||
h decimal(9,5) not null,
|
h decimal(9,5) not null,
|
||||||
i datetime not null,
|
i datetime not null,
|
||||||
PRIMARY KEY (a,b,c,d)
|
PRIMARY KEY (a,b,c,d)
|
||||||
) type=InnoDB;
|
) engine=InnoDB;
|
||||||
CREATE TABLE `table_5_dest` (
|
CREATE TABLE `table_5_dest` (
|
||||||
a date not null,
|
a date not null,
|
||||||
b int not null,
|
b int not null,
|
||||||
@@ -27,7 +27,7 @@ CREATE TABLE `table_5_dest` (
|
|||||||
h decimal(9,5) not null,
|
h decimal(9,5) not null,
|
||||||
i datetime not null,
|
i datetime not null,
|
||||||
PRIMARY KEY (a,b,c,d)
|
PRIMARY KEY (a,b,c,d)
|
||||||
) type=InnoDB;
|
) engine=InnoDB;
|
||||||
CREATE TABLE `table_5_copy` (
|
CREATE TABLE `table_5_copy` (
|
||||||
a date not null,
|
a date not null,
|
||||||
b int not null,
|
b int not null,
|
||||||
@@ -39,7 +39,7 @@ CREATE TABLE `table_5_copy` (
|
|||||||
h decimal(9,5) not null,
|
h decimal(9,5) not null,
|
||||||
i datetime not null,
|
i datetime not null,
|
||||||
PRIMARY KEY (a,b,c,d)
|
PRIMARY KEY (a,b,c,d)
|
||||||
) type=InnoDB;
|
) engine=InnoDB;
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO `table_5` VALUES (current_date - interval 2 day,581,'m','ga',1,16,0,'0.00402','2007-03-10 18:00:33')
|
INSERT INTO `table_5` VALUES (current_date - interval 2 day,581,'m','ga',1,16,0,'0.00402','2007-03-10 18:00:33')
|
||||||
|
@@ -14,14 +14,14 @@ create table table_1(
|
|||||||
c int not null,
|
c int not null,
|
||||||
d varchar(50),
|
d varchar(50),
|
||||||
key(b)
|
key(b)
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
create table table_2(
|
create table table_2(
|
||||||
a int not null primary key auto_increment,
|
a int not null primary key auto_increment,
|
||||||
b int,
|
b int,
|
||||||
c int not null,
|
c int not null,
|
||||||
d varchar(50)
|
d varchar(50)
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
create table table_3(
|
create table table_3(
|
||||||
a int not null,
|
a int not null,
|
||||||
@@ -29,11 +29,11 @@ create table table_3(
|
|||||||
c int not null,
|
c int not null,
|
||||||
d varchar(50),
|
d varchar(50),
|
||||||
primary key(a, c)
|
primary key(a, c)
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
create table table_4(
|
create table table_4(
|
||||||
a int
|
a int
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
insert into table_1 values
|
insert into table_1 values
|
||||||
(1, 2, 3, 4),
|
(1, 2, 3, 4),
|
||||||
|
@@ -9,7 +9,7 @@ create table table_7(
|
|||||||
b int not null,
|
b int not null,
|
||||||
c int not null,
|
c int not null,
|
||||||
primary key(a, b)
|
primary key(a, b)
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
drop table if exists table_8;
|
drop table if exists table_8;
|
||||||
create table table_8 like table_7;
|
create table table_8 like table_7;
|
||||||
@@ -19,7 +19,7 @@ create table table_9(
|
|||||||
a int not null primary key,
|
a int not null primary key,
|
||||||
b int not null,
|
b int not null,
|
||||||
c int not null
|
c int not null
|
||||||
) type=innodb;
|
) engine=innodb;
|
||||||
|
|
||||||
insert into table_7(a, b, c) values
|
insert into table_7(a, b, c) values
|
||||||
(1, 2, 1),
|
(1, 2, 1),
|
||||||
|
Reference in New Issue
Block a user