mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
In MariaDB 10.2 master could have been configured so that there is extra annotate events. When we peak next event type for CTAS we need to skip annotate events.
28 lines
711 B
Text
28 lines
711 B
Text
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
|
|
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
|
|
connection node_2;
|
|
START SLAVE;
|
|
connection node_1;
|
|
SHOW VARIABLES LIKE 'binlog_format';
|
|
Variable_name Value
|
|
binlog_format ROW
|
|
connection node_1;
|
|
CREATE TABLE source (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|
CREATE TABLE target AS SELECT * FROM source;
|
|
connection node_2;
|
|
connection node_3;
|
|
connection node_1;
|
|
DROP TABLE target;
|
|
INSERT INTO source VALUES(1);
|
|
CREATE TABLE target AS SELECT * FROM source;
|
|
connection node_2;
|
|
connection node_3;
|
|
connection node_1;
|
|
DROP TABLE source;
|
|
DROP TABLE target;
|
|
connection node_3;
|
|
connection node_2;
|
|
STOP SLAVE;
|
|
RESET SLAVE ALL;
|
|
connection node_1;
|
|
RESET MASTER;
|