~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
3       4       QA TESTING
55
55
*** Start Slave ***
56
56
START SLAVE;
57
 
SHOW SLAVE STATUS;
58
 
Slave_IO_State  #
59
 
Master_Host     127.0.0.1
60
 
Master_User     root
61
 
Master_Port     #
62
 
Connect_Retry   1
63
 
Master_Log_File master-bin.000001
64
 
Read_Master_Log_Pos     #
65
 
Relay_Log_File  #
66
 
Relay_Log_Pos   #
67
 
Relay_Master_Log_File   master-bin.000001
68
 
Slave_IO_Running        Yes
69
 
Slave_SQL_Running       No
70
 
Replicate_Do_DB 
71
 
Replicate_Ignore_DB     
72
 
Replicate_Do_Table      
73
 
Replicate_Ignore_Table  #
74
 
Replicate_Wild_Do_Table 
75
 
Replicate_Wild_Ignore_Table     
76
 
Last_Errno      1535
77
 
Last_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.
78
 
Skip_Counter    0
79
 
Exec_Master_Log_Pos     #
80
 
Relay_Log_Space #
81
 
Until_Condition None
82
 
Until_Log_File  
83
 
Until_Log_Pos   0
84
 
Master_SSL_Allowed      No
85
 
Master_SSL_CA_File      
86
 
Master_SSL_CA_Path      
87
 
Master_SSL_Cert 
88
 
Master_SSL_Cipher       
89
 
Master_SSL_Key  
90
 
Seconds_Behind_Master   #
91
 
Master_SSL_Verify_Server_Cert   No
92
 
Last_IO_Errno   #
93
 
Last_IO_Error   #
94
 
Last_SQL_Errno  1535
95
 
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.
 
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.
96
58
STOP SLAVE;
97
59
RESET SLAVE;
98
60
SELECT * FROM t2 ORDER BY a;
119
81
set @b1 = concat(@b1,@b1);
120
82
INSERT INTO t3 () VALUES(@b1,2,'Kyle, TEX'),(@b1,1,'JOE AUSTIN'),(@b1,4,'QA TESTING');
121
83
********************************************
122
 
*** Expect slave to fail with Error 1522 ***
 
84
*** Expect slave to fail with Error 1535 ***
123
85
********************************************
124
 
SHOW SLAVE STATUS;
125
 
Slave_IO_State  #
126
 
Master_Host     127.0.0.1
127
 
Master_User     root
128
 
Master_Port     #
129
 
Connect_Retry   1
130
 
Master_Log_File master-bin.000001
131
 
Read_Master_Log_Pos     #
132
 
Relay_Log_File  #
133
 
Relay_Log_Pos   #
134
 
Relay_Master_Log_File   master-bin.000001
135
 
Slave_IO_Running        Yes
136
 
Slave_SQL_Running       No
137
 
Replicate_Do_DB 
138
 
Replicate_Ignore_DB     
139
 
Replicate_Do_Table      
140
 
Replicate_Ignore_Table  #
141
 
Replicate_Wild_Do_Table 
142
 
Replicate_Wild_Ignore_Table     
143
 
Last_Errno      1535
144
 
Last_Error      Table definition on master and slave does not match: Column 0 type mismatch - received type 252, test.t3 has type 3
145
 
Skip_Counter    0
146
 
Exec_Master_Log_Pos     #
147
 
Relay_Log_Space #
148
 
Until_Condition None
149
 
Until_Log_File  
150
 
Until_Log_Pos   0
151
 
Master_SSL_Allowed      No
152
 
Master_SSL_CA_File      
153
 
Master_SSL_CA_Path      
154
 
Master_SSL_Cert 
155
 
Master_SSL_Cipher       
156
 
Master_SSL_Key  
157
 
Seconds_Behind_Master   #
158
 
Master_SSL_Verify_Server_Cert   No
159
 
Last_IO_Errno   #
160
 
Last_IO_Error   #
161
 
Last_SQL_Errno  1535
162
 
Last_SQL_Error  Table definition on master and slave does not match: Column 0 type mismatch - received type 252, test.t3 has type 3
163
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
164
 
