summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera_sr/t/GCF-437.test
blob: f71be65708e3388ef0b330dfe6be2d3f8ddc9e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--source include/galera_cluster.inc
--source include/have_innodb.inc
--source include/big_test.inc

CREATE TABLE ten (f1 INTEGER) ENGINE=MyISAM;
INSERT INTO ten VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);

CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 VARCHAR(512)) ENGINE=InnoDB;

SET SESSION wsrep_trx_fragment_size = 2 * 1024 * 1024;

--error ER_BINLOG_ROW_LOGGING_FAILED
INSERT INTO t1 (f2) SELECT REPEAT('x', 512) FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;

CALL mtr.add_suppression("InnoDB: The total blob data length*");
CALL mtr.add_suppression("WSREP: Error writing into mysql.wsrep_streaming_log: 139");
CALL mtr.add_suppression("WSREP: Failed to write to frag table: 1");
CALL mtr.add_suppression("WSREP: Failed to append frag to persistent storage");

DROP TABLE t1;
DROP table ten;