2
CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b TEXT, PRIMARY KEY(a)) ENGINE=InnoDB;
3
SELECT COUNT(*) FROM t1;
6
SET GLOBAL binlog_cache_size=4096;
7
SET GLOBAL max_binlog_cache_size=4096;
9
CREATE TABLE t2 SELECT * FROM t1;
10
ERROR HY000: Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again
12
SHOW TABLES LIKE 't%';