START SLAVE;
 
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
165
90
*** Drop t3  ***
166
91
DROP TABLE t3;
167
92
*** Create t4 on slave  ***
181
106
INSERT INTO t4 () VALUES(100.22,2,'Kyle, TEX'),(200.26,1,'JOE AUSTIN'),
182
107
(30000.22,4,'QA TESTING');
183
108
********************************************
184
 
*** Expect slave to fail with Error 1522 ***
 
109
*** Expect slave to fail with Error 1535 ***
185
110
********************************************
186
 
SHOW SLAVE STATUS;
187
 
Slave_IO_State  #
188
 
Master_Host     127.0.0.1
189
 
Master_User     root
190
 
Master_Port     #
191
 
Connect_Retry   1
192
 
Master_Log_File master-bin.000001
193
 
Read_Master_Log_Pos     #
194
 
Relay_Log_File  #
195
 
Relay_Log_Pos   #
196
 
Relay_Master_Log_File   master-bin.000001
197
 
Slave_IO_Running        Yes
198
 
Slave_SQL_Running       No
199
 
Replicate_Do_DB 
200
 
Replicate_Ignore_DB     
201
 
Replicate_Do_Table      
202
 
Replicate_Ignore_Table  #
203
 
Replicate_Wild_Do_Table 
204
 
Replicate_Wild_Ignore_Table     
205
 
Last_Errno      1535
206
 
Last_Error      Table definition on master and slave does not match: Column 0 type mismatch - received type 246, test.t4 has type 3
207
 
Skip_Counter    0
208
 
Exec_Master_Log_Pos     #
209
 
Relay_Log_Space #
210
 
Until_Condition None
211
 
Until_Log_File  
212
 
Until_Log_Pos   0
213
 
Master_SSL_Allowed      No
214
 
Master_SSL_CA_File      
215
 
Master_SSL_CA_Path      
216
 
Master_SSL_Cert 
217
 
Master_SSL_Cipher       
218
 
Master_SSL_Key  
219
 
Seconds_Behind_Master   #
220
 
Master_SSL_Verify_Server_Cert   No
221
 
Last_IO_Errno   #
222
 
Last_IO_Error   #
223
 
Last_SQL_Errno  1535
224
 
Last_SQL_Error  Table definition on master and slave does not match: Column 0 type mismatch - received type 246, test.t4 has type 3
225
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
226
 
START SLAVE;
 
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
227
115
*** Drop t4  ***
228
116
DROP TABLE t4;
229
117
*** Create t5 on slave  ***
243
131
INSERT INTO t5 () VALUES(1,'Kyle',200.23,1,'b1b1',23.00098),
244
132
(2,'JOE',300.01,0,'b2b2',1.0000009);
245
133
********************************************
246
 
*** Expect slave to fail with Error 1522 ***
 
134
*** Expect slave to fail with Error 1535 ***
247
135
********************************************
248
 
SHOW SLAVE STATUS;
249
 
Slave_IO_State  #
250
 
Master_Host     127.0.0.1
251
 
Master_User     root
252
 
Master_Port     #
253
 
Connect_Retry   1
254
 
Master_Log_File master-bin.000001
255
 
Read_Master_Log_Pos     #
256
 
Relay_Log_File  #
257
 
Relay_Log_Pos   #
258
 
Relay_Master_Log_File   master-bin.000001
259
 
Slave_IO_Running        Yes
260
 
Slave_SQL_Running       No
261
 
Replicate_Do_DB 
262
 
Replicate_Ignore_DB     
263
 
Replicate_Do_Table      
264
 
Replicate_Ignore_Table  #
265
 
Replicate_Wild_Do_Table 
266
 
Replicate_Wild_Ignore_Table     
267
 
Last_Errno      1535
268
 
Last_Error      Table definition on master and slave does not match: Column 5 type mismatch - received type 4, test.t5 has type 246
269
 
Skip_Counter    0
270
 
Exec_Master_Log_Pos     #
271
 
Relay_Log_Space #
272
 
Until_Condition None
273
 
Until_Log_File  
274
 
Until_Log_Pos   0
275
 
Master_SSL_Allowed      No
276
 
Master_SSL_CA_File      
277
 
Master_SSL_CA_Path      
278
 
Master_SSL_Cert 
279
 
Master_SSL_Cipher       
280
 
