Debian Codegraph @

mysql-test/suite/galera/r/galera_binlog_cache_size.result

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 VARCHAR(767)) ENGINE=InnoDB;
4 CREATE TABLE ten (f1 INTEGER);
5 INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
6 SET GLOBAL binlog_cache_size=4096;
7 SET GLOBAL max_binlog_cache_size=4096;
8 connection node_1a;
9 SET AUTOCOMMIT=ON;
10 START TRANSACTION;
11 INSERT INTO t1 SELECT REPEAT('a', 767) FROM ten;
12 INSERT INTO t1 SELECT REPEAT('a', 767) FROM ten;
13 ERROR HY000: Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mariadbd variable and try again
14 DROP TABLE t1;
15 DROP TABLE ten;