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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_row_colSize.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
 
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
DROP TABLE IF EXISTS t1;
8
4
**** Testing WL#3228 changes. ****
9
5
*** Create "wider" table on slave ***
18
14
RESET MASTER;
19
15
INSERT INTO t1 VALUES (901251.90125);
20
16
START SLAVE;
21
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 10, test.t1 on slave has size 3. Master's column size should be <= the slave's column size.
 
17
include/wait_for_slave_sql_error.inc [errno=1535]
 
18
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 10, test.t1 on slave has size 3. Master's column size should be <= the slave's column size.'
22
19
SELECT COUNT(*) FROM t1;
23
20
COUNT(*)
24
21
0
34
31
RESET MASTER;
35
32
INSERT INTO t1 VALUES (901251.90125);
36
33
START SLAVE;
37
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 12, test.t1 on slave has size 12. Master's column size should be <= the slave's column size.
 
34
include/wait_for_slave_sql_error.inc [errno=1535]
 
35
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 12, test.t1 on slave has size 12. Master's column size should be <= the slave's column size.'
38
36
SELECT COUNT(*) FROM t1;
39
37
COUNT(*)
40
38
0
50
48
RESET MASTER;
51
49
INSERT INTO t1 VALUES (901251.90125);
52
50
START SLAVE;
53
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 10, test.t1 on slave has size 3. Master's column size should be <= the slave's column size.
 
51
include/wait_for_slave_sql_error.inc [errno=1535]
 
52
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 10, test.t1 on slave has size 3. Master's column size should be <= the slave's column size.'
54
53
SELECT COUNT(*) FROM t1;
55
54
COUNT(*)
56
55
0
67
66
RESET MASTER;
68
67
INSERT INTO t1 VALUES (901251.90125);
69
68
START SLAVE;
70
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 type mismatch - received type 5, test.t1 has type 4
 
69
include/wait_for_slave_sql_error.inc [errno=1535]
 
70
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 type mismatch - received type 5, test.t1 has type 4'
71
71
SELECT COUNT(*) FROM t1;
72
72
COUNT(*)
73
73
0
84
84
RESET MASTER;
85
85
INSERT INTO t1 VALUES (B'10101');
86
86
START SLAVE;
87
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 8, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.
 
87
include/wait_for_slave_sql_error.inc [errno=1535]
 
88
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 8, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.'
88
89
SELECT COUNT(*) FROM t1;
89
90
COUNT(*)
90
91
0
100
101
RESET MASTER;
101
102
INSERT INTO t1 VALUES (B'10101');
102
103
START SLAVE;
103
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 2, test.t1 on slave has size 2. Master's column size should be <= the slave's column size.
 
104
include/wait_for_slave_sql_error.inc [errno=1535]
 
105
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 2, test.t1 on slave has size 2. Master's column size should be <= the slave's column size.'
104
106
SELECT COUNT(*) FROM t1;
105
107
COUNT(*)
106
108
0
117
119
RESET MASTER;
118
120
INSERT INTO t1 VALUES ('4');
119
121
START SLAVE;
120
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 2, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.
 
122
include/wait_for_slave_sql_error.inc [errno=1535]
 
123
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 2, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.'
121
124
SELECT COUNT(*) FROM t1;
122
125
COUNT(*)
123
126
0
134
137
RESET MASTER;
135
138
INSERT INTO t1 VALUES ('This is a test.');
136
139
START SLAVE;
137
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 20, test.t1 on slave has size 11. Master's column size should be <= the slave's column size.
 
140
include/wait_for_slave_sql_error.inc [errno=1535]
 
141
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 20, test.t1 on slave has size 11. Master's column size should be <= the slave's column size.'
138
142
SELECT COUNT(*) FROM t1;
139
143
COUNT(*)
140
144
0
182
186
RESET MASTER;
183
187
INSERT INTO t1 VALUES ('44');
184
188
START SLAVE;
185
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 2, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.
 
189
include/wait_for_slave_sql_error.inc [errno=1535]
 
190
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 2, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.'
186
191
SELECT COUNT(*) FROM t1;
187
192
COUNT(*)
188
193
0
199
204
RESET MASTER;
200
205
INSERT INTO t1 VALUES ('This is a test.');
201
206
START SLAVE;
202
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 2000, test.t1 on slave has size 100. Master's column size should be <= the slave's column size.
 
207
include/wait_for_slave_sql_error.inc [errno=1535]
 
208
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 2000, test.t1 on slave has size 100. Master's column size should be <= the slave's column size.'
203
209
SELECT COUNT(*) FROM t1;
204
210
COUNT(*)
205
211
0
215
221
RESET MASTER;
216
222
INSERT INTO t1 VALUES ('This is a test.');
217
223
START SLAVE;
218
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 200, test.t1 on slave has size 10. Master's column size should be <= the slave's column size.
 
224
include/wait_for_slave_sql_error.inc [errno=1535]
 
225
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 200, test.t1 on slave has size 10. Master's column size should be <= the slave's column size.'
219
226
SELECT COUNT(*) FROM t1;
220
227
COUNT(*)
221
228
0
231
238
RESET MASTER;
232
239
INSERT INTO t1 VALUES ('This is a test.');
233
240
START SLAVE;
234
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 2000, test.t1 on slave has size 1000. Master's column size should be <= the slave's column size.
 
241
include/wait_for_slave_sql_error.inc [errno=1535]
 
242
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 2000, test.t1 on slave has size 1000. Master's column size should be <= the slave's column size.'
235
243
SELECT COUNT(*) FROM t1;
236
244
COUNT(*)
237
245
0
248
256
RESET MASTER;
249
257
INSERT INTO t1 VALUES ('This is a test.');
250
258
START SLAVE;
251
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 size mismatch - master has size 4, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.
 
259
include/wait_for_slave_sql_error.inc [errno=1535]
 
260
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 size mismatch - master has size 4, test.t1 on slave has size 1. Master's column size should be <= the slave's column size.'
252
261
SELECT COUNT(*) FROM t1;
253
262
COUNT(*)
254
263
0
256
265
RESET SLAVE;
257
266
RESET MASTER;
258
267
START SLAVE;
 
268
call mtr.add_suppression("Slave SQL.*Table definition on master and slave does not match: Column 0 ...e mismatch.* Error_code: 1535");
259
269
*** Cleanup  ***
260
270
DROP TABLE IF EXISTS t1;
 
271
include/rpl_end.inc