Debian Codegraph @

mysql-test/suite/federated/federated_debug.result

raw
1 connect master,127.0.0.1,root,,test,$MASTER_MYPORT,;
2 connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT,;
3 connection master;
4 CREATE DATABASE federated;
5 connection slave;
6 CREATE DATABASE federated;
7 #
8 # Bug#47525: MySQL crashed (Federated)
9 #
10 connection slave;
11 CREATE TABLE t1(a INT);
12 INSERT INTO t1 VALUES (1);
13 connection master;
14 CREATE TABLE t1(a INT) ENGINE=FEDERATED
15 CONNECTION='mysql://[email protected]:SLAVE_PORT/test/t1';
16 SELECT * FROM t1;
17 a
18 1
19 # Start a asynchronous reload
20 # Wait for tables to be closed
21 # Ensure that the server didn't crash
22 SELECT * FROM t1;
23 a
24 1
25 # Drop tables on master and slave
26 DROP TABLE t1;
27 connection slave;
28 DROP TABLE t1;
29 connection default;
30 # Federated cleanup
31 connection master;
32 DROP TABLE IF EXISTS federated.t1;
33 DROP DATABASE IF EXISTS federated;
34 connection slave;
35 DROP TABLE IF EXISTS federated.t1;
36 DROP DATABASE IF EXISTS federated;