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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl_ndb/r/rpl_ndb_extraCol.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
call mtr.add_suppression("Slave: Unknown table 't6' Error_code: 1051");
8
4
**** Diff Table Def Start ****
9
5
*** On Slave ***
54
50
3       4       QA TESTING
55
51
*** Start Slave ***
56
52
START SLAVE;
57
 
Last_SQL_Error = Table definition on master and slave does not match: Column 2 size mismatch - master has size 10, test.t2 on slave has size 6. Master's column size should be <= the slave's column size.
 
53
include/wait_for_slave_sql_error.inc [errno=1535]
 
54
Last_SQL_Error = 'Table definition on master and slave does not match: Column 2 size mismatch - master has size 10, test.t2 on slave has size 6. Master's column size should be <= the slave's column size.'
58
55
STOP SLAVE;
59
56
RESET SLAVE;
60
57
SELECT * FROM t2 ORDER BY a;
83
80
********************************************
84
81
*** Expect slave to fail with Error 1535 ***
85
82
********************************************
86
 
--source include/wait_for_slave_sql_error_and_skip.inc
87
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 type mismatch - received type 252, test.t3 has type 3
88
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
89
 
include/start_slave.inc
 
83
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
84
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 type mismatch - received type 252, test.t3 has type 3'
90
85
*** Drop t3  ***
91
86
DROP TABLE t3;
92
87
*** Create t4 on slave  ***
108
103
********************************************
109
104
*** Expect slave to fail with Error 1535 ***
110
105
********************************************
111
 
--source include/wait_for_slave_sql_error_and_skip.inc
112
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 type mismatch - received type 246, test.t4 has type 3
113
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
114
 
include/start_slave.inc
 
106
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
107
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 type mismatch - received type 246, test.t4 has type 3'
115
108
*** Drop t4  ***
116
109
DROP TABLE t4;
117
110
*** Create t5 on slave  ***
133
126
********************************************
134
127
*** Expect slave to fail with Error 1535 ***
135
128
********************************************
136
 
--source include/wait_for_slave_sql_error_and_skip.inc
137
 
Last_SQL_Error = Table definition on master and slave does not match: Column 5 type mismatch - received type 4, test.t5 has type 246
138
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
139
 
include/start_slave.inc
 
129
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
130
Last_SQL_Error = 'Table definition on master and slave does not match: Column 5 type mismatch - received type 4, test.t5 has type 246'
140
131
*** Drop t5  ***
141
132
DROP TABLE t5;
142
133
*** Create t6 on slave  ***
157
148
********************************************
158
149
*** Expect slave to fail with Error 1535 ***
159
150
********************************************
160
 
Last_SQL_Error = Table definition on master and slave does not match: Column 3 type mismatch - received type 16, test.t6 has type 3
 
151
include/wait_for_slave_sql_error.inc [errno=1535]
 
152
Last_SQL_Error = 'Table definition on master and slave does not match: Column 3 type mismatch - received type 16, test.t6 has type 3'
161
153
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=3;
162
154
*** Drop t6  ***
163
155
DROP TABLE t6;
231
223
********************************************
232
224
*** Expect slave to fail with Error 1535 ***
233
225
********************************************
234
 
--source include/wait_for_slave_sql_error_and_skip.inc
235
 
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 254, test.t10 has type 5
236
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
237
 
include/start_slave.inc
 
226
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
227
Last_SQL_Error = 'Table definition on master and slave does not match: Column 2 type mismatch - received type 254, test.t10 has type 5'
238
228
*** Drop t10  ***
239
229
DROP TABLE t10;
240
230
*** Create t11 on slave  ***
255
245
********************************************
256
246
*** Expect slave to fail with Error 1535 ***
257
247
********************************************
258
 
--source include/wait_for_slave_sql_error_and_skip.inc
259
 
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 15, test.t11 has type 252
260
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
261
 
include/start_slave.inc
 
248
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
249
Last_SQL_Error = 'Table definition on master and slave does not match: Column 2 type mismatch - received type 15, test.t11 has type 252'
262
250
*** Drop t11  ***
263
251
DROP TABLE t11;
264
252
*** Create t12 on slave  ***
468
456
********************************************
469
457
*** Expect slave to fail with Error 1060 ***
470
458
********************************************
471
 
--source include/wait_for_slave_sql_error_and_skip.inc
472
 
Last_SQL_Error = Error 'Duplicate column name 'c6'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c6 INT AFTER c5'
473
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 1;
474
 
include/start_slave.inc
 
459
include/wait_for_slave_sql_error_and_skip.inc [errno=1060]
 
460
Last_SQL_Error = 'Error 'Duplicate column name 'c6'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c6 INT AFTER c5''
475
461
*** Try to insert in master ****
476
462
INSERT INTO t15 () VALUES(5,2.00,'Replication Testing',@b1,'Buda',2);
477
463
SELECT * FROM t15 ORDER BY c1;
571
557
********************************************
572
558
*** Expect slave to fail with Error 1535 ***
573
559
********************************************
574
 
--source include/wait_for_slave_sql_error_and_skip.inc
575
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 type mismatch - received type 8, test.t17 has type 2
576
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
577
 
include/start_slave.inc
 
560
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
561
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 type mismatch - received type 8, test.t17 has type 2'
578
562
** DROP table t17 ***
579
563
DROP TABLE t17;
 
564
include/rpl_end.inc