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

« back to all changes in this revision

Viewing changes to mysql-test/suite/ndb_team/r/rpl_ndb_extraColMaster.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:
91
91
27      27      27      next
92
92
29      29      29      second
93
93
30      30      30      next
94
 
 
95
 
* Show Slave Status *
96
 
 
97
 
show slave status;;
98
 
Slave_IO_State  #
99
 
Master_Host     127.0.0.1
100
 
Master_User     root
101
 
Master_Port     #
102
 
Connect_Retry   1
103
 
Master_Log_File master-bin.000001
104
 
Read_Master_Log_Pos     #
105
 
Relay_Log_File  #
106
 
Relay_Log_Pos   #
107
 
Relay_Master_Log_File   master-bin.000001
108
 
Slave_IO_Running        Yes
109
 
Slave_SQL_Running       Yes
110
 
Replicate_Do_DB 
111
 
Replicate_Ignore_DB     
112
 
Replicate_Do_Table      
113
 
Replicate_Ignore_Table  
114
 
Replicate_Wild_Do_Table 
115
 
Replicate_Wild_Ignore_Table     
116
 
Last_Errno      0
117
 
Last_Error      
118
 
Skip_Counter    0
119
 
Exec_Master_Log_Pos     #
120
 
Relay_Log_Space #
121
 
Until_Condition None
122
 
Until_Log_File  
123
 
Until_Log_Pos   0
124
 
Master_SSL_Allowed      No
125
 
Master_SSL_CA_File      
126
 
Master_SSL_CA_Path      
127
 
Master_SSL_Cert 
128
 
Master_SSL_Cipher       
129
 
Master_SSL_Key  
130
 
Seconds_Behind_Master   #
131
 
Master_SSL_Verify_Server_Cert   No
132
 
Last_IO_Errno   #
133
 
Last_IO_Error   #
134
 
Last_SQL_Errno  0
135
 
Last_SQL_Error  
136
 
 
 
94
Checking that both slave threads are running.
137
95
 
138
96
***** Testing Altering table def scenario *****
139
97
 
454
412
update t31 set f5=555555555555555 where f3=6;
455
413
update t31 set f2=2 where f3=2;
456
414
update t31 set f1=NULL where f3=1;
457
 
update t31 set f3=0, f27=NULL, f35='f35 new value' where f3=3;
 
415
update t31 set f3=NULL, f27=NULL, f35='f35 new value' where f3=3;
 
416
Warnings:
 
417
Warning 1048    Column 'f3' cannot be null
458
418
 
459
419
** Delete from Master **
460
420
 
463
423
delete from t3;
464
424
delete from t4;
465
425
delete from t31;
 
426
select * from t31;
 
427
f1      f2      f3      f4
466
428
 
467
429
** Check slave status **
468
430
 
469
 
select * from t31;
470
 
f1      f2      f3      f4
471
 
show slave status;;
472
 
Slave_IO_State  #
473
 
Master_Host     127.0.0.1
474
 
Master_User     root
475
 
Master_Port     #
476
 
Connect_Retry   1
477
 
Master_Log_File master-bin.000001
478
 
Read_Master_Log_Pos     #
479
 
Relay_Log_File  #
480
 
Relay_Log_Pos   #
481
 
Relay_Master_Log_File   master-bin.000001
482
 
Slave_IO_Running        Yes
483
 
Slave_SQL_Running       Yes
484
 
Replicate_Do_DB 
485
 
Replicate_Ignore_DB     
486
 
Replicate_Do_Table      
487
 
Replicate_Ignore_Table  
488
 
Replicate_Wild_Do_Table 
489
 
Replicate_Wild_Ignore_Table     
490
 
Last_Errno      0
491
 
Last_Error      
492
 
Skip_Counter    0
493
 
Exec_Master_Log_Pos     #
494
 
Relay_Log_Space #
495
 
Until_Condition None
496
 
Until_Log_File  
497
 
Until_Log_Pos   0
498
 
Master_SSL_Allowed      No
499
 
Master_SSL_CA_File      
500
 
Master_SSL_CA_Path      
501
 