Master_SSL_Key  
281
 
Seconds_Behind_Master   #
282
 
Master_SSL_Verify_Server_Cert   No
283
 
Last_IO_Errno   #
284
 
Last_IO_Error   #
285
 
Last_SQL_Errno  1535
286
 
Last_SQL_Error  Table definition on master and slave does not match: Column 5 type mismatch - received type 4, test.t5 has type 246
287
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
288
 
START SLAVE;
 
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
289
140
*** Drop t5  ***
290
141
DROP TABLE t5;
291
142
*** Create t6 on slave  ***
304
155
INSERT INTO t6 () VALUES(1,'Kyle',200.23,1),
305
156
(2,'JOE',300.01,0);
306
157
********************************************
307
 
*** Expect slave to fail with Error 1522 ***
 
158
*** Expect slave to fail with Error 1535 ***
308
159
********************************************
309
 
SHOW SLAVE STATUS;
310
 
Slave_IO_State  #
311
 
Master_Host     127.0.0.1
312
 
Master_User     root
313
 
Master_Port     #
314
 
Connect_Retry   1
315
 
Master_Log_File master-bin.000001
316
 
Read_Master_Log_Pos     #
317
 
Relay_Log_File  #
318
 
Relay_Log_Pos   #
319
 
Relay_Master_Log_File   master-bin.000001
320
 
Slave_IO_Running        Yes
321
 
Slave_SQL_Running       No
322
 
Replicate_Do_DB 
323
 
Replicate_Ignore_DB     
324
 
Replicate_Do_Table      
325
 
Replicate_Ignore_Table  #
326
 
Replicate_Wild_Do_Table 
327
 
Replicate_Wild_Ignore_Table     
328
 
Last_Errno      1535
329
 
Last_Error      Table definition on master and slave does not match: Column 3 type mismatch - received type 16, test.t6 has type 3
330
 
Skip_Counter    0
331
 
Exec_Master_Log_Pos     #
332
 
Relay_Log_Space #
333
 
Until_Condition None
334
 
Until_Log_File  
335
 
Until_Log_Pos   0
336
 
Master_SSL_Allowed      No
337
 
Master_SSL_CA_File      
338
 
Master_SSL_CA_Path      
339
 
Master_SSL_Cert 
340
 
Master_SSL_Cipher       
341
 
Master_SSL_Key  
342
 
Seconds_Behind_Master   #
343
 
Master_SSL_Verify_Server_Cert   No
344
 
Last_IO_Errno   #
345
 
Last_IO_Error   #
346
 
Last_SQL_Errno  1535
347
 
Last_SQL_Error  Table definition on master and slave does not match: Column 3 type mismatch - received type 16, test.t6 has type 3
 
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
348
161
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=3;
349
162
*** Drop t6  ***
350
163
DROP TABLE t6;
440
253
set @b1 = concat(@b1,@b1);
441
254
INSERT INTO t10 () VALUES(1,@b1,'Kyle'),(2,@b1,'JOE'),(3,@b1,'QA');
442
255
********************************************
443
 
*** Expect slave to fail with Error 1522 ***
 
256
*** Expect slave to fail with Error 1535 ***
444
257
********************************************
445
 
SHOW SLAVE STATUS;
446
 
Slave_IO_State  #
447
 
Master_Host     127.0.0.1
448
 
Master_User     root
449
 
Master_Port     #
450
 
Connect_Retry   1
451
 
Master_Log_File master-bin.000001
452
 
Read_Master_Log_Pos     #
453
 
Relay_Log_File  #
454
 
Relay_Log_Pos   #
455
 
Relay_Master_Log_File   master-bin.000001
456
 
Slave_IO_Running        Yes
457
 
Slave_SQL_Running       No
458
 
Replicate_Do_DB 
459
 
Replicate_Ignore_DB     
460
 
Replicate_Do_Table      
461
 
Replicate_Ignore_Table  #
462
 
Replicate_Wild_Do_Table 
463
 
Replicate_Wild_Ignore_Table     
464
 
Last_Errno      1535
465
 
Last_Error      Table definition on master and slave does not match: Column 2 type mismatch - received type 254, test.t10 has type 5
466
 
Skip_Counter    0
467
 
Exec_Master_Log_Pos     #
468
 
