1
by brian
clean slate |
1 |
stop slave; |
2 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; |
|
3 |
reset master; |
|
4 |
reset slave; |
|
5 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; |
|
6 |
start slave; |
|
7 |
stop slave; |
|
8 |
DROP DATABASE IF EXISTS federated; |
|
9 |
CREATE DATABASE federated; |
|
10 |
DROP DATABASE IF EXISTS federated; |
|
11 |
CREATE DATABASE federated; |
|
12 |
DROP TABLE IF EXISTS federated.bug_13118_table; |
|
13 |
CREATE TABLE federated.bug_13118_table ( |
|
14 |
`foo` integer, |
|
15 |
`bar` integer |
|
16 |
);
|
|
17 |
DROP TABLE IF EXISTS federated.t1; |
|
18 |
CREATE TABLE federated.t1 ( |
|
19 |
`foo` integer, |
|
20 |
`bar` integer |
|
21 |
) ENGINE="FEDERATED" |
|
22 |
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/bug_13118_table'; |
|
23 |
SELECT * from federated.t1; |
|
24 |
foo bar |
|
25 |
INSERT INTO federated.t1 VALUES (1,1); |
|
26 |
SELECT * FROM federated.t1; |
|
27 |
foo bar |
|
28 |
1 1 |
|
29 |
INSERT INTO federated.t1 VALUES (1,1); |
|
30 |
SELECT * FROM federated.t1; |
|
31 |
foo bar |
|
32 |
1 1 |
|
33 |
1 1 |
|
34 |
DROP TABLE federated.t1; |
|
35 |
DROP TABLE federated.bug_13118_table; |
|
36 |
DROP TABLE IF EXISTS federated.t1; |
|
37 |
DROP DATABASE IF EXISTS federated; |
|
38 |
DROP TABLE IF EXISTS federated.t1; |
|
39 |
DROP DATABASE IF EXISTS federated; |