Debian Codegraph @

mysql-test/suite/galera/t/galera_binlog_event_max_size_max.test

raw
1 #
2 # Test that replication works event with the maximum value of binlog-row-event-max-size - 4294967295 (on 32-bit platforms)
3 #
4
5 --source include/galera_cluster.inc
6 --source include/have_innodb.inc
7 --source include/big_test.inc
8
9 CREATE TABLE ten (f1 INTEGER);
10 INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
11
12 CREATE TABLE t1 (f1 VARCHAR(1000));
13
14 # Insert 10K records, 1K bytes each
15 INSERT INTO t1 SELECT REPEAT('x', 1000) FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;
16
17 --connection node_2
18 SELECT COUNT(*) = 10000 FROM t1;
19
20 DROP TABLE t1;
21 DROP TABLE ten;