Master_SSL_Cert 
502
 
Master_SSL_Cipher       
503
 
Master_SSL_Key  
504
 
Seconds_Behind_Master   #
505
 
Master_SSL_Verify_Server_Cert   No
506
 
Last_IO_Errno   #
507
 
Last_IO_Error   #
508
 
Last_SQL_Errno  0
509
 
Last_SQL_Error  
 
431
Checking that both slave threads are running.
510
432
 
511
433
****************************************
512
434
* columns in master at middle of table *
539
461
(3,@b1,DEFAULT,'QA',DEFAULT);
540
462
 
541
463
********************************************
542
 
*** Expect slave to fail with Error 1523 ***
 
464
*** Expect slave to fail with Error 1535 ***
543
465
********************************************
544
466
 
545
 
SHOW SLAVE STATUS;
546
 
Slave_IO_State  #
547
 
Master_Host     127.0.0.1
548
 
Master_User     root
549
 
Master_Port     #
550
 
Connect_Retry   1
551
 
Master_Log_File master-bin.000001
552
 
Read_Master_Log_Pos     #
553
 
Relay_Log_File  #
554
 
Relay_Log_Pos   #
555
 
Relay_Master_Log_File   master-bin.000001
556
 
Slave_IO_Running        Yes
557
 
Slave_SQL_Running       No
558
 
Replicate_Do_DB 
559
 
Replicate_Ignore_DB     
560
 
Replicate_Do_Table      
561
 
Replicate_Ignore_Table  
562
 
Replicate_Wild_Do_Table 
563
 
Replicate_Wild_Ignore_Table     
564
 
Last_Errno      1535
565
 
Last_Error      Table definition on master and slave does not match: Column 2 type mismatch - received type 5, test.t10 has type 254
566
 
Skip_Counter    0
567
 
Exec_Master_Log_Pos     #
568
 
Relay_Log_Space #
569
 
Until_Condition None
570
 
Until_Log_File  
571
 
Until_Log_Pos   0
572
 
Master_SSL_Allowed      No
573
 
Master_SSL_CA_File      
574
 
Master_SSL_CA_Path      
575
 
Master_SSL_Cert 
576
 
Master_SSL_Cipher       
577
 
Master_SSL_Key  
578
 
Seconds_Behind_Master   #
579
 
Master_SSL_Verify_Server_Cert   No
580
 
Last_IO_Errno   #
581
 
Last_IO_Error   #
582
 
Last_SQL_Errno  1535
583
 
Last_SQL_Error  Table definition on master and slave does not match: Column 2 type mismatch - received type 5, test.t10 has type 254
584
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
585
 
START SLAVE;
 
467
--source include/wait_for_slave_sql_error_and_skip.inc
 
468
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 5, test.t10 has type 254
 
469
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
470
include/start_slave.inc
586
471
 
587
472
*** Drop t10  ***
588
473
DROP TABLE t10;
614
499
(3,@b1,DEFAULT,'QA',DEFAULT);
615
500
 
616
501
********************************************
617
 
*** Expect slave to fail with Error 1523 ***
 
502
*** Expect slave to fail with Error 1535 ***
618
503
********************************************
619
504
 
620
 
SHOW SLAVE STATUS;
621
 
Slave_IO_State  #
622
 
Master_Host     127.0.0.1
623
 
Master_User     root
624
 
Master_Port     #
625
 
Connect_Retry   1
626
 
Master_Log_File master-bin.000001
627
 
Read_Master_Log_Pos     #
628
 
Relay_Log_File  #
629
 
Relay_Log_Pos   #
630
 
Relay_Master_Log_File   master-bin.000001
631
 
Slave_IO_Running        Yes
632
 
Slave_SQL_Running       No
633
 
Replicate_Do_DB 
634
 
Replicate_Ignore_DB     
635
 
Replicate_Do_Table      
636
 
Replicate_Ignore_Table  
637
 
Replicate_Wild_Do_Table 
638
 
Replicate_Wild_Ignore_Table     
639
 
Last_Errno      1535
640
 
