| 1 |
source suite/federated/include/federated.inc; |
| 2 |
|
| 3 |
connection slave; |
| 4 |
--disable_warnings |
| 5 |
DROP TABLE IF EXISTS federated.bug_13118_table; |
| 6 |
--enable_warnings |
| 7 |
|
| 8 |
CREATE TABLE federated.bug_13118_table ( |
| 9 |
`foo` integer, |
| 10 |
`bar` integer |
| 11 |
); |
| 12 |
|
| 13 |
|
| 14 |
connection master; |
| 15 |
--disable_warnings |
| 16 |
DROP TABLE IF EXISTS federated.t1; |
| 17 |
--enable_warnings |
| 18 |
|
| 19 |
--replace_result $SLAVE_MYPORT SLAVE_PORT |
| 20 |
eval CREATE TABLE federated.t1 ( |
| 21 |
`foo` integer, |
| 22 |
`bar` integer |
| 23 |
) ENGINE="FEDERATED" |
| 24 |
CONNECTION='mysql://[email protected]:$SLAVE_MYPORT/federated/bug_13118_table'; |
| 25 |
|
| 26 |
SELECT * from federated.t1; |
| 27 |
|
| 28 |
INSERT INTO federated.t1 VALUES (1,1); |
| 29 |
SELECT * FROM federated.t1; |
| 30 |
|
| 31 |
INSERT INTO federated.t1 VALUES (1,1); |
| 32 |
SELECT * FROM federated.t1; |
| 33 |
|
| 34 |
|
| 35 |
DROP TABLE federated.t1; |
| 36 |
connection slave; |
| 37 |
DROP TABLE federated.bug_13118_table; |
| 38 |
|
| 39 |
|
| 40 |
source suite/federated/include/federated_cleanup.inc; |
| 41 |
|