Debian Codegraph @

mysql-test/suite/binlog/r/binlog_bug23533.result

raw
1 call mtr.add_suppression("Write to binary log failed: Multi-statement transaction required more than .max_binlog_cache_size.*");
2 SET AUTOCOMMIT=0;
3 CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b TEXT, PRIMARY KEY(a)) ENGINE=InnoDB;
4 SELECT COUNT(*) FROM t1;
5 COUNT(*)
6 1000
7 SET GLOBAL binlog_cache_size=4096;
8 SET GLOBAL max_binlog_cache_size=4096;
9 disconnect default;
10 connect default,localhost,root,,test;
11 START TRANSACTION;
12 CREATE TABLE t2 SELECT * FROM t1;
13 ERROR HY000: Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mariadbd variable and try again
14 COMMIT;
15 SHOW TABLES LIKE 't%';
16 Tables_in_test (t%)
17 t1
18 DROP TABLE t1;
19 disconnect default;
20 connect default,localhost,root,,test;