Last_Error      Table definition on master and slave does not match: Column 2 type mismatch - received type 252, test.t11 has type 15
641
 
Skip_Counter    0
642
 
Exec_Master_Log_Pos     #
643
 
Relay_Log_Space #
644
 
Until_Condition None
645
 
Until_Log_File  
646
 
Until_Log_Pos   0
647
 
Master_SSL_Allowed      No
648
 
Master_SSL_CA_File      
649
 
Master_SSL_CA_Path      
650
 
Master_SSL_Cert 
651
 
Master_SSL_Cipher       
652
 
Master_SSL_Key  
653
 
Seconds_Behind_Master   #
654
 
Master_SSL_Verify_Server_Cert   No
655
 
Last_IO_Errno   #
656
 
Last_IO_Error   #
657
 
Last_SQL_Errno  1535
658
 
Last_SQL_Error  Table definition on master and slave does not match: Column 2 type mismatch - received type 252, test.t11 has type 15
659
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
660
 
START SLAVE;
 
505
--source include/wait_for_slave_sql_error_and_skip.inc
 
506
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 252, test.t11 has type 15
 
507
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
508
include/start_slave.inc
661
509
 
662
510
*** Drop t11  ***
663
511
DROP TABLE t11;
768
616
************
769
617
* Bug30415 *
770
618
************
771
 
SHOW SLAVE STATUS;
772
 
Slave_IO_State  #
773
 
Master_Host     127.0.0.1
774
 
Master_User     root
775
 
Master_Port     #
776
 
Connect_Retry   1
777
 
Master_Log_File master-bin.000001
778
 
Read_Master_Log_Pos     #
779
 
Relay_Log_File  #
780
 
Relay_Log_Pos   #
781
 
Relay_Master_Log_File   master-bin.000001
782
 
Slave_IO_Running        Yes
783
 
Slave_SQL_Running       No
784
 
Replicate_Do_DB 
785
 
Replicate_Ignore_DB     
786
 
Replicate_Do_Table      
787
 
Replicate_Ignore_Table  
788
 
Replicate_Wild_Do_Table 
789
 
Replicate_Wild_Ignore_Table     
790
 
Last_Errno      1091
791
 
Last_Error      Error 'Can't DROP 'c7'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7'
792
 
Skip_Counter    0
793
 
Exec_Master_Log_Pos     #
794
 
Relay_Log_Space #
795
 
Until_Condition None
796
 
Until_Log_File  
797
 
Until_Log_Pos   0
798
 
Master_SSL_Allowed      No
799
 
Master_SSL_CA_File      
800
 
Master_SSL_CA_Path      
801
 
Master_SSL_Cert 
802
 
Master_SSL_Cipher       
803
 
Master_SSL_Key  
804
 
Seconds_Behind_Master   #
805
 
Master_SSL_Verify_Server_Cert   No
806
 
Last_IO_Errno   #
807
 
Last_IO_Error   #
808
 
Last_SQL_Errno  1091
809
 
Last_SQL_Error  Error 'Can't DROP 'c7'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7'
 
619
Last_SQL_Error = Error 'Can't DROP 'c7'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7'
810
620
STOP SLAVE;
811
621
RESET SLAVE;
812
622
 
854
664
*** Expect slave to fail with Error 1054 ***
855
665
********************************************
856
666
 
857
 
SHOW SLAVE STATUS;
858
 
Slave_IO_State  #
859
 
Master_Host     127.0.0.1
860
 
Master_User     root
861
 
Master_Port     #
862
 
Connect_Retry   1
863
 
Master_Log_File master-bin.000001
864
 
Read_Master_Log_Pos     #
865
 
Relay_Log_File  #
866
 
Relay_Log_Pos   #
867
 
Relay_Master_Log_File   master-bin.000001
868
 
Slave_IO_Running        Yes
869
 
Slave_SQL_Running       No
870
 
Replicate_Do_DB 
871
 
Replicate_Ignore_DB     
872
 
Replicate_Do_Table      
873
 
Replicate_Ignore_Table  
874
 
Replicate_Wild_Do_Table 
875
 
Replicate_Wild_Ignore_Table     
876
 
