52 lines
979 B
Plaintext
52 lines
979 B
Plaintext
DROP TABLE IF EXISTS t1;
|
|
DROP TABLE IF EXISTS t2;
|
|
DROP TABLE IF EXISTS t3;
|
|
DROP TABLE IF EXISTS t4;
|
|
DROP TABLE IF EXISTS t5;
|
|
CREATE TABLE t1 (
|
|
a int not null,
|
|
b int not null,
|
|
primary key (a,b) comment 'cf1',
|
|
key (b) comment 'cf2'
|
|
) ENGINE=XEngine;
|
|
CREATE TABLE t2 (
|
|
a int not null,
|
|
b int not null,
|
|
primary key (a,b) comment 'cf1',
|
|
key (b) comment 'cf2'
|
|
) ENGINE=XEngine;
|
|
CREATE TABLE t3 (
|
|
a int not null,
|
|
b int not null,
|
|
primary key (a,b) comment 'cf1',
|
|
key (b) comment 'cf2'
|
|
) ENGINE=XEngine;
|
|
CREATE TABLE t4 (
|
|
a int not null,
|
|
b int not null,
|
|
primary key (a,b) comment 'cf1',
|
|
key (b) comment 'cf2'
|
|
) ENGINE=XEngine;
|
|
DELETE FROM t1;
|
|
DELETE FROM t2;
|
|
DELETE FROM t3;
|
|
DELETE FROM t4;
|
|
# restart
|
|
DELETE FROM t1;
|
|
DELETE FROM t4;
|
|
DELETE FROM t1;
|
|
DELETE FROM t4;
|
|
# restart
|
|
CREATE TABLE t5 (
|
|
a int not null,
|
|
b int not null,
|
|
primary key (a,b) comment 'cf1',
|
|
key (b) comment 'cf2'
|
|
) ENGINE=XEngine;
|
|
DELETE FROM t5;
|
|
drop table t1;
|
|
drop table t2;
|
|
drop table t3;
|
|
drop table t4;
|
|
drop table t5;
|