summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/r/galera_binlog_cache_size.result
blob: 9726cf2a4405ebdb8a7382c32775f2f65aa4a2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CREATE TABLE t1 (f1 VARCHAR(767)) ENGINE=InnoDB;
CREATE TABLE ten (f1 INTEGER);
INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
SET GLOBAL binlog_cache_size=4096;
SET GLOBAL max_binlog_cache_size=4096;
SET AUTOCOMMIT=ON;
START TRANSACTION;
INSERT INTO t1 SELECT REPEAT('a', 767) FROM ten;
INSERT INTO t1 SELECT REPEAT('a', 767) FROM ten;
ERROR HY000: Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again
DROP TABLE t1;
DROP TABLE ten;