Last_Errno      1054
877
 
Last_Error      Error 'Unknown column 'c7' in 't15'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c2 DECIMAL(8,2) AFTER c7'
878
 
Skip_Counter    0
879
 
Exec_Master_Log_Pos     #
880
 
Relay_Log_Space #
881
 
Until_Condition None
882
 
Until_Log_File  
883
 
Until_Log_Pos   0
884
 
Master_SSL_Allowed      No
885
 
Master_SSL_CA_File      
886
 
Master_SSL_CA_Path      
887
 
Master_SSL_Cert 
888
 
Master_SSL_Cipher       
889
 
Master_SSL_Key  
890
 
Seconds_Behind_Master   #
891
 
Master_SSL_Verify_Server_Cert   No
892
 
Last_IO_Errno   #
893
 
Last_IO_Error   #
894
 
Last_SQL_Errno  1054
895
 
Last_SQL_Error  Error 'Unknown column 'c7' in 't15'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c2 DECIMAL(8,2) AFTER c7'
 
667
Last_SQL_Error = Error 'Unknown column 'c7' in 't15'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c2 DECIMAL(8,2) AFTER c7'
896
668
STOP SLAVE;
897
669
RESET SLAVE;
898
670
 
940
712
*** BUG 30434 ***
941
713
*****************
942
714
 
943
 
SHOW SLAVE STATUS;
944
 
Slave_IO_State  #
945
 
Master_Host     127.0.0.1
946
 
Master_User     root
947
 
Master_Port     #
948
 
Connect_Retry   1
949
 
Master_Log_File master-bin.000001
950
 
Read_Master_Log_Pos     #
951
 
Relay_Log_File  #
952
 
Relay_Log_Pos   #
953
 
Relay_Master_Log_File   master-bin.000001
954
 
Slave_IO_Running        Yes
955
 
Slave_SQL_Running       No
956
 
Replicate_Do_DB 
957
 
Replicate_Ignore_DB     
958
 
Replicate_Do_Table      
959
 
Replicate_Ignore_Table  
960
 
Replicate_Wild_Do_Table 
961
 
Replicate_Wild_Ignore_Table     
962
 
Last_Errno      1072
963
 
Last_Error      Error 'Key column 'c6' doesn't exist in table' on query. Default database: 'test'. Query: 'CREATE INDEX part_of_c6 ON t16 (c6)'
964
 
Skip_Counter    0
965
 
Exec_Master_Log_Pos     #
966
 
Relay_Log_Space #
967
 
Until_Condition None
968
 
Until_Log_File  
969
 
Until_Log_Pos   0
970
 
Master_SSL_Allowed      No
971
 
Master_SSL_CA_File      
972
 
Master_SSL_CA_Path      
973
 
Master_SSL_Cert 
974
 
Master_SSL_Cipher       
975
 
Master_SSL_Key  
976
 
Seconds_Behind_Master   #
977
 
Master_SSL_Verify_Server_Cert   No
978
 
Last_IO_Errno   #
979
 
Last_IO_Error   #
980
 
Last_SQL_Errno  1072
981
 
Last_SQL_Error  Error 'Key column 'c6' doesn't exist in table' on query. Default database: 'test'. Query: 'CREATE INDEX part_of_c6 ON t16 (c6)'
 
715
Last_SQL_Error = Error 'Key column 'c6' doesn't exist in table' on query. Default database: 'test'. Query: 'CREATE INDEX part_of_c6 ON t16 (c6)'
982
716
STOP SLAVE;
983
717
RESET SLAVE;
984
718
 
1230
964
27      27      27      next
1231
965
29      29      29      second
1232
966
30      30      30      next
1233
 
 
1234
 
* Show Slave Status *
1235
 
 
1236
 
show slave status;;
1237
 
Slave_IO_State  #
1238
 
Master_Host     127.0.0.1
1239
 
Master_User     root
1240
 
Master_Port     #
1241
 
Connect_Retry   1
1242
 
Master_Log_File master-bin.000001
1243
 
Read_Master_Log_Pos     #
1244
 
