1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge branch '10.0-galera' into 10.1

This commit is contained in:
Nirbhay Choubey
2015-07-14 16:05:29 -04:00
parent 75931feabe
commit dced5146bd
399 changed files with 14892 additions and 1525 deletions

View File

@@ -0,0 +1,42 @@
--source include/galera_cluster.inc
--source include/have_innodb.inc
--echo # On node_2
--connection node_2
RESET MASTER;
--echo # On node_1
--connection node_1
RESET MASTER;
CREATE TABLE t1(i INT)ENGINE=INNODB;
INSERT INTO t1 VALUES(1);
DELETE FROM t1 WHERE i = 1;
--echo # On node_2
--connection node_2
INSERT INTO t1 VALUES(2);
DELETE FROM t1 WHERE i = 2;
--echo # On node_1
--connection node_1
--source include/binlog_start_pos.inc
let $start_pos= `select @binlog_start_pos`;
--replace_column 2 # 5 #
--replace_result $start_pos <start_pos>
--replace_regex /table_id: [0-9]+/table_id: #/ /\/\* xid=.* \*\//\/* xid= *\//
--eval SHOW BINLOG EVENTS IN 'mysqld-bin.000001' FROM $start_pos
--echo # On node_2
--connection node_2
--source include/binlog_start_pos.inc
let $start_pos= `select @binlog_start_pos`;
--replace_column 2 # 5 #
--replace_result $start_pos <start_pos>
--replace_regex /table_id: [0-9]+/table_id: #/ /\/\* xid=.* \*\//\/* xid= *\//
--eval SHOW BINLOG EVENTS IN 'mysqld-bin.000001' FROM $start_pos
# Cleanup
DROP TABLE t1;
--source include/galera_end.inc
--echo # End of test