~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/binlog/r/binlog_bug23533.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET AUTOCOMMIT=0;
 
2
CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b TEXT, PRIMARY KEY(a)) ENGINE=InnoDB;
 
3
SELECT COUNT(*) FROM t1;
 
4
COUNT(*)
 
5
1000
 
6
SET GLOBAL binlog_cache_size=4096;
 
7
SET GLOBAL max_binlog_cache_size=4096;
 
8
START TRANSACTION;
 
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
 
11
COMMIT;
 
12
SHOW TABLES LIKE 't%';
 
13
Tables_in_test (t%)
 
14
t1
 
15
DROP TABLE t1;