~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/r/transaction_log_create.result

  • Committer: Stewart Smith
  • Date: 2011-02-07 08:29:23 UTC
  • mto: (2154.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2155.
  • Revision ID: stewart@flamingspork.com-20110207082923-li4wy2hne4mnnych
be sure to start a transaction with a startTransaction call on the first statement when autocommit is OFF. The only statements that DO NOT do this are a) DDL and b) SELECT without a table (e.g. SELECT DATABASE() and SHOW STATUS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
end_segment: true
69
69
 
70
70
 
 
71
COMMIT;
71
72
 
72
73
DROP TABLE t1;
73
74
SET GLOBAL transaction_log_truncate_debug= true;
194
195
end_segment: true
195
196
 
196
197
 
 
198
COMMIT;
197
199
 
198
200
DROP TABLE t1;
199
201
SET GLOBAL transaction_log_truncate_debug= true;
283
285
end_segment: true
284
286
 
285
287
 
 
288
COMMIT;
286
289
 
287
290
DROP TABLE t1;
288
291
SET GLOBAL transaction_log_truncate_debug= true;
396
399
end_segment: true
397
400
 
398
401
 
 
402
COMMIT;
399
403
 
400
404
DROP TABLE t1;
401
405
SET GLOBAL transaction_log_truncate_debug= true;
502
506
end_segment: true
503
507
 
504
508
 
 
509
COMMIT;
505
510
 
506
511
DROP TABLE t1;
507
512
SET GLOBAL transaction_log_truncate_debug= true;
633
638
end_segment: true
634
639
 
635
640
 
 
641
COMMIT;
636
642
 
637
643
DROP TABLE t1;
638
644
SET GLOBAL transaction_log_truncate_debug= true;
761
767
end_segment: true
762
768
 
763
769
 
 
770
COMMIT;
764
771
 
765
772
DROP TABLE t1;
766
773
SET GLOBAL transaction_log_truncate_debug= true;
836
843
end_segment: true
837
844
 
838
845
 
 
846
COMMIT;
839
847
 
840
848
negative test (should not be created / logged)
841
849
CREATE TABLE IF NOT EXISTS t1(b CHAR(100) NOT NULL, PRIMARY KEY(b));
908
916
end_segment: true
909
917
 
910
918
 
 
919
COMMIT;
911
920
 
912
921
DROP TABLE t1;
913
922
SET GLOBAL transaction_log_truncate_debug= true;
1002
1011
end_segment: true
1003
1012
 
1004
1013
 
 
1014
COMMIT;
1005
1015
 
1006
1016
CREATE TABLE t2(a INT NOT NULL, b INT , PRIMARY KEY(a), KEY b_key (b), 
1007
1017
CONSTRAINT fk_constraint_t2 FOREIGN KEY (b) REFERENCES t1(b) ON DELETE SET NULL ON UPDATE CASCADE);
1102
1112
end_segment: true
1103
1113
 
1104
1114
 
 
1115
COMMIT;
1105
1116
 
1106
1117
DROP TABLE t2;
1107
1118
DROP TABLE t1;
1197
1208
end_segment: true
1198
1209
 
1199
1210
 
 
1211
COMMIT;
1200
1212
 
1201
1213
CREATE TABLE t2 LIKE t1;
1202
1214
Check transaction_log_entries
1286
1298
end_segment: true
1287
1299
 
1288
1300
 
 
1301
COMMIT;
1289
1302
 
1290
1303
DROP TABLE t2;
1291
1304
DROP TABLE t1;
1403
1416
end_segment: true
1404
1417
 
1405
1418
 
 
1419
COMMIT;
1406
1420
 
1407
1421
DROP TABLE t1;
1408
1422
SET GLOBAL transaction_log_truncate_debug= true;
1501
1515
end_segment: true
1502
1516
 
1503
1517
 
 
1518
COMMIT;
1504
1519
 
1505
1520
DROP TABLE t1;
1506
1521
SET GLOBAL transaction_log_truncate_debug= true;
1598
1613
end_segment: true
1599
1614
 
1600
1615
 
 
1616
COMMIT;
1601
1617
 
1602
1618
DROP TABLE t1;
1603
1619
SET GLOBAL transaction_log_truncate_debug= true;
1900
1916
end_segment: true
1901
1917
 
1902
1918
 
 
1919
COMMIT;
1903
1920
 
1904
1921
DROP TABLE t1;
1905
1922
SET GLOBAL transaction_log_truncate_debug= true;
2059
2076
end_segment: true
2060
2077
 
2061
2078
 
 
2079
COMMIT;
2062
2080
 
2063
2081
DROP TABLE t1;
2064
2082
SET GLOBAL transaction_log_truncate_debug= true;