summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/r/galera_as_slave_ctas.result
blob: a3d28ce42aa33e8334cb050e7d041662814d029f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
connection node_2;
connection node_1;
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
SELECT @@wsrep_on;
@@wsrep_on
0
connection node_1;
START SLAVE;
connection node_3;
SHOW VARIABLES LIKE 'binlog_format';
Variable_name	Value
binlog_format	ROW
CREATE TABLE source (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
CREATE TABLE target AS SELECT * FROM source;
connection node_1;
connection node_2;
connection node_3;
DROP TABLE target;
INSERT INTO source VALUES(1);
CREATE TABLE target AS SELECT * FROM source;
connection node_1;
connection node_2;
connection node_3;
DROP TABLE source;
DROP TABLE target;
connection node_2;
connection node_1;
STOP SLAVE;
RESET SLAVE ALL;
connection node_3;
RESET MASTER;