summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera_sr/r/mysql-wsrep-bugs-900.result
blob: a51b5299aa25b43bd6579188b5c2e63c935c64a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
connection node_2;
connection node_1;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY);
SET SESSION wsrep_trx_fragment_size=1;
START TRANSACTION;
INSERT INTO t1 VALUES (1);
SET SESSION wsrep_cluster_name = ' ';
ERROR HY000: Variable 'wsrep_cluster_name' is a GLOBAL variable and should be set with SET GLOBAL
INSERT INTO t1 VALUES (2);
COMMIT;
SELECT f1 AS expect_1_and_2 FROM t1;
expect_1_and_2
1
2
DROP TABLE t1;