| 1 |
# |
| 2 |
# MDEV-8313 Got an error writing communication packets |
| 3 |
# |
| 4 |
source include/federated.inc; |
| 5 |
|
| 6 |
connection slave; |
| 7 |
create table t1 (foo int, bar int); |
| 8 |
|
| 9 |
connection master; |
| 10 |
|
| 11 |
--replace_result $SLAVE_MYSOCK SLAVE_MYSOCK |
| 12 |
eval create server 's1' foreign data wrapper 'mysql' options |
| 13 |
(HOST 'localhost', |
| 14 |
DATABASE 'test', |
| 15 |
USER 'root', |
| 16 |
PASSWORD '', |
| 17 |
SOCKET '$SLAVE_MYSOCK'); |
| 18 |
|
| 19 |
|
| 20 |
eval create table t1 (foo integer, bar integer) engine=federated |
| 21 |
connection='s1'; |
| 22 |
|
| 23 |
select * from t1; |
| 24 |
|
| 25 |
connection slave; |
| 26 |
source include/restart_mysqld.inc; |
| 27 |
|
| 28 |
connection master; |
| 29 |
drop table t1; |
| 30 |
drop server s1; |
| 31 |
|
| 32 |
connection slave; |
| 33 |
drop table t1; |
| 34 |
|
| 35 |
source include/federated_cleanup.inc; |
| 36 |
|