Relay_Log_File  #
1245
 
Relay_Log_Pos   #
1246
 
Relay_Master_Log_File   master-bin.000001
1247
 
Slave_IO_Running        Yes
1248
 
Slave_SQL_Running       Yes
1249
 
Replicate_Do_DB 
1250
 
Replicate_Ignore_DB     
1251
 
Replicate_Do_Table      
1252
 
Replicate_Ignore_Table  
1253
 
Replicate_Wild_Do_Table 
1254
 
Replicate_Wild_Ignore_Table     
1255
 
Last_Errno      0
1256
 
Last_Error      
1257
 
Skip_Counter    0
1258
 
Exec_Master_Log_Pos     #
1259
 
Relay_Log_Space #
1260
 
Until_Condition None
1261
 
Until_Log_File  
1262
 
Until_Log_Pos   0
1263
 
Master_SSL_Allowed      No
1264
 
Master_SSL_CA_File      
1265
 
Master_SSL_CA_Path      
1266
 
Master_SSL_Cert 
1267
 
Master_SSL_Cipher       
1268
 
Master_SSL_Key  
1269
 
Seconds_Behind_Master   #
1270
 
Master_SSL_Verify_Server_Cert   No
1271
 
Last_IO_Errno   #
1272
 
Last_IO_Error   #
1273
 
Last_SQL_Errno  0
1274
 
Last_SQL_Error  
1275
 
 
 
967
Checking that both slave threads are running.
1276
968
 
1277
969
***** Testing Altering table def scenario *****
1278
970
 
1593
1285
update t31 set f5=555555555555555 where f3=6;
1594
1286
update t31 set f2=2 where f3=2;
1595
1287
update t31 set f1=NULL where f3=1;
1596
 
update t31 set f3=0, f27=NULL, f35='f35 new value' where f3=3;
 
1288
update t31 set f3=NULL, f27=NULL, f35='f35 new value' where f3=3;
 
1289
Warnings:
 
1290
Warning 1048    Column 'f3' cannot be null
1597
1291
 
1598
1292
** Delete from Master **
1599
1293
 
1602
1296
delete from t3;
1603
1297
delete from t4;
1604
1298
delete from t31;
 
1299
select * from t31;
 
1300
f1      f2      f3      f4
1605
1301
 
1606
1302
** Check slave status **
1607
1303
 
1608
 
select * from t31;
1609
 
f1      f2      f3      f4
1610
 
show slave status;;
1611
 
Slave_IO_State  #
1612
 
Master_Host     127.0.0.1
1613
 
Master_User     root
1614
 
Master_Port     #
1615
 
Connect_Retry   1
1616
 
Master_Log_File master-bin.000001
1617
 
Read_Master_Log_Pos     #
1618
 
Relay_Log_File  #
1619
 
Relay_Log_Pos   #
1620
 
Relay_Master_Log_File   master-bin.000001
1621
 
Slave_IO_Running        Yes
1622
 
Slave_SQL_Running       Yes
1623
 
Replicate_Do_DB 
1624
 
Replicate_Ignore_DB     
1625
 
Replicate_Do_Table      
1626
 
Replicate_Ignore_Table  
1627
 
Replicate_Wild_Do_Table 
1628
 
Replicate_Wild_Ignore_Table     
1629
 
Last_Errno      0
1630
 
Last_Error      
1631
 
Skip_Counter    0
1632
 
Exec_Master_Log_Pos     #
1633
 
Relay_Log_Space #
1634
 
Until_Condition None
1635
 
Until_Log_File  
1636
 
Until_Log_Pos   0
1637
 
Master_SSL_Allowed      No
1638
 
Master_SSL_CA_File      
1639
 
Master_SSL_CA_Path      
1640
 
Master_SSL_Cert 
1641
 
Master_SSL_Cipher       
1642
 
Master_SSL_Key  
1643
 
Seconds_Behind_Master   #
1644
 
Master_SSL_Verify_Server_Cert   No
1645
 
Last_IO_Errno   #
1646
 
Last_IO_Error   #
1647
 
Last_SQL_Errno  0
1648
 
