summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/r/galera_sbr.result
blob: c5fdecece0ea531c84a301964f480c4117e76ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
connection node_2;
connection node_1;
connection node_1;
SET SESSION binlog_format = 'STATEMENT';
Warnings:
Warning	1105	MariaDB Galera and flashback do not support binlog format: STATEMENT
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
SET SESSION binlog_format = 'MIXED';
Warnings:
Warning	1105	MariaDB Galera and flashback do not support binlog format: MIXED
INSERT INTO t1 VALUES (2);
connection node_2;
SELECT COUNT(*) = 2 FROM t1;
COUNT(*) = 2
1
DROP TABLE t1;
connection node_1;
SET GLOBAL binlog_format = 'ROW';