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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_binlog_max_cache_size.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 08:30:45 UTC
  • mfrom: (1.4.1)
  • Revision ID: package-import@ubuntu.com-20120222083045-2rd53r4bnyx7qus4
Tags: 5.1.61-0ubuntu0.11.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
stop slave;
2
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
3
 
reset master;
4
 
reset slave;
5
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
 
start slave;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
SET GLOBAL max_binlog_cache_size = 4096;
8
4
SET GLOBAL binlog_cache_size = 4096;
9
5
CREATE TABLE t1(a INT PRIMARY KEY, data VARCHAR(30000)) ENGINE=Innodb;
17
13
*** Single statement on non-transactional table ***
18
14
*** After WL#2687 the difference between STATEMENT/MIXED and ROW will not exist. ***
19
15
Got one of the listed errors
20
 
--source include/wait_for_slave_sql_error_and_skip.inc
21
 
include/start_slave.inc
 
16
include/wait_for_slave_sql_error_and_skip.inc [errno=1590]
22
17
*** Single statement on both transactional and non-transactional tables. ***
23
18
*** After WL#2687 we will be able to change the order of the tables. ***
24
19
Got one of the listed errors
25
 
--source include/wait_for_slave_sql_error_and_skip.inc
26
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
27
 
include/start_slave.inc
 
20
include/wait_for_slave_sql_error_and_skip.inc [errno=1590]
28
21
TRUNCATE TABLE t1;
29
22
TRUNCATE TABLE t2;
30
23
TRUNCATE TABLE t3;
39
32
BEGIN;
40
33
Got one of the listed errors
41
34
Got one of the listed errors
42
 
source include/diff_master_slave.inc;
 
35
include/diff_tables.inc [master:t1,slave:t1]
43
36
########################################################################################
44
37
#                                     3 - BEGIN - COMMIT
45
38
########################################################################################
51
44
Got one of the listed errors
52
45
Got one of the listed errors
53
46
COMMIT;
54
 
source include/diff_master_slave.inc;
 
47
include/diff_tables.inc [master:t1,slave:t1]
55
48
########################################################################################
56
49
#                                      4 - BEGIN - ROLLBACK
57
50
########################################################################################
65
58
ROLLBACK;
66
59
Warnings:
67
60
Warning 1196    Some non-transactional changed tables couldn't be rolled back
68
 
source include/diff_master_slave.inc;
 
61
include/diff_tables.inc [master:t1,slave:t1]
69
62
########################################################################################
70
63
#                                         5 - PROCEDURE 
71
64
########################################################################################
89
82
BEGIN;
90
83
Got one of the listed errors
91
84
ROLLBACK;
92
 
source include/diff_master_slave.inc;
 
85
include/diff_tables.inc [master:t1,slave:t1]
93
86
########################################################################################
94
87
#                                           6 - XID
95
88
########################################################################################
104
97
Warnings:
105
98
Warning 1196    Some non-transactional changed tables couldn't be rolled back
106
99
COMMIT;
107
 
source include/diff_master_slave.inc;
 
100
include/diff_tables.inc [master:t1,slave:t1]
108
101
########################################################################################
109
102
#                                        7 - NON-TRANS TABLE
110
103
########################################################################################
121
114
BEGIN;
122
115
Got one of the listed errors
123
116
COMMIT;
124
 
--source include/wait_for_slave_sql_error_and_skip.inc
125
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
126
 
include/start_slave.inc
 
117
include/wait_for_slave_sql_error_and_skip.inc [errno=1590]
127
118
########################################################################
128
119
#      8 - Bug#55375(Regression Bug) Transaction bigger than
129
120
#          max_binlog_cache_size crashes slave
134
125
include/start_slave.inc
135
126
CALL mtr.add_suppression("Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage.*");
136
127
CALL mtr.add_suppression("Writing one row to the row-based binary log failed.*");
 
128
CALL mtr.add_suppression("Slave SQL.*The incident LOST_EVENTS occured on the master. Message: error writing to the binary log");
137
129
TRUNCATE t1;
138
130
SET GLOBAL max_binlog_cache_size= ORIGINAL_VALUE;
139
131
SET GLOBAL binlog_cache_size= ORIGINAL_VALUE;
140
132
BEGIN;
141
133
Repeat statement 'INSERT INTO t1 VALUES($n, repeat("a", 32))' 128 times
142
134
COMMIT;
 
135
include/wait_for_slave_sql_error.inc [errno=1197]
143
136
SELECT count(*) FROM t1;
144
137
count(*)
145
138
0
159
152
DROP TABLE t2;
160
153
DROP TABLE t3;
161
154
DROP TABLE IF EXISTS t4;
162
 
DROP TABLE IF EXISTS t5;
163
 
DROP TABLE IF EXISTS t6;
 
155
DROP TABLE t5;
164
156
DROP PROCEDURE p1;
 
157
include/rpl_end.inc