Last_SQL_Error  
 
1304
Checking that both slave threads are running.
1649
1305
 
1650
1306
****************************************
1651
1307
* columns in master at middle of table *
1678
1334
(3,@b1,DEFAULT,'QA',DEFAULT);
1679
1335
 
1680
1336
********************************************
1681
 
*** Expect slave to fail with Error 1523 ***
 
1337
*** Expect slave to fail with Error 1535 ***
1682
1338
********************************************
1683
1339
 
1684
 
SHOW SLAVE STATUS;
1685
 
Slave_IO_State  #
1686
 
Master_Host     127.0.0.1
1687
 
Master_User     root
1688
 
Master_Port     #
1689
 
Connect_Retry   1
1690
 
Master_Log_File master-bin.000001
1691
 
Read_Master_Log_Pos     #
1692
 
Relay_Log_File  #
1693
 
Relay_Log_Pos   #
1694
 
Relay_Master_Log_File   master-bin.000001
1695
 
Slave_IO_Running        Yes
1696
 
Slave_SQL_Running       No
1697
 
Replicate_Do_DB 
1698
 
Replicate_Ignore_DB     
1699
 
Replicate_Do_Table      
1700
 
Replicate_Ignore_Table  
1701
 
Replicate_Wild_Do_Table 
1702
 
Replicate_Wild_Ignore_Table     
1703
 
Last_Errno      1535
1704
 
Last_Error      Table definition on master and slave does not match: Column 2 type mismatch - received type 5, test.t10 has type 254
1705
 
Skip_Counter    0
1706
 
Exec_Master_Log_Pos     #
1707
 
Relay_Log_Space #
1708
 
Until_Condition None
1709
 
Until_Log_File  
1710
 
Until_Log_Pos   0
1711
 
Master_SSL_Allowed      No
1712
 
Master_SSL_CA_File      
1713
 
Master_SSL_CA_Path      
1714
 
Master_SSL_Cert 
1715
 
Master_SSL_Cipher       
1716
 
Master_SSL_Key  
1717
 
Seconds_Behind_Master   #
1718
 
Master_SSL_Verify_Server_Cert   No
1719
 
Last_IO_Errno   #
1720
 
Last_IO_Error   #
1721
 
Last_SQL_Errno  1535
1722
 
Last_SQL_Error  Table definition on master and slave does not match: Column 2 type mismatch - received type 5, test.t10 has type 254
1723
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
1724
 
START SLAVE;
 
1340
--source include/wait_for_slave_sql_error_and_skip.inc
 
1341
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 5, test.t10 has type 254
 
1342
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
1343
include/start_slave.inc
1725
1344
 
1726
1345
*** Drop t10  ***
1727
1346
DROP TABLE t10;
1753
1372
(3,@b1,DEFAULT,'QA',DEFAULT);
1754
1373
 
1755
1374
********************************************
1756
 
*** Expect slave to fail with Error 1523 ***
 
1375
*** Expect slave to fail with Error 1535 ***
1757
1376
********************************************
1758
1377
 
1759
 
SHOW SLAVE STATUS;
1760
 
Slave_IO_State  #
1761
 
Master_Host     127.0.0.1
1762
 
Master_User     root
1763
 
Master_Port     #
1764
 
Connect_Retry   1
1765
 
Master_Log_File master-bin.000001
1766
 
Read_Master_Log_Pos     #
1767
 
Relay_Log_File  #
1768
 
Relay_Log_Pos   #
1769
 
Relay_Master_Log_File   master-bin.000001
1770
 
Slave_IO_Running        Yes
1771
 
Slave_SQL_Running       No
1772
 
Replicate_Do_DB 
1773
 
Replicate_Ignore_DB     
1774
 
Replicate_Do_Table      
1775
 
Replicate_Ignore_Table  
1776
 
Replicate_Wild_Do_Table 
1777
 
Replicate_Wild_Ignore_Table     
1778
 
Last_Errno      1535
1779
 
Last_Error      Table definition on master and slave does not match: Column 2 type mismatch - received type 252, test.t11 has type 15
1780
 