Relay_Log_Space #
469
 
Until_Condition None
470
 
Until_Log_File  
471
 
Until_Log_Pos   0
472
 
Master_SSL_Allowed      No
473
 
Master_SSL_CA_File      
474
 
Master_SSL_CA_Path      
475
 
Master_SSL_Cert 
476
 
Master_SSL_Cipher       
477
 
Master_SSL_Key  
478
 
Seconds_Behind_Master   #
479
 
Master_SSL_Verify_Server_Cert   No
480
 
Last_IO_Errno   #
481
 
Last_IO_Error   #
482
 
Last_SQL_Errno  1535
483
 
Last_SQL_Error  Table definition on master and slave does not match: Column 2 type mismatch - received type 254, test.t10 has type 5
484
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
485
 
START SLAVE;
 
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 254, test.t10 has type 5
 
260
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
261
include/start_slave.inc
486
262
*** Drop t10  ***
487
263
DROP TABLE t10;
488
264
*** Create t11 on slave  ***
501
277
set @b1 = concat(@b1,@b1);
502
278
INSERT INTO t11 () VALUES(1,@b1,'Kyle'),(2,@b1,'JOE'),(3,@b1,'QA');
503
279
********************************************
504
 
*** Expect slave to fail with Error 1522 ***
 
280
*** Expect slave to fail with Error 1535 ***
505
281
********************************************
506
 
SHOW SLAVE STATUS;
507
 
Slave_IO_State  #
508
 
Master_Host     127.0.0.1
509
 
Master_User     root
510
 
Master_Port     #
511
 
Connect_Retry   1
512
 
Master_Log_File master-bin.000001
513
 
Read_Master_Log_Pos     #
514
 
Relay_Log_File  #
515
 
Relay_Log_Pos   #
516
 
Relay_Master_Log_File   master-bin.000001
517
 
Slave_IO_Running        Yes
518
 
Slave_SQL_Running       No
519
 
Replicate_Do_DB 
520
 
Replicate_Ignore_DB     
521
 
Replicate_Do_Table      
522
 
Replicate_Ignore_Table  #
523
 
Replicate_Wild_Do_Table 
524
 
Replicate_Wild_Ignore_Table     
525
 
Last_Errno      1535
526
 
Last_Error      Table definition on master and slave does not match: Column 2 type mismatch - received type 15, test.t11 has type 252
527
 
Skip_Counter    0
528
 
Exec_Master_Log_Pos     #
529
 
Relay_Log_Space #
530
 
Until_Condition None
531
 
Until_Log_File  
532
 
Until_Log_Pos   0
533
 
Master_SSL_Allowed      No
534
 
Master_SSL_CA_File      
535
 
Master_SSL_CA_Path      
536
 
Master_SSL_Cert 
537
 
Master_SSL_Cipher       
538
 
Master_SSL_Key  
539
 
Seconds_Behind_Master   #
540
 
Master_SSL_Verify_Server_Cert   No
541
 
Last_IO_Errno   #
542
 
Last_IO_Error   #
543
 
Last_SQL_Errno  1535
544
 
Last_SQL_Error  Table definition on master and slave does not match: Column 2 type mismatch - received type 15, test.t11 has type 252
545
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
546
 
START SLAVE;
 
282
--source include/wait_for_slave_sql_error_and_skip.inc
 
283
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 15, test.t11 has type 252
 
284
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
285
include/start_slave.inc
547
286
*** Drop t11  ***
548
287
DROP TABLE t11;
549
288
*** Create t12 on slave  ***
753
492
********************************************
754
493
*** Expect slave to fail with Error 1060 ***
755
494
********************************************
756
 
SHOW SLAVE STATUS;
757
 
Slave_IO_State  #
758
 
Master_Host     127.0.0.1
759
 
Master_User     root
760
 
Master_Port     #
761
 
Connect_Retry   1
762
 
Master_Log_File master-bin.000001
763
 
Read_Master_Log_Pos     #
764
 
Relay_Log_File  #
765
 
Relay_Log_Pos   #
766
 
Relay_Master_Log_File   master-bin.000001
767
 
Slave_IO_Running        Yes
768
 
Slave_SQL_Running       No
769
 
