~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
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
# Test case1: INVOKES A TRIGGER with after insert action
8
4
create table t1(a int, b int) engine=innodb;
9
5
create table t2(i1 int not null auto_increment, a int, primary key(i1)) engine=innodb;
110
106
commit;
111
107
#Test if the results are consistent on master and slave
112
108
#for 'INVOKES A TRIGGER with after insert action'
113
 
Comparing tables master:test.t2 and slave:test.t2
114
 
Comparing tables master:test.t4 and slave:test.t4
115
 
Comparing tables master:test.t6 and slave:test.t6
 
109
include/diff_tables.inc [master:t2, slave:t2]
 
110
include/diff_tables.inc [master:t4, slave:t4]
 
111
include/diff_tables.inc [master:t6, slave:t6]
116
112
DROP TABLE t1;
117
113
DROP TABLE t2;
118
114
DROP TABLE t3;
226
222
commit;
227
223
#Test if the results are consistent on master and slave
228
224
#for 'INVOKES A TRIGGER with before insert action'
229
 
Comparing tables master:test.t2 and slave:test.t2
230
 
Comparing tables master:test.t4 and slave:test.t4
231
 
Comparing tables master:test.t6 and slave:test.t6
 
225
include/diff_tables.inc [master:t2, slave:t2]
 
226
include/diff_tables.inc [master:t4, slave:t4]
 
227
include/diff_tables.inc [master:t6, slave:t6]
232
228
DROP TABLE t1;
233
229
DROP TABLE t2;
234
230
DROP TABLE t3;
342
338
commit;
343
339
#Test if the results are consistent on master and slave
344
340
#for 'INVOKES A TRIGGER with after update action'
345
 
Comparing tables master:test.t2 and slave:test.t2
346
 
Comparing tables master:test.t4 and slave:test.t4
347
 
Comparing tables master:test.t6 and slave:test.t6
 
341
include/diff_tables.inc [master:t2, slave:t2]
 
342
include/diff_tables.inc [master:t4, slave:t4]
 
343
include/diff_tables.inc [master:t6, slave:t6]
348
344
DROP TABLE t1;
349
345
DROP TABLE t2;
350
346
DROP TABLE t3;
458
454
commit;
459
455
#Test if the results are consistent on master and slave
460
456
#for 'INVOKES A TRIGGER with before update action'
461
 
Comparing tables master:test.t2 and slave:test.t2
462
 
Comparing tables master:test.t4 and slave:test.t4
463
 
Comparing tables master:test.t6 and slave:test.t6
 
457
include/diff_tables.inc [master:t2, slave:t2]
 
458
include/diff_tables.inc [master:t4, slave:t4]
 
459
include/diff_tables.inc [master:t6, slave:t6]
464
460
DROP TABLE t1;
465
461
DROP TABLE t2;
466
462
DROP TABLE t3;
574
570
commit;
575
571
#Test if the results are consistent on master and slave
576
572
#for 'INVOKES A TRIGGER with after delete action'
577
 
Comparing tables master:test.t2 and slave:test.t2
578
 
Comparing tables master:test.t4 and slave:test.t4
579
 
Comparing tables master:test.t6 and slave:test.t6
 
573
include/diff_tables.inc [master:t2, slave:t2]
 
574
include/diff_tables.inc [master:t4, slave:t4]
 
575
include/diff_tables.inc [master:t6, slave:t6]
580
576
DROP TABLE t1;
581
577
DROP TABLE t2;
582
578
DROP TABLE t3;
690
686
commit;
691
687
#Test if the results are consistent on master and slave
692
688
#for 'INVOKES A TRIGGER with before delete action'
693
 
Comparing tables master:test.t2 and slave:test.t2
694
 
Comparing tables master:test.t4 and slave:test.t4
695
 
Comparing tables master:test.t6 and slave:test.t6
 
689
include/diff_tables.inc [master:t2, slave:t2]
 
690
include/diff_tables.inc [master:t4, slave:t4]
 
691
include/diff_tables.inc [master:t6, slave:t6]
696
692
DROP TABLE t1;
697
693
DROP TABLE t2;
698
694
DROP TABLE t3;
761
757
commit;
762
758
#Test if the results are consistent on master and slave
763
759
#for 'CALLS A FUNCTION which INVOKES A TRIGGER with after insert action'
764
 
Comparing tables master:test.t2 and slave:test.t2
765
 
Comparing tables master:test.t3 and slave:test.t3
 
760
include/diff_tables.inc [master:t2, slave:t2]
 
761
include/diff_tables.inc [master:t3, slave:t3]
766
762
drop table t1;
767
763
drop table t2;
768
764
drop table t3;
828
824
commit;
829
825
#Test if the results are consistent on master and slave
830
826
#for 'CALLS A FUNCTION which INVOKES A TRIGGER with before insert action'
831
 
Comparing tables master:test.t2 and slave:test.t2
832
 
Comparing tables master:test.t3 and slave:test.t3
 
827
include/diff_tables.inc [master:t2, slave:t2]
 
828
include/diff_tables.inc [master:t3, slave:t3]
833
829
drop table t1;
834
830
drop table t2;
835
831
drop table t3;
853
849
commit;
854
850
#Test if the results are consistent on master and slave
855
851
#for 'INSERT DATA INTO VIEW WHICH INVOKES TRIGGERS'
856
 
Comparing tables master:test.t3 and slave:test.t3
 
852
include/diff_tables.inc [master:t3, slave:t3]
857
853
DROP TABLE t1;
858
854
DROP TABLE t2;
859
855
DROP TABLE t3;
877
873
commit;
878
874
#Test if the results are consistent on master and slave
879
875
#for 'INSERT DATA INTO VIEW WHICH INVOKES TRIGGERS'
880
 
Comparing tables master:test.t3 and slave:test.t3
 
876
include/diff_tables.inc [master:t3, slave:t3]
881
877
DROP TABLE t1;
882
878
DROP TABLE t2;
883
879
DROP TABLE t3;
980
976
master-bin.000001       #       Xid     #       #       COMMIT /* XID */
981
977
#Test if the results are consistent on master and slave
982
978
#for 'UPDATE MORE THAN ONE TABLES ON TOP-STATEMENT'
983
 
Comparing tables master:test.t1 and slave:test.t1
984
 
Comparing tables master:test.t2 and slave:test.t2
 
979
include/diff_tables.inc [master:t1, slave:t1]
 
980
include/diff_tables.inc [master:t2, slave:t2]
985
981
drop table t1;
986
982
drop table t2;
987
983
# Test case14: INSERT DATA INTO VIEW WHICH INVOLVED MORE THAN ONE TABLES
1034
1030
master-bin.000001       #       Xid     #       #       COMMIT /* XID */
1035
1031
#Test if the results are consistent on master and slave
1036
1032
#for 'INSERT DATA INTO VIEW WHICH INVOLVED MORE THAN ONE TABLES'
1037
 
Comparing tables master:test.t1 and slave:test.t1
1038
 
Comparing tables master:test.t2 and slave:test.t2
 
1033
include/diff_tables.inc [master:t1, slave:t1]
 
1034
include/diff_tables.inc [master:t2, slave:t2]
1039
1035
drop table t1;
1040
1036
drop table t2;
1041
1037
drop view  v15;
 
1038
include/rpl_end.inc