Skip_Counter    0
1781
 
Exec_Master_Log_Pos     #
1782
 
Relay_Log_Space #
1783
 
Until_Condition None
1784
 
Until_Log_File  
1785
 
Until_Log_Pos   0
1786
 
Master_SSL_Allowed      No
1787
 
Master_SSL_CA_File      
1788
 
Master_SSL_CA_Path      
1789
 
Master_SSL_Cert 
1790
 
Master_SSL_Cipher       
1791
 
Master_SSL_Key  
1792
 
Seconds_Behind_Master   #
1793
 
Master_SSL_Verify_Server_Cert   No
1794
 
Last_IO_Errno   #
1795
 
Last_IO_Error   #
1796
 
Last_SQL_Errno  1535
1797
 
Last_SQL_Error  Table definition on master and slave does not match: Column 2 type mismatch - received type 252, test.t11 has type 15
1798
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=2;
1799
 
START SLAVE;
 
1378
--source include/wait_for_slave_sql_error_and_skip.inc
 
1379
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 252, test.t11 has type 15
 
1380
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
 
1381
include/start_slave.inc
1800
1382
 
1801
1383
*** Drop t11  ***
1802
1384
DROP TABLE t11;
1907
1489
************
1908
1490
* Bug30415 *
1909
1491
************
1910
 
SHOW SLAVE STATUS;
1911
 
Slave_IO_State  #
1912
 
Master_Host     127.0.0.1
1913
 
Master_User     root
1914
 
Master_Port     #
1915
 
Connect_Retry   1
1916
 
Master_Log_File master-bin.000001
1917
 
Read_Master_Log_Pos     #
1918
 
Relay_Log_File  #
1919
 
Relay_Log_Pos   #
1920
 
Relay_Master_Log_File   master-bin.000001
1921
 
Slave_IO_Running        Yes
1922
 
Slave_SQL_Running       No
1923
 
Replicate_Do_DB 
1924
 
Replicate_Ignore_DB     
1925
 
Replicate_Do_Table      
1926
 
Replicate_Ignore_Table  
1927
 
Replicate_Wild_Do_Table 
1928
 
Replicate_Wild_Ignore_Table     
1929
 
Last_Errno      1091
1930
 
Last_Error      Error 'Can't DROP 'c7'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7'
1931
 
Skip_Counter    0
1932
 
Exec_Master_Log_Pos     #
1933
 
Relay_Log_Space #
1934
 
Until_Condition None
1935
 
Until_Log_File  
1936
 
Until_Log_Pos   0
1937
 
Master_SSL_Allowed      No
1938
 
Master_SSL_CA_File      
1939
 
Master_SSL_CA_Path      
1940
 
Master_SSL_Cert 
1941
 
Master_SSL_Cipher       
1942
 
Master_SSL_Key  
1943
 
Seconds_Behind_Master   #
1944
 
Master_SSL_Verify_Server_Cert   No
1945
 
Last_IO_Errno   #
1946
 
Last_IO_Error   #
1947
 
Last_SQL_Errno  1091
1948
 
Last_SQL_Error  Error 'Can't DROP 'c7'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7'
 
1492
Last_SQL_Error = Error 'Can't DROP 'c7'; check that column/key exists' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7'
1949
1493
STOP SLAVE;
1950
1494
RESET SLAVE;
1951
1495
 
1993
1537
*** Expect slave to fail with Error 1054 ***
1994
1538
********************************************
1995
1539
 
1996
 
SHOW SLAVE STATUS;
1997
 
Slave_IO_State  #
1998
 
Master_Host     127.0.0.1
1999
 
Master_User     root
2000
 
Master_Port     #
2001
 
Connect_Retry   1
2002
 
Master_Log_File master-bin.000001
2003
 
Read_Master_Log_Pos     #
2004
 
Relay_Log_File  #
2005
 
Relay_Log_Pos   #
2006
 
Relay_Master_Log_File   master-bin.000001
2007
 
Slave_IO_Running        Yes
2008
 
Slave_SQL_Running       No
2009
 
Replicate_Do_DB 
2010
 
