1
by brian
clean slate |
1 |
--source include/have_innodb.inc |
2 |
--source include/have_archive.inc |
|
3 |
||
4 |
--disable_warnings |
|
5 |
drop table if exists t1, t2, t3, t4, t5, t6; |
|
6 |
--enable_warnings |
|
7 |
||
8 |
create table t1 (id int(8), name varchar(32)); |
|
9 |
create table t2 (id int(8), name varchar(32)) ENGINE="MyISAM"; |
|
10 |
create table t3 (id int(8), name varchar(32)) ENGINE="MEMORY"; |
|
11 |
create table t4 (id int(8), name varchar(32)) ENGINE="HEAP"; |
|
12 |
create table t5 (id int(8), name varchar(32)) ENGINE="ARCHIVE"; |
|
13 |
create table t6 (id int(8), name varchar(32)) ENGINE="InnoDB"; |
|
14 |
||
15 |
insert into t1 values (1, 'first value'); |
|
16 |
insert into t1 values (2, 'first value'); |
|
17 |
insert into t1 values (3, 'first value'); |
|
18 |
insert into t1 values (4, 'first value'); |
|
19 |
insert into t1 values (5, 'first value'); |
|
20 |
||
21 |
insert into t2 values (1, 'first value'); |
|
22 |
insert into t2 values (2, 'first value'); |
|
23 |
insert into t2 values (3, 'first value'); |
|
24 |
insert into t2 values (4, 'first value'); |
|
25 |
insert into t2 values (5, 'first value'); |
|
26 |
||
27 |
insert into t3 values (1, 'first value'); |
|
28 |
insert into t3 values (2, 'first value'); |
|
29 |
insert into t3 values (3, 'first value'); |
|
30 |
insert into t3 values (4, 'first value'); |
|
31 |
insert into t3 values (5, 'first value'); |
|
32 |
||
33 |
insert into t4 values (1, 'first value'); |
|
34 |
insert into t4 values (2, 'first value'); |
|
35 |
insert into t4 values (3, 'first value'); |
|
36 |
insert into t4 values (4, 'first value'); |
|
37 |
insert into t4 values (5, 'first value'); |
|
38 |
||
39 |
insert into t5 values (1, 'first value'); |
|
40 |
insert into t5 values (2, 'first value'); |
|
41 |
insert into t5 values (3, 'first value'); |
|
42 |
insert into t5 values (4, 'first value'); |
|
43 |
insert into t5 values (5, 'first value'); |
|
44 |
||
45 |
insert into t6 values (1, 'first value'); |
|
46 |
insert into t6 values (2, 'first value'); |
|
47 |
insert into t6 values (3, 'first value'); |
|
48 |
insert into t6 values (4, 'first value'); |
|
49 |
insert into t6 values (5, 'first value'); |
|
50 |
||
51 |
select * from t1; |
|
52 |
select * from t2; |
|
53 |
select * from t3; |
|
54 |
select * from t4; |
|
55 |
select * from t5; |
|
56 |
select * from t6; |
|
57 |
||
58 |
--exec $MYSQL_DUMP --skip-comments --delayed-insert --insert-ignore --databases test |
|
59 |
--exec $MYSQL_DUMP --skip-comments --delayed-insert --databases test |
|
60 |
||
61 |
drop table t1; |
|
62 |
drop table t2; |
|
63 |
drop table t3; |
|
64 |
drop table t4; |
|
65 |
drop table t5; |
|
66 |
drop table t6; |