2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
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.t1 (
14
`id` int auto_increment primary key,
17
INSERT INTO federated.t1 SET value=1;
18
INSERT INTO federated.t1 SET value=2;
19
INSERT INTO federated.t1 SET value=2;
20
DROP TABLE IF EXISTS federated.t1;
21
CREATE TABLE federated.t1 (
22
`id` int auto_increment primary key,
25
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
26
SELECT * from federated.t1;
31
INSERT INTO federated.t1 SET value=4;
32
SELECT LAST_INSERT_ID();
41
SELECT * from federated.t1;
51
DROP TABLE federated.t1;
52
DROP TABLE federated.t1;
53
DROP TABLE IF EXISTS federated.t1;
54
DROP DATABASE IF EXISTS federated;
55
DROP TABLE IF EXISTS federated.t1;
56
DROP DATABASE IF EXISTS federated;