Replicate_Ignore_DB     
2011
 
Replicate_Do_Table      
2012
 
Replicate_Ignore_Table  
2013
 
Replicate_Wild_Do_Table 
2014
 
Replicate_Wild_Ignore_Table     
2015
 
Last_Errno      1054
2016
 
Last_Error      Error 'Unknown column 'c7' in 't15'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c2 DECIMAL(8,2) AFTER c7'
2017
 
Skip_Counter    0
2018
 
Exec_Master_Log_Pos     #
2019
 
Relay_Log_Space #
2020
 
Until_Condition None
2021
 
Until_Log_File  
2022
 
Until_Log_Pos   0
2023
 
Master_SSL_Allowed      No
2024
 
Master_SSL_CA_File      
2025
 
Master_SSL_CA_Path      
2026
 
Master_SSL_Cert 
2027
 
Master_SSL_Cipher       
2028
 
Master_SSL_Key  
2029
 
Seconds_Behind_Master   #
2030
 
Master_SSL_Verify_Server_Cert   No
2031
 
Last_IO_Errno   #
2032
 
Last_IO_Error   #
2033
 
Last_SQL_Errno  1054
2034
 
Last_SQL_Error  Error 'Unknown column 'c7' in 't15'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c2 DECIMAL(8,2) AFTER c7'
 
1540
Last_SQL_Error = Error 'Unknown column 'c7' in 't15'' on query. Default database: 'test'. Query: 'ALTER TABLE t15 ADD COLUMN c2 DECIMAL(8,2) AFTER c7'
2035
1541
STOP SLAVE;
2036
1542
RESET SLAVE;
2037
1543
 
2079
1585
*** BUG 30434 ***
2080
1586
*****************
2081
1587
 
2082
 
SHOW SLAVE STATUS;
2083
 
Slave_IO_State  #
2084
 
Master_Host     127.0.0.1
2085
 
Master_User     root
2086
 
Master_Port     #
2087
 
Connect_Retry   1
2088
 
Master_Log_File master-bin.000001
2089
 
Read_Master_Log_Pos     #
2090
 
Relay_Log_File  #
2091
 
Relay_Log_Pos   #
2092
 
Relay_Master_Log_File   master-bin.000001
2093
 
Slave_IO_Running        Yes
2094
 
Slave_SQL_Running       No
2095
 
Replicate_Do_DB 
2096
 
Replicate_Ignore_DB     
2097
 
Replicate_Do_Table      
2098
 
Replicate_Ignore_Table  
2099
 
Replicate_Wild_Do_Table 
2100
 
Replicate_Wild_Ignore_Table     
2101
 
Last_Errno      1072
2102
 
Last_Error      Error 'Key column 'c6' doesn't exist in table' on query. Default database: 'test'. Query: 'CREATE INDEX part_of_c6 ON t16 (c6)'
2103
 
Skip_Counter    0
2104
 
Exec_Master_Log_Pos     #
2105
 
Relay_Log_Space #
2106
 
Until_Condition None
2107
 
Until_Log_File  
2108
 
Until_Log_Pos   0
2109
 
Master_SSL_Allowed      No
2110
 
Master_SSL_CA_File      
2111
 
Master_SSL_CA_Path      
2112
 
Master_SSL_Cert 
2113
 
Master_SSL_Cipher       
2114
 
Master_SSL_Key  
2115
 
Seconds_Behind_Master   #
2116
 
Master_SSL_Verify_Server_Cert   No
2117
 
Last_IO_Errno   #
2118
 
Last_IO_Error   #
2119
 
Last_SQL_Errno  1072
2120
 
Last_SQL_Error  Error 'Key column 'c6' doesn't exist in table' on query. Default database: 'test'. Query: 'CREATE INDEX part_of_c6 ON t16 (c6)'
 
1588
Last_SQL_Error = Error 'Key column 'c6' doesn't exist in table' on query. Default database: 'test'. Query: 'CREATE INDEX part_of_c6 ON t16 (c6)'
2121
1589
STOP SLAVE;
2122
1590
RESET SLAVE;
2123
1591