Replicate_Do_DB 
770
 
Replicate_Ignore_DB     
771
 
Replicate_Do_Table      
772
 
Replicate_Ignore_Table  #
773
 
Replicate_Wild_Do_Table 
774
 
Replicate_Wild_Ignore_Table     
775
 
Last_Errno      1060
776
 
Last_Error      Error 'Duplicate column name 'c6'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c6 INT AFTER c5'
777
 
Skip_Counter    0
778
 
Exec_Master_Log_Pos     #
779
 
Relay_Log_Space #
780
 
Until_Condition None
781
 
Until_Log_File  
782
 
Until_Log_Pos   0
783
 
Master_SSL_Allowed      No
784
 
Master_SSL_CA_File      
785
 
Master_SSL_CA_Path      
786
 
Master_SSL_Cert 
787
 
Master_SSL_Cipher       
788
 
Master_SSL_Key  
789
 
Seconds_Behind_Master   #
790
 
Master_SSL_Verify_Server_Cert   No
791
 
Last_IO_Errno   #
792
 
Last_IO_Error   #
793
 
Last_SQL_Errno  1060
794
 
Last_SQL_Error  Error 'Duplicate column name 'c6'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c6 INT AFTER c5'
795
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
796
 
START SLAVE;
 
495
--source include/wait_for_slave_sql_error_and_skip.inc
 
496
Last_SQL_Error = Error 'Duplicate column name 'c6'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c6 INT AFTER c5'
 
497
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 1;
 
498
include/start_slave.inc
797
499
*** Try to insert in master ****
798
500
INSERT INTO t15 () VALUES(5,2.00,'Replication Testing',@b1,'Buda',2);
799
501
SELECT * FROM t15 ORDER BY c1;
891
593
*** Master Data Insert ***
892
594
INSERT INTO t17 () VALUES(9223372036854775807,2,'Kyle, TEX');
893
595
********************************************
894
 
*** Expect slave to fail with Error 1522 ***
 
596
*** Expect slave to fail with Error 1535 ***
895
597
********************************************
896
 
SHOW SLAVE STATUS;
897
 
Slave_IO_State  #
898
 
Master_Host     127.0.0.1
899
 
Master_User     root
900
 
Master_Port     #
901
 
Connect_Retry   1
902
 
Master_Log_File master-bin.000001
903
 
Read_Master_Log_Pos     #
904
 
Relay_Log_File  #
905
 
Relay_Log_Pos   #
906
 
Relay_Master_Log_File   master-bin.000001
907
 
Slave_IO_Running        Yes
908
 
Slave_SQL_Running       No
909
 
Replicate_Do_DB 
910
 
Replicate_Ignore_DB     
911
 
Replicate_Do_Table      
912
 
Replicate_Ignore_Table  #
913
 
Replicate_Wild_Do_Table 
914
 
Replicate_Wild_Ignore_Table     
915
 
Last_Errno      1535
916
 
Last_Error      Table definition on master and slave does not match: Column 0 type mismatch - received type 8, test.t17 has type 2
917
 
Skip_Counter    0
918
 
Exec_Master_Log_Pos     #
919
 
Relay_Log_Space #
920
 
Until_Condition None
921
 
Until_Log_File  
922
 
Until_Log_Pos   0
923
 
Master_SSL_Allowed      No
924
 
Master_SSL_CA_File      
925
 
Master_SSL_CA_Path      
926
 
Master_SSL_Cert 
927
 
Master_SSL_Cipher       
928
 
Master_SSL_Key  
929
 
Seconds_Behind_Master   #
930
 
Master_SSL_Verify_Server_Cert   No
931
 
Last_IO_Errno   #
932
 
Last_IO_Error   #
933
 
Last_SQL_Errno  1535
934
 
Last_SQL_Error  Table definition on master and slave does not match: Column 0 type mismatch - received type 8, test.t17 has type 2
935
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
936
 
START SLAVE;
 
598
--source include/wait_for_slave_sql_error_and_skip.inc
 
599
Last_SQL_Error = Table definition on master and slave does not match: Column 0 type mismatch - received type 8, test.t17 has type 2
 
600
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
601
include/start_slave.inc
937
602
** DROP table t17 ***
938
603
DROP TABLE t17;