~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/suite/falcon_team/r/falcon_bug_28048.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#---- Bug 28048 ----
2
 
SET STORAGE_ENGINE='Falcon';
 
1
*** Bug #28048 ***
 
2
SET @@storage_engine = 'Falcon';
3
3
DROP TABLE IF EXISTS t1;
4
 
create table t1 (n int not null primary key) ;
5
 
set autocommit=0;
 
4
create table t1 (n int not null primary key);
 
5
set @@autocommit = 0;
6
6
insert into t1 values (4);
7
7
rollback;
8
8
select n, "after rollback" from t1;
21
21
n       after commit
22
22
4       after commit
23
23
5       after commit
24
 
set autocommit=1;
 
24
set @@autocommit = 1;
25
25
insert into t1 values (6);
26
26
insert into t1 values (4);
27
27
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30
30
4
31
31
5
32
32
6
33
 
set autocommit=0;
 
33
set @@autocommit = 0;
34
34
DROP TABLE t1;
35
35
999;
36
 
create table t1 (n int not null primary key) ;
37
 
set autocommit=0;
 
36
create table t1 (n int not null primary key);
 
37
set @@autocommit = 0;
38
38
insert into t1 values (4);
39
39
rollback;
40
40
select n, "after rollback" from t1;
53
53
n       after commit
54
54
4       after commit
55
55
5       after commit
56
 
set autocommit=1;
 
56
set @@autocommit = 1;
57
57
insert into t1 values (6);
58
58
insert into t1 values (4);
59
59
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
62
62
4
63
63
5
64
64
6
65
 
set autocommit=0;
 
65
set @@autocommit = 0;
66
66
DROP TABLE t1;
67
67
998;
68
 
create table t1 (n int not null primary key) ;
69
 
set autocommit=0;
 
68
create table t1 (n int not null primary key);
 
69
set @@autocommit = 0;
70
70
insert into t1 values (4);
71
71
rollback;
72
72
select n, "after rollback" from t1;
85
85
n       after commit
86
86
4       after commit
87
87
5       after commit
88
 
set autocommit=1;
 
88
set @@autocommit = 1;
89
89
insert into t1 values (6);
90
90
insert into t1 values (4);
91
91
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
94
94
4
95
95
5
96
96
6
97
 
set autocommit=0;
 
97
set @@autocommit = 0;
98
98
DROP TABLE t1;
99
99
997;
100
 
create table t1 (n int not null primary key) ;
101
 
set autocommit=0;
 
100
create table t1 (n int not null primary key);
 
101
set @@autocommit = 0;
102
102
insert into t1 values (4);
103
103
rollback;
104
104
select n, "after rollback" from t1;
117
117
n       after commit
118
118
4       after commit
119
119
5       after commit
120
 
set autocommit=1;
 
120
set @@autocommit = 1;
121
121
insert into t1 values (6);
122
122
insert into t1 values (4);
123
123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
126
126
4
127
127
5
128
128
6
129
 
set autocommit=0;
 
129
set @@autocommit = 0;
130
130
DROP TABLE t1;
131
131
996;
132
 
create table t1 (n int not null primary key) ;
133
 
set autocommit=0;
 
132
create table t1 (n int not null primary key);
 
133
set @@autocommit = 0;
134
134
insert into t1 values (4);
135
135
rollback;
136
136
select n, "after rollback" from t1;
149
149
n       after commit
150
150
4       after commit
151
151
5       after commit
152
 
set autocommit=1;
 
152
set @@autocommit = 1;
153
153
insert into t1 values (6);
154
154
insert into t1 values (4);
155
155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
158
158
4
159
159
5
160
160
6
161
 
set autocommit=0;
 
161
set @@autocommit = 0;
162
162
DROP TABLE t1;
163
163
995;
164
 
create table t1 (n int not null primary key) ;
165
 
set autocommit=0;
 
164
create table t1 (n int not null primary key);
 
165
set @@autocommit = 0;
166
166
insert into t1 values (4);
167
167
rollback;
168
168
select n, "after rollback" from t1;
181
181
n       after commit
182
182
4       after commit
183
183
5       after commit
184
 
set autocommit=1;
 
184
set @@autocommit = 1;
185
185
insert into t1 values (6);
186
186
insert into t1 values (4);
187
187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
190
190
4
191
191
5
192
192
6
193
 
set autocommit=0;
 
193
set @@autocommit = 0;
194
194
DROP TABLE t1;
195
195
994;
196
 
create table t1 (n int not null primary key) ;
197
 
set autocommit=0;
 
196
create table t1 (n int not null primary key);
 
197
set @@autocommit = 0;
198
198
insert into t1 values (4);
199
199
rollback;
200
200
select n, "after rollback" from t1;
213
213
n       after commit
214
214
4       after commit
215
215
5       after commit
216
 
set autocommit=1;
 
216
set @@autocommit = 1;
217
217
insert into t1 values (6);
218
218
insert into t1 values (4);
219
219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
222
222
4
223
223
5
224
224
6
225
 
set autocommit=0;
 
225
set @@autocommit = 0;
226
226
DROP TABLE t1;
227
227
993;
228
 
create table t1 (n int not null primary key) ;
229
 
set autocommit=0;
 
228
create table t1 (n int not null primary key);
 
229
set @@autocommit = 0;
230
230
insert into t1 values (4);
231
231
rollback;
232
232
select n, "after rollback" from t1;
245
245
n       after commit
246
246
4       after commit
247
247
5       after commit
248
 
set autocommit=1;
 
248
set @@autocommit = 1;
249
249
insert into t1 values (6);
250
250
insert into t1 values (4);
251
251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
254
254
4
255
255
5
256
256
6
257
 
set autocommit=0;
 
257
set @@autocommit = 0;
258
258
DROP TABLE t1;
259
259
992;
260
 
create table t1 (n int not null primary key) ;
261
 
set autocommit=0;
 
260
create table t1 (n int not null primary key);
 
261
set @@autocommit = 0;
262
262
insert into t1 values (4);
263
263
rollback;
264
264
select n, "after rollback" from t1;
277
277
n       after commit
278
278
4       after commit
279
279
5       after commit
280
 
set autocommit=1;
 
280
set @@autocommit = 1;
281
281
insert into t1 values (6);
282
282
insert into t1 values (4);
283
283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
286
286
4
287
287
5
288
288
6
289
 
set autocommit=0;
 
289
set @@autocommit = 0;
290
290
DROP TABLE t1;
291
291
991;
292
 
create table t1 (n int not null primary key) ;
293
 
set autocommit=0;
 
292
create table t1 (n int not null primary key);
 
293
set @@autocommit = 0;
294
294
insert into t1 values (4);
295
295
rollback;
296
296
select n, "after rollback" from t1;
309
309
n       after commit
310
310
4       after commit
311
311
5       after commit
312
 
set autocommit=1;
 
312
set @@autocommit = 1;
313
313
insert into t1 values (6);
314
314
insert into t1 values (4);
315
315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
318
318
4
319
319
5
320
320
6
321
 
set autocommit=0;
 
321
set @@autocommit = 0;
322
322
DROP TABLE t1;
323
323
990;
324
 
create table t1 (n int not null primary key) ;
325
 
set autocommit=0;
 
324
create table t1 (n int not null primary key);
 
325
set @@autocommit = 0;
326
326
insert into t1 values (4);
327
327
rollback;
328
328
select n, "after rollback" from t1;
341
341
n       after commit
342
342
4       after commit
343
343
5       after commit
344
 
set autocommit=1;
 
344
set @@autocommit = 1;
345
345
insert into t1 values (6);
346
346
insert into t1 values (4);
347
347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
350
350
4
351
351
5
352
352
6
353
 
set autocommit=0;
 
353
set @@autocommit = 0;
354
354
DROP TABLE t1;
355
355
989;
356
 
create table t1 (n int not null primary key) ;
357
 
set autocommit=0;
 
356
create table t1 (n int not null primary key);
 
357
set @@autocommit = 0;
358
358
insert into t1 values (4);
359
359
rollback;
360
360
select n, "after rollback" from t1;
373
373
n       after commit
374
374
4       after commit
375
375
5       after commit
376
 
set autocommit=1;
 
376
set @@autocommit = 1;
377
377
insert into t1 values (6);
378
378
insert into t1 values (4);
379
379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
382
382
4
383
383
5
384
384
6
385
 
set autocommit=0;
 
385
set @@autocommit = 0;
386
386
DROP TABLE t1;
387
387
988;
388
 
create table t1 (n int not null primary key) ;
389
 
set autocommit=0;
 
388
create table t1 (n int not null primary key);
 
389
set @@autocommit = 0;
390
390
insert into t1 values (4);
391
391
rollback;
392
392
select n, "after rollback" from t1;
405
405
n       after commit
406
406
4       after commit
407
407
5       after commit
408
 
set autocommit=1;
 
408
set @@autocommit = 1;
409
409
insert into t1 values (6);
410
410
insert into t1 values (4);
411
411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
414
414
4
415
415
5
416
416
6
417
 
set autocommit=0;
 
417
set @@autocommit = 0;
418
418
DROP TABLE t1;
419
419
987;
420
 
create table t1 (n int not null primary key) ;
421
 
set autocommit=0;
 
420
create table t1 (n int not null primary key);
 
421
set @@autocommit = 0;
422
422
insert into t1 values (4);
423
423
rollback;
424
424
select n, "after rollback" from t1;
437
437
n       after commit
438
438
4       after commit
439
439
5       after commit
440
 
set autocommit=1;
 
440
set @@autocommit = 1;
441
441
insert into t1 values (6);
442
442
insert into t1 values (4);
443
443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
446
446
4
447
447
5
448
448
6
449
 
set autocommit=0;
 
449
set @@autocommit = 0;
450
450
DROP TABLE t1;
451
451
986;
452
 
create table t1 (n int not null primary key) ;
453
 
set autocommit=0;
 
452
create table t1 (n int not null primary key);
 
453
set @@autocommit = 0;
454
454
insert into t1 values (4);
455
455
rollback;
456
456
select n, "after rollback" from t1;
469
469
n       after commit
470
470
4       after commit
471
471
5       after commit
472
 
set autocommit=1;
 
472
set @@autocommit = 1;
473
473
insert into t1 values (6);
474
474
insert into t1 values (4);
475
475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
478
478
4
479
479
5
480
480
6
481
 
set autocommit=0;
 
481
set @@autocommit = 0;
482
482
DROP TABLE t1;
483
483
985;
484
 
create table t1 (n int not null primary key) ;
485
 
set autocommit=0;
 
484
create table t1 (n int not null primary key);
 
485
set @@autocommit = 0;
486
486
insert into t1 values (4);
487
487
rollback;
488
488
select n, "after rollback" from t1;
501
501
n       after commit
502
502
4       after commit
503
503
5       after commit
504
 
set autocommit=1;
 
504
set @@autocommit = 1;
505
505
insert into t1 values (6);
506
506
insert into t1 values (4);
507
507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
510
510
4
511
511
5
512
512
6
513
 
set autocommit=0;
 
513
set @@autocommit = 0;
514
514
DROP TABLE t1;
515
515
984;
516
 
create table t1 (n int not null primary key) ;
517
 
set autocommit=0;
 
516
create table t1 (n int not null primary key);
 
517
set @@autocommit = 0;
518
518
insert into t1 values (4);
519
519
rollback;
520
520
select n, "after rollback" from t1;
533
533
n       after commit
534
534
4       after commit
535
535
5       after commit
536
 
set autocommit=1;
 
536
set @@autocommit = 1;
537
537
insert into t1 values (6);
538
538
insert into t1 values (4);
539
539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
542
542
4
543
543
5
544
544
6
545
 
set autocommit=0;
 
545
set @@autocommit = 0;
546
546
DROP TABLE t1;
547
547
983;
548
 
create table t1 (n int not null primary key) ;
549
 
set autocommit=0;
 
548
create table t1 (n int not null primary key);
 
549
set @@autocommit = 0;
550
550
insert into t1 values (4);
551
551
rollback;
552
552
select n, "after rollback" from t1;
565
565
n       after commit
566
566
4       after commit
567
567
5       after commit
568
 
set autocommit=1;
 
568
set @@autocommit = 1;
569
569
insert into t1 values (6);
570
570
insert into t1 values (4);
571
571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
574
574
4
575
575
5
576
576
6
577
 
set autocommit=0;
 
577
set @@autocommit = 0;
578
578
DROP TABLE t1;
579
579
982;
580
 
create table t1 (n int not null primary key) ;
581
 
set autocommit=0;
 
580
create table t1 (n int not null primary key);
 
581
set @@autocommit = 0;
582
582
insert into t1 values (4);
583
583
rollback;
584
584
select n, "after rollback" from t1;
597
597
n       after commit
598
598
4       after commit
599
599
5       after commit
600
 
set autocommit=1;
 
600
set @@autocommit = 1;
601
601
insert into t1 values (6);
602
602
insert into t1 values (4);
603
603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
606
606
4
607
607
5
608
608
6
609
 
set autocommit=0;
 
609
set @@autocommit = 0;
610
610
DROP TABLE t1;
611
611
981;
612
 
create table t1 (n int not null primary key) ;
613
 
set autocommit=0;
 
612
create table t1 (n int not null primary key);
 
613
set @@autocommit = 0;
614
614
insert into t1 values (4);
615
615
rollback;
616
616
select n, "after rollback" from t1;
629
629
n       after commit
630
630
4       after commit
631
631
5       after commit
632
 
set autocommit=1;
 
632
set @@autocommit = 1;
633
633
insert into t1 values (6);
634
634
insert into t1 values (4);
635
635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
638
638
4
639
639
5
640
640
6
641
 
set autocommit=0;
 
641
set @@autocommit = 0;
642
642
DROP TABLE t1;
643
643
980;
644
 
create table t1 (n int not null primary key) ;
645
 
set autocommit=0;
 
644
create table t1 (n int not null primary key);
 
645
set @@autocommit = 0;
646
646
insert into t1 values (4);
647
647
rollback;
648
648
select n, "after rollback" from t1;
661
661
n       after commit
662
662
4       after commit
663
663
5       after commit
664
 
set autocommit=1;
 
664
set @@autocommit = 1;
665
665
insert into t1 values (6);
666
666
insert into t1 values (4);
667
667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
670
670
4
671
671
5
672
672
6
673
 
set autocommit=0;
 
673
set @@autocommit = 0;
674
674
DROP TABLE t1;
675
675
979;
676
 
create table t1 (n int not null primary key) ;
677
 
set autocommit=0;
 
676
create table t1 (n int not null primary key);
 
677
set @@autocommit = 0;
678
678
insert into t1 values (4);
679
679
rollback;
680
680
select n, "after rollback" from t1;
693
693
n       after commit
694
694
4       after commit
695
695
5       after commit
696
 
set autocommit=1;
 
696
set @@autocommit = 1;
697
697
insert into t1 values (6);
698
698
insert into t1 values (4);
699
699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
702
702
4
703
703
5
704
704
6
705
 
set autocommit=0;
 
705
set @@autocommit = 0;
706
706
DROP TABLE t1;
707
707
978;
708
 
create table t1 (n int not null primary key) ;
709
 
set autocommit=0;
 
708
create table t1 (n int not null primary key);
 
709
set @@autocommit = 0;
710
710
insert into t1 values (4);
711
711
rollback;
712
712
select n, "after rollback" from t1;
725
725
n       after commit
726
726
4       after commit
727
727
5       after commit
728
 
set autocommit=1;
 
728
set @@autocommit = 1;
729
729
insert into t1 values (6);
730
730
insert into t1 values (4);
731
731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
734
734
4
735
735
5
736
736
6
737
 
set autocommit=0;
 
737
set @@autocommit = 0;
738
738
DROP TABLE t1;
739
739
977;
740
 
create table t1 (n int not null primary key) ;
741
 
set autocommit=0;
 
740
create table t1 (n int not null primary key);
 
741
set @@autocommit = 0;
742
742
insert into t1 values (4);
743
743
rollback;
744
744
select n, "after rollback" from t1;
757
757
n       after commit
758
758
4       after commit
759
759
5       after commit
760
 
set autocommit=1;
 
760
set @@autocommit = 1;
761
761
insert into t1 values (6);
762
762
insert into t1 values (4);
763
763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
766
766
4
767
767
5
768
768
6
769
 
set autocommit=0;
 
769
set @@autocommit = 0;
770
770
DROP TABLE t1;
771
771
976;
772
 
create table t1 (n int not null primary key) ;
773
 
set autocommit=0;
 
772
create table t1 (n int not null primary key);
 
773
set @@autocommit = 0;
774
774
insert into t1 values (4);
775
775
rollback;
776
776
select n, "after rollback" from t1;
789
789
n       after commit
790
790
4       after commit
791
791
5       after commit
792
 
set autocommit=1;
 
792
set @@autocommit = 1;
793
793
insert into t1 values (6);
794
794
insert into t1 values (4);
795
795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
798
798
4
799
799
5
800
800
6
801
 
set autocommit=0;
 
801
set @@autocommit = 0;
802
802
DROP TABLE t1;
803
803
975;
804
 
create table t1 (n int not null primary key) ;
805
 
set autocommit=0;
 
804
create table t1 (n int not null primary key);
 
805
set @@autocommit = 0;
806
806
insert into t1 values (4);
807
807
rollback;
808
808
select n, "after rollback" from t1;
821
821
n       after commit
822
822
4       after commit
823
823
5       after commit
824
 
set autocommit=1;
 
824
set @@autocommit = 1;
825
825
insert into t1 values (6);
826
826
insert into t1 values (4);
827
827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
830
830
4
831
831
5
832
832
6
833
 
set autocommit=0;
 
833
set @@autocommit = 0;
834
834
DROP TABLE t1;
835
835
974;
836
 
create table t1 (n int not null primary key) ;
837
 
set autocommit=0;
 
836
create table t1 (n int not null primary key);
 
837
set @@autocommit = 0;
838
838
insert into t1 values (4);
839
839
rollback;
840
840
select n, "after rollback" from t1;
853
853
n       after commit
854
854
4       after commit
855
855
5       after commit
856
 
set autocommit=1;
 
856
set @@autocommit = 1;
857
857
insert into t1 values (6);
858
858
insert into t1 values (4);
859
859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
862
862
4
863
863
5
864
864
6
865
 
set autocommit=0;
 
865
set @@autocommit = 0;
866
866
DROP TABLE t1;
867
867
973;
868
 
create table t1 (n int not null primary key) ;
869
 
set autocommit=0;
 
868
create table t1 (n int not null primary key);
 
869
set @@autocommit = 0;
870
870
insert into t1 values (4);
871
871
rollback;
872
872
select n, "after rollback" from t1;
885
885
n       after commit
886
886
4       after commit
887
887
5       after commit
888
 
set autocommit=1;
 
888
set @@autocommit = 1;
889
889
insert into t1 values (6);
890
890
insert into t1 values (4);
891
891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
894
894
4
895
895
5
896
896
6
897
 
set autocommit=0;
 
897
set @@autocommit = 0;
898
898
DROP TABLE t1;
899
899
972;
900
 
create table t1 (n int not null primary key) ;
901
 
set autocommit=0;
 
900
create table t1 (n int not null primary key);
 
901
set @@autocommit = 0;
902
902
insert into t1 values (4);
903
903
rollback;
904
904
select n, "after rollback" from t1;
917
917
n       after commit
918
918
4       after commit
919
919
5       after commit
920
 
set autocommit=1;
 
920
set @@autocommit = 1;
921
921
insert into t1 values (6);
922
922
insert into t1 values (4);
923
923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
926
926
4
927
927
5
928
928
6
929
 
set autocommit=0;
 
929
set @@autocommit = 0;
930
930
DROP TABLE t1;
931
931
971;
932
 
create table t1 (n int not null primary key) ;
933
 
set autocommit=0;
 
932
create table t1 (n int not null primary key);
 
933
set @@autocommit = 0;
934
934
insert into t1 values (4);
935
935
rollback;
936
936
select n, "after rollback" from t1;
949
949
n       after commit
950
950
4       after commit
951
951
5       after commit
952
 
set autocommit=1;
 
952
set @@autocommit = 1;
953
953
insert into t1 values (6);
954
954
insert into t1 values (4);
955
955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
958
958
4
959
959
5
960
960
6
961
 
set autocommit=0;
 
961
set @@autocommit = 0;
962
962
DROP TABLE t1;
963
963
970;
964
 
create table t1 (n int not null primary key) ;
965
 
set autocommit=0;
 
964
create table t1 (n int not null primary key);
 
965
set @@autocommit = 0;
966
966
insert into t1 values (4);
967
967
rollback;
968
968
select n, "after rollback" from t1;
981
981
n       after commit
982
982
4       after commit
983
983
5       after commit
984
 
set autocommit=1;
 
984
set @@autocommit = 1;
985
985
insert into t1 values (6);
986
986
insert into t1 values (4);
987
987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
990
990
4
991
991
5
992
992
6
993
 
set autocommit=0;
 
993
set @@autocommit = 0;
994
994
DROP TABLE t1;
995
995
969;
996
 
create table t1 (n int not null primary key) ;
997
 
set autocommit=0;
 
996
create table t1 (n int not null primary key);
 
997
set @@autocommit = 0;
998
998
insert into t1 values (4);
999
999
rollback;
1000
1000
select n, "after rollback" from t1;
1013
1013
n       after commit
1014
1014
4       after commit
1015
1015
5       after commit
1016
 
set autocommit=1;
 
1016
set @@autocommit = 1;
1017
1017
insert into t1 values (6);
1018
1018
insert into t1 values (4);
1019
1019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1022
1022
4
1023
1023
5
1024
1024
6
1025
 
set autocommit=0;
 
1025
set @@autocommit = 0;
1026
1026
DROP TABLE t1;
1027
1027
968;
1028
 
create table t1 (n int not null primary key) ;
1029
 
set autocommit=0;
 
1028
create table t1 (n int not null primary key);
 
1029
set @@autocommit = 0;
1030
1030
insert into t1 values (4);
1031
1031
rollback;
1032
1032
select n, "after rollback" from t1;
1045
1045
n       after commit
1046
1046
4       after commit
1047
1047
5       after commit
1048
 
set autocommit=1;
 
1048
set @@autocommit = 1;
1049
1049
insert into t1 values (6);
1050
1050
insert into t1 values (4);
1051
1051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1054
1054
4
1055
1055
5
1056
1056
6
1057
 
set autocommit=0;
 
1057
set @@autocommit = 0;
1058
1058
DROP TABLE t1;
1059
1059
967;
1060
 
create table t1 (n int not null primary key) ;
1061
 
set autocommit=0;
 
1060
create table t1 (n int not null primary key);
 
1061
set @@autocommit = 0;
1062
1062
insert into t1 values (4);
1063
1063
rollback;
1064
1064
select n, "after rollback" from t1;
1077
1077
n       after commit
1078
1078
4       after commit
1079
1079
5       after commit
1080
 
set autocommit=1;
 
1080
set @@autocommit = 1;
1081
1081
insert into t1 values (6);
1082
1082
insert into t1 values (4);
1083
1083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1086
1086
4
1087
1087
5
1088
1088
6
1089
 
set autocommit=0;
 
1089
set @@autocommit = 0;
1090
1090
DROP TABLE t1;
1091
1091
966;
1092
 
create table t1 (n int not null primary key) ;
1093
 
set autocommit=0;
 
1092
create table t1 (n int not null primary key);
 
1093
set @@autocommit = 0;
1094
1094
insert into t1 values (4);
1095
1095
rollback;
1096
1096
select n, "after rollback" from t1;
1109
1109
n       after commit
1110
1110
4       after commit
1111
1111
5       after commit
1112
 
set autocommit=1;
 
1112
set @@autocommit = 1;
1113
1113
insert into t1 values (6);
1114
1114
insert into t1 values (4);
1115
1115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1118
1118
4
1119
1119
5
1120
1120
6
1121
 
set autocommit=0;
 
1121
set @@autocommit = 0;
1122
1122
DROP TABLE t1;
1123
1123
965;
1124
 
create table t1 (n int not null primary key) ;
1125
 
set autocommit=0;
 
1124
create table t1 (n int not null primary key);
 
1125
set @@autocommit = 0;
1126
1126
insert into t1 values (4);
1127
1127
rollback;
1128
1128
select n, "after rollback" from t1;
1141
1141
n       after commit
1142
1142
4       after commit
1143
1143
5       after commit
1144
 
set autocommit=1;
 
1144
set @@autocommit = 1;
1145
1145
insert into t1 values (6);
1146
1146
insert into t1 values (4);
1147
1147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1150
1150
4
1151
1151
5
1152
1152
6
1153
 
set autocommit=0;
 
1153
set @@autocommit = 0;
1154
1154
DROP TABLE t1;
1155
1155
964;
1156
 
create table t1 (n int not null primary key) ;
1157
 
set autocommit=0;
 
1156
create table t1 (n int not null primary key);
 
1157
set @@autocommit = 0;
1158
1158
insert into t1 values (4);
1159
1159
rollback;
1160
1160
select n, "after rollback" from t1;
1173
1173
n       after commit
1174
1174
4       after commit
1175
1175
5       after commit
1176
 
set autocommit=1;
 
1176
set @@autocommit = 1;
1177
1177
insert into t1 values (6);
1178
1178
insert into t1 values (4);
1179
1179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1182
1182
4
1183
1183
5
1184
1184
6
1185
 
set autocommit=0;
 
1185
set @@autocommit = 0;
1186
1186
DROP TABLE t1;
1187
1187
963;
1188
 
create table t1 (n int not null primary key) ;
1189
 
set autocommit=0;
 
1188
create table t1 (n int not null primary key);
 
1189
set @@autocommit = 0;
1190
1190
insert into t1 values (4);
1191
1191
rollback;
1192
1192
select n, "after rollback" from t1;
1205
1205
n       after commit
1206
1206
4       after commit
1207
1207
5       after commit
1208
 
set autocommit=1;
 
1208
set @@autocommit = 1;
1209
1209
insert into t1 values (6);
1210
1210
insert into t1 values (4);
1211
1211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1214
1214
4
1215
1215
5
1216
1216
6
1217
 
set autocommit=0;
 
1217
set @@autocommit = 0;
1218
1218
DROP TABLE t1;
1219
1219
962;
1220
 
create table t1 (n int not null primary key) ;
1221
 
set autocommit=0;
 
1220
create table t1 (n int not null primary key);
 
1221
set @@autocommit = 0;
1222
1222
insert into t1 values (4);
1223
1223
rollback;
1224
1224
select n, "after rollback" from t1;
1237
1237
n       after commit
1238
1238
4       after commit
1239
1239
5       after commit
1240
 
set autocommit=1;
 
1240
set @@autocommit = 1;
1241
1241
insert into t1 values (6);
1242
1242
insert into t1 values (4);
1243
1243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1246
1246
4
1247
1247
5
1248
1248
6
1249
 
set autocommit=0;
 
1249
set @@autocommit = 0;
1250
1250
DROP TABLE t1;
1251
1251
961;
1252
 
create table t1 (n int not null primary key) ;
1253
 
set autocommit=0;
 
1252
create table t1 (n int not null primary key);
 
1253
set @@autocommit = 0;
1254
1254
insert into t1 values (4);
1255
1255
rollback;
1256
1256
select n, "after rollback" from t1;
1269
1269
n       after commit
1270
1270
4       after commit
1271
1271
5       after commit
1272
 
set autocommit=1;
 
1272
set @@autocommit = 1;
1273
1273
insert into t1 values (6);
1274
1274
insert into t1 values (4);
1275
1275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1278
1278
4
1279
1279
5
1280
1280
6
1281
 
set autocommit=0;
 
1281
set @@autocommit = 0;
1282
1282
DROP TABLE t1;
1283
1283
960;
1284
 
create table t1 (n int not null primary key) ;
1285
 
set autocommit=0;
 
1284
create table t1 (n int not null primary key);
 
1285
set @@autocommit = 0;
1286
1286
insert into t1 values (4);
1287
1287
rollback;
1288
1288
select n, "after rollback" from t1;
1301
1301
n       after commit
1302
1302
4       after commit
1303
1303
5       after commit
1304
 
set autocommit=1;
 
1304
set @@autocommit = 1;
1305
1305
insert into t1 values (6);
1306
1306
insert into t1 values (4);
1307
1307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1310
1310
4
1311
1311
5
1312
1312
6
1313
 
set autocommit=0;
 
1313
set @@autocommit = 0;
1314
1314
DROP TABLE t1;
1315
1315
959;
1316
 
create table t1 (n int not null primary key) ;
1317
 
set autocommit=0;
 
1316
create table t1 (n int not null primary key);
 
1317
set @@autocommit = 0;
1318
1318
insert into t1 values (4);
1319
1319
rollback;
1320
1320
select n, "after rollback" from t1;
1333
1333
n       after commit
1334
1334
4       after commit
1335
1335
5       after commit
1336
 
set autocommit=1;
 
1336
set @@autocommit = 1;
1337
1337
insert into t1 values (6);
1338
1338
insert into t1 values (4);
1339
1339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1342
1342
4
1343
1343
5
1344
1344
6
1345
 
set autocommit=0;
 
1345
set @@autocommit = 0;
1346
1346
DROP TABLE t1;
1347
1347
958;
1348
 
create table t1 (n int not null primary key) ;
1349
 
set autocommit=0;
 
1348
create table t1 (n int not null primary key);
 
1349
set @@autocommit = 0;
1350
1350
insert into t1 values (4);
1351
1351
rollback;
1352
1352
select n, "after rollback" from t1;
1365
1365
n       after commit
1366
1366
4       after commit
1367
1367
5       after commit
1368
 
set autocommit=1;
 
1368
set @@autocommit = 1;
1369
1369
insert into t1 values (6);
1370
1370
insert into t1 values (4);
1371
1371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1374
1374
4
1375
1375
5
1376
1376
6
1377
 
set autocommit=0;
 
1377
set @@autocommit = 0;
1378
1378
DROP TABLE t1;
1379
1379
957;
1380
 
create table t1 (n int not null primary key) ;
1381
 
set autocommit=0;
 
1380
create table t1 (n int not null primary key);
 
1381
set @@autocommit = 0;
1382
1382
insert into t1 values (4);
1383
1383
rollback;
1384
1384
select n, "after rollback" from t1;
1397
1397
n       after commit
1398
1398
4       after commit
1399
1399
5       after commit
1400
 
set autocommit=1;
 
1400
set @@autocommit = 1;
1401
1401
insert into t1 values (6);
1402
1402
insert into t1 values (4);
1403
1403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1406
1406
4
1407
1407
5
1408
1408
6
1409
 
set autocommit=0;
 
1409
set @@autocommit = 0;
1410
1410
DROP TABLE t1;
1411
1411
956;
1412
 
create table t1 (n int not null primary key) ;
1413
 
set autocommit=0;
 
1412
create table t1 (n int not null primary key);
 
1413
set @@autocommit = 0;
1414
1414
insert into t1 values (4);
1415
1415
rollback;
1416
1416
select n, "after rollback" from t1;
1429
1429
n       after commit
1430
1430
4       after commit
1431
1431
5       after commit
1432
 
set autocommit=1;
 
1432
set @@autocommit = 1;
1433
1433
insert into t1 values (6);
1434
1434
insert into t1 values (4);
1435
1435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1438
1438
4
1439
1439
5
1440
1440
6
1441
 
set autocommit=0;
 
1441
set @@autocommit = 0;
1442
1442
DROP TABLE t1;
1443
1443
955;
1444
 
create table t1 (n int not null primary key) ;
1445
 
set autocommit=0;
 
1444
create table t1 (n int not null primary key);
 
1445
set @@autocommit = 0;
1446
1446
insert into t1 values (4);
1447
1447
rollback;
1448
1448
select n, "after rollback" from t1;
1461
1461
n       after commit
1462
1462
4       after commit
1463
1463
5       after commit
1464
 
set autocommit=1;
 
1464
set @@autocommit = 1;
1465
1465
insert into t1 values (6);
1466
1466
insert into t1 values (4);
1467
1467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1470
1470
4
1471
1471
5
1472
1472
6
1473
 
set autocommit=0;
 
1473
set @@autocommit = 0;
1474
1474
DROP TABLE t1;
1475
1475
954;
1476
 
create table t1 (n int not null primary key) ;
1477
 
set autocommit=0;
 
1476
create table t1 (n int not null primary key);
 
1477
set @@autocommit = 0;
1478
1478
insert into t1 values (4);
1479
1479
rollback;
1480
1480
select n, "after rollback" from t1;
1493
1493
n       after commit
1494
1494
4       after commit
1495
1495
5       after commit
1496
 
set autocommit=1;
 
1496
set @@autocommit = 1;
1497
1497
insert into t1 values (6);
1498
1498
insert into t1 values (4);
1499
1499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1502
1502
4
1503
1503
5
1504
1504
6
1505
 
set autocommit=0;
 
1505
set @@autocommit = 0;
1506
1506
DROP TABLE t1;
1507
1507
953;
1508
 
create table t1 (n int not null primary key) ;
1509
 
set autocommit=0;
 
1508
create table t1 (n int not null primary key);
 
1509
set @@autocommit = 0;
1510
1510
insert into t1 values (4);
1511
1511
rollback;
1512
1512
select n, "after rollback" from t1;
1525
1525
n       after commit
1526
1526
4       after commit
1527
1527
5       after commit
1528
 
set autocommit=1;
 
1528
set @@autocommit = 1;
1529
1529
insert into t1 values (6);
1530
1530
insert into t1 values (4);
1531
1531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1534
1534
4
1535
1535
5
1536
1536
6
1537
 
set autocommit=0;
 
1537
set @@autocommit = 0;
1538
1538
DROP TABLE t1;
1539
1539
952;
1540
 
create table t1 (n int not null primary key) ;
1541
 
set autocommit=0;
 
1540
create table t1 (n int not null primary key);
 
1541
set @@autocommit = 0;
1542
1542
insert into t1 values (4);
1543
1543
rollback;
1544
1544
select n, "after rollback" from t1;
1557
1557
n       after commit
1558
1558
4       after commit
1559
1559
5       after commit
1560
 
set autocommit=1;
 
1560
set @@autocommit = 1;
1561
1561
insert into t1 values (6);
1562
1562
insert into t1 values (4);
1563
1563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1566
1566
4
1567
1567
5
1568
1568
6
1569
 
set autocommit=0;
 
1569
set @@autocommit = 0;
1570
1570
DROP TABLE t1;
1571
1571
951;
1572
 
create table t1 (n int not null primary key) ;
1573
 
set autocommit=0;
 
1572
create table t1 (n int not null primary key);
 
1573
set @@autocommit = 0;
1574
1574
insert into t1 values (4);
1575
1575
rollback;
1576
1576
select n, "after rollback" from t1;
1589
1589
n       after commit
1590
1590
4       after commit
1591
1591
5       after commit
1592
 
set autocommit=1;
 
1592
set @@autocommit = 1;
1593
1593
insert into t1 values (6);
1594
1594
insert into t1 values (4);
1595
1595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1598
1598
4
1599
1599
5
1600
1600
6
1601
 
set autocommit=0;
 
1601
set @@autocommit = 0;
1602
1602
DROP TABLE t1;
1603
1603
950;
1604
 
create table t1 (n int not null primary key) ;
1605
 
set autocommit=0;
 
1604
create table t1 (n int not null primary key);
 
1605
set @@autocommit = 0;
1606
1606
insert into t1 values (4);
1607
1607
rollback;
1608
1608
select n, "after rollback" from t1;
1621
1621
n       after commit
1622
1622
4       after commit
1623
1623
5       after commit
1624
 
set autocommit=1;
 
1624
set @@autocommit = 1;
1625
1625
insert into t1 values (6);
1626
1626
insert into t1 values (4);
1627
1627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1630
1630
4
1631
1631
5
1632
1632
6
1633
 
set autocommit=0;
 
1633
set @@autocommit = 0;
1634
1634
DROP TABLE t1;
1635
1635
949;
1636
 
create table t1 (n int not null primary key) ;
1637
 
set autocommit=0;
 
1636
create table t1 (n int not null primary key);
 
1637
set @@autocommit = 0;
1638
1638
insert into t1 values (4);
1639
1639
rollback;
1640
1640
select n, "after rollback" from t1;
1653
1653
n       after commit
1654
1654
4       after commit
1655
1655
5       after commit
1656
 
set autocommit=1;
 
1656
set @@autocommit = 1;
1657
1657
insert into t1 values (6);
1658
1658
insert into t1 values (4);
1659
1659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1662
1662
4
1663
1663
5
1664
1664
6
1665
 
set autocommit=0;
 
1665
set @@autocommit = 0;
1666
1666
DROP TABLE t1;
1667
1667
948;
1668
 
create table t1 (n int not null primary key) ;
1669
 
set autocommit=0;
 
1668
create table t1 (n int not null primary key);
 
1669
set @@autocommit = 0;
1670
1670
insert into t1 values (4);
1671
1671
rollback;
1672
1672
select n, "after rollback" from t1;
1685
1685
n       after commit
1686
1686
4       after commit
1687
1687
5       after commit
1688
 
set autocommit=1;
 
1688
set @@autocommit = 1;
1689
1689
insert into t1 values (6);
1690
1690
insert into t1 values (4);
1691
1691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1694
1694
4
1695
1695
5
1696
1696
6
1697
 
set autocommit=0;
 
1697
set @@autocommit = 0;
1698
1698
DROP TABLE t1;
1699
1699
947;
1700
 
create table t1 (n int not null primary key) ;
1701
 
set autocommit=0;
 
1700
create table t1 (n int not null primary key);
 
1701
set @@autocommit = 0;
1702
1702
insert into t1 values (4);
1703
1703
rollback;
1704
1704
select n, "after rollback" from t1;
1717
1717
n       after commit
1718
1718
4       after commit
1719
1719
5       after commit
1720
 
set autocommit=1;
 
1720
set @@autocommit = 1;
1721
1721
insert into t1 values (6);
1722
1722
insert into t1 values (4);
1723
1723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1726
1726
4
1727
1727
5
1728
1728
6
1729
 
set autocommit=0;
 
1729
set @@autocommit = 0;
1730
1730
DROP TABLE t1;
1731
1731
946;
1732
 
create table t1 (n int not null primary key) ;
1733
 
set autocommit=0;
 
1732
create table t1 (n int not null primary key);
 
1733
set @@autocommit = 0;
1734
1734
insert into t1 values (4);
1735
1735
rollback;
1736
1736
select n, "after rollback" from t1;
1749
1749
n       after commit
1750
1750
4       after commit
1751
1751
5       after commit
1752
 
set autocommit=1;
 
1752
set @@autocommit = 1;
1753
1753
insert into t1 values (6);
1754
1754
insert into t1 values (4);
1755
1755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1758
1758
4
1759
1759
5
1760
1760
6
1761
 
set autocommit=0;
 
1761
set @@autocommit = 0;
1762
1762
DROP TABLE t1;
1763
1763
945;
1764
 
create table t1 (n int not null primary key) ;
1765
 
set autocommit=0;
 
1764
create table t1 (n int not null primary key);
 
1765
set @@autocommit = 0;
1766
1766
insert into t1 values (4);
1767
1767
rollback;
1768
1768
select n, "after rollback" from t1;
1781
1781
n       after commit
1782
1782
4       after commit
1783
1783
5       after commit
1784
 
set autocommit=1;
 
1784
set @@autocommit = 1;
1785
1785
insert into t1 values (6);
1786
1786
insert into t1 values (4);
1787
1787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1790
1790
4
1791
1791
5
1792
1792
6
1793
 
set autocommit=0;
 
1793
set @@autocommit = 0;
1794
1794
DROP TABLE t1;
1795
1795
944;
1796
 
create table t1 (n int not null primary key) ;
1797
 
set autocommit=0;
 
1796
create table t1 (n int not null primary key);
 
1797
set @@autocommit = 0;
1798
1798
insert into t1 values (4);
1799
1799
rollback;
1800
1800
select n, "after rollback" from t1;
1813
1813
n       after commit
1814
1814
4       after commit
1815
1815
5       after commit
1816
 
set autocommit=1;
 
1816
set @@autocommit = 1;
1817
1817
insert into t1 values (6);
1818
1818
insert into t1 values (4);
1819
1819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1822
1822
4
1823
1823
5
1824
1824
6
1825
 
set autocommit=0;
 
1825
set @@autocommit = 0;
1826
1826
DROP TABLE t1;
1827
1827
943;
1828
 
create table t1 (n int not null primary key) ;
1829
 
set autocommit=0;
 
1828
create table t1 (n int not null primary key);
 
1829
set @@autocommit = 0;
1830
1830
insert into t1 values (4);
1831
1831
rollback;
1832
1832
select n, "after rollback" from t1;
1845
1845
n       after commit
1846
1846
4       after commit
1847
1847
5       after commit
1848
 
set autocommit=1;
 
1848
set @@autocommit = 1;
1849
1849
insert into t1 values (6);
1850
1850
insert into t1 values (4);
1851
1851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1854
1854
4
1855
1855
5
1856
1856
6
1857
 
set autocommit=0;
 
1857
set @@autocommit = 0;
1858
1858
DROP TABLE t1;
1859
1859
942;
1860
 
create table t1 (n int not null primary key) ;
1861
 
set autocommit=0;
 
1860
create table t1 (n int not null primary key);
 
1861
set @@autocommit = 0;
1862
1862
insert into t1 values (4);
1863
1863
rollback;
1864
1864
select n, "after rollback" from t1;
1877
1877
n       after commit
1878
1878
4       after commit
1879
1879
5       after commit
1880
 
set autocommit=1;
 
1880
set @@autocommit = 1;
1881
1881
insert into t1 values (6);
1882
1882
insert into t1 values (4);
1883
1883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1886
1886
4
1887
1887
5
1888
1888
6
1889
 
set autocommit=0;
 
1889
set @@autocommit = 0;
1890
1890
DROP TABLE t1;
1891
1891
941;
1892
 
create table t1 (n int not null primary key) ;
1893
 
set autocommit=0;
 
1892
create table t1 (n int not null primary key);
 
1893
set @@autocommit = 0;
1894
1894
insert into t1 values (4);
1895
1895
rollback;
1896
1896
select n, "after rollback" from t1;
1909
1909
n       after commit
1910
1910
4       after commit
1911
1911
5       after commit
1912
 
set autocommit=1;
 
1912
set @@autocommit = 1;
1913
1913
insert into t1 values (6);
1914
1914
insert into t1 values (4);
1915
1915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1918
1918
4
1919
1919
5
1920
1920
6
1921
 
set autocommit=0;
 
1921
set @@autocommit = 0;
1922
1922
DROP TABLE t1;
1923
1923
940;
1924
 
create table t1 (n int not null primary key) ;
1925
 
set autocommit=0;
 
1924
create table t1 (n int not null primary key);
 
1925
set @@autocommit = 0;
1926
1926
insert into t1 values (4);
1927
1927
rollback;
1928
1928
select n, "after rollback" from t1;
1941
1941
n       after commit
1942
1942
4       after commit
1943
1943
5       after commit
1944
 
set autocommit=1;
 
1944
set @@autocommit = 1;
1945
1945
insert into t1 values (6);
1946
1946
insert into t1 values (4);
1947
1947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1950
1950
4
1951
1951
5
1952
1952
6
1953
 
set autocommit=0;
 
1953
set @@autocommit = 0;
1954
1954
DROP TABLE t1;
1955
1955
939;
1956
 
create table t1 (n int not null primary key) ;
1957
 
set autocommit=0;
 
1956
create table t1 (n int not null primary key);
 
1957
set @@autocommit = 0;
1958
1958
insert into t1 values (4);
1959
1959
rollback;
1960
1960
select n, "after rollback" from t1;
1973
1973
n       after commit
1974
1974
4       after commit
1975
1975
5       after commit
1976
 
set autocommit=1;
 
1976
set @@autocommit = 1;
1977
1977
insert into t1 values (6);
1978
1978
insert into t1 values (4);
1979
1979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
1982
1982
4
1983
1983
5
1984
1984
6
1985
 
set autocommit=0;
 
1985
set @@autocommit = 0;
1986
1986
DROP TABLE t1;
1987
1987
938;
1988
 
create table t1 (n int not null primary key) ;
1989
 
set autocommit=0;
 
1988
create table t1 (n int not null primary key);
 
1989
set @@autocommit = 0;
1990
1990
insert into t1 values (4);
1991
1991
rollback;
1992
1992
select n, "after rollback" from t1;
2005
2005
n       after commit
2006
2006
4       after commit
2007
2007
5       after commit
2008
 
set autocommit=1;
 
2008
set @@autocommit = 1;
2009
2009
insert into t1 values (6);
2010
2010
insert into t1 values (4);
2011
2011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2014
2014
4
2015
2015
5
2016
2016
6
2017
 
set autocommit=0;
 
2017
set @@autocommit = 0;
2018
2018
DROP TABLE t1;
2019
2019
937;
2020
 
create table t1 (n int not null primary key) ;
2021
 
set autocommit=0;
 
2020
create table t1 (n int not null primary key);
 
2021
set @@autocommit = 0;
2022
2022
insert into t1 values (4);
2023
2023
rollback;
2024
2024
select n, "after rollback" from t1;
2037
2037
n       after commit
2038
2038
4       after commit
2039
2039
5       after commit
2040
 
set autocommit=1;
 
2040
set @@autocommit = 1;
2041
2041
insert into t1 values (6);
2042
2042
insert into t1 values (4);
2043
2043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2046
2046
4
2047
2047
5
2048
2048
6
2049
 
set autocommit=0;
 
2049
set @@autocommit = 0;
2050
2050
DROP TABLE t1;
2051
2051
936;
2052
 
create table t1 (n int not null primary key) ;
2053
 
set autocommit=0;
 
2052
create table t1 (n int not null primary key);
 
2053
set @@autocommit = 0;
2054
2054
insert into t1 values (4);
2055
2055
rollback;
2056
2056
select n, "after rollback" from t1;
2069
2069
n       after commit
2070
2070
4       after commit
2071
2071
5       after commit
2072
 
set autocommit=1;
 
2072
set @@autocommit = 1;
2073
2073
insert into t1 values (6);
2074
2074
insert into t1 values (4);
2075
2075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2078
2078
4
2079
2079
5
2080
2080
6
2081
 
set autocommit=0;
 
2081
set @@autocommit = 0;
2082
2082
DROP TABLE t1;
2083
2083
935;
2084
 
create table t1 (n int not null primary key) ;
2085
 
set autocommit=0;
 
2084
create table t1 (n int not null primary key);
 
2085
set @@autocommit = 0;
2086
2086
insert into t1 values (4);
2087
2087
rollback;
2088
2088
select n, "after rollback" from t1;
2101
2101
n       after commit
2102
2102
4       after commit
2103
2103
5       after commit
2104
 
set autocommit=1;
 
2104
set @@autocommit = 1;
2105
2105
insert into t1 values (6);
2106
2106
insert into t1 values (4);
2107
2107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2110
2110
4
2111
2111
5
2112
2112
6
2113
 
set autocommit=0;
 
2113
set @@autocommit = 0;
2114
2114
DROP TABLE t1;
2115
2115
934;
2116
 
create table t1 (n int not null primary key) ;
2117
 
set autocommit=0;
 
2116
create table t1 (n int not null primary key);
 
2117
set @@autocommit = 0;
2118
2118
insert into t1 values (4);
2119
2119
rollback;
2120
2120
select n, "after rollback" from t1;
2133
2133
n       after commit
2134
2134
4       after commit
2135
2135
5       after commit
2136
 
set autocommit=1;
 
2136
set @@autocommit = 1;
2137
2137
insert into t1 values (6);
2138
2138
insert into t1 values (4);
2139
2139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2142
2142
4
2143
2143
5
2144
2144
6
2145
 
set autocommit=0;
 
2145
set @@autocommit = 0;
2146
2146
DROP TABLE t1;
2147
2147
933;
2148
 
create table t1 (n int not null primary key) ;
2149
 
set autocommit=0;
 
2148
create table t1 (n int not null primary key);
 
2149
set @@autocommit = 0;
2150
2150
insert into t1 values (4);
2151
2151
rollback;
2152
2152
select n, "after rollback" from t1;
2165
2165
n       after commit
2166
2166
4       after commit
2167
2167
5       after commit
2168
 
set autocommit=1;
 
2168
set @@autocommit = 1;
2169
2169
insert into t1 values (6);
2170
2170
insert into t1 values (4);
2171
2171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2174
2174
4
2175
2175
5
2176
2176
6
2177
 
set autocommit=0;
 
2177
set @@autocommit = 0;
2178
2178
DROP TABLE t1;
2179
2179
932;
2180
 
create table t1 (n int not null primary key) ;
2181
 
set autocommit=0;
 
2180
create table t1 (n int not null primary key);
 
2181
set @@autocommit = 0;
2182
2182
insert into t1 values (4);
2183
2183
rollback;
2184
2184
select n, "after rollback" from t1;
2197
2197
n       after commit
2198
2198
4       after commit
2199
2199
5       after commit
2200
 
set autocommit=1;
 
2200
set @@autocommit = 1;
2201
2201
insert into t1 values (6);
2202
2202
insert into t1 values (4);
2203
2203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2206
2206
4
2207
2207
5
2208
2208
6
2209
 
set autocommit=0;
 
2209
set @@autocommit = 0;
2210
2210
DROP TABLE t1;
2211
2211
931;
2212
 
create table t1 (n int not null primary key) ;
2213
 
set autocommit=0;
 
2212
create table t1 (n int not null primary key);
 
2213
set @@autocommit = 0;
2214
2214
insert into t1 values (4);
2215
2215
rollback;
2216
2216
select n, "after rollback" from t1;
2229
2229
n       after commit
2230
2230
4       after commit
2231
2231
5       after commit
2232
 
set autocommit=1;
 
2232
set @@autocommit = 1;
2233
2233
insert into t1 values (6);
2234
2234
insert into t1 values (4);
2235
2235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2238
2238
4
2239
2239
5
2240
2240
6
2241
 
set autocommit=0;
 
2241
set @@autocommit = 0;
2242
2242
DROP TABLE t1;
2243
2243
930;
2244
 
create table t1 (n int not null primary key) ;
2245
 
set autocommit=0;
 
2244
create table t1 (n int not null primary key);
 
2245
set @@autocommit = 0;
2246
2246
insert into t1 values (4);
2247
2247
rollback;
2248
2248
select n, "after rollback" from t1;
2261
2261
n       after commit
2262
2262
4       after commit
2263
2263
5       after commit
2264
 
set autocommit=1;
 
2264
set @@autocommit = 1;
2265
2265
insert into t1 values (6);
2266
2266
insert into t1 values (4);
2267
2267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2270
2270
4
2271
2271
5
2272
2272
6
2273
 
set autocommit=0;
 
2273
set @@autocommit = 0;
2274
2274
DROP TABLE t1;
2275
2275
929;
2276
 
create table t1 (n int not null primary key) ;
2277
 
set autocommit=0;
 
2276
create table t1 (n int not null primary key);
 
2277
set @@autocommit = 0;
2278
2278
insert into t1 values (4);
2279
2279
rollback;
2280
2280
select n, "after rollback" from t1;
2293
2293
n       after commit
2294
2294
4       after commit
2295
2295
5       after commit
2296
 
set autocommit=1;
 
2296
set @@autocommit = 1;
2297
2297
insert into t1 values (6);
2298
2298
insert into t1 values (4);
2299
2299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2302
2302
4
2303
2303
5
2304
2304
6
2305
 
set autocommit=0;
 
2305
set @@autocommit = 0;
2306
2306
DROP TABLE t1;
2307
2307
928;
2308
 
create table t1 (n int not null primary key) ;
2309
 
set autocommit=0;
 
2308
create table t1 (n int not null primary key);
 
2309
set @@autocommit = 0;
2310
2310
insert into t1 values (4);
2311
2311
rollback;
2312
2312
select n, "after rollback" from t1;
2325
2325
n       after commit
2326
2326
4       after commit
2327
2327
5       after commit
2328
 
set autocommit=1;
 
2328
set @@autocommit = 1;
2329
2329
insert into t1 values (6);
2330
2330
insert into t1 values (4);
2331
2331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2334
2334
4
2335
2335
5
2336
2336
6
2337
 
set autocommit=0;
 
2337
set @@autocommit = 0;
2338
2338
DROP TABLE t1;
2339
2339
927;
2340
 
create table t1 (n int not null primary key) ;
2341
 
set autocommit=0;
 
2340
create table t1 (n int not null primary key);
 
2341
set @@autocommit = 0;
2342
2342
insert into t1 values (4);
2343
2343
rollback;
2344
2344
select n, "after rollback" from t1;
2357
2357
n       after commit
2358
2358
4       after commit
2359
2359
5       after commit
2360
 
set autocommit=1;
 
2360
set @@autocommit = 1;
2361
2361
insert into t1 values (6);
2362
2362
insert into t1 values (4);
2363
2363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2366
2366
4
2367
2367
5
2368
2368
6
2369
 
set autocommit=0;
 
2369
set @@autocommit = 0;
2370
2370
DROP TABLE t1;
2371
2371
926;
2372
 
create table t1 (n int not null primary key) ;
2373
 
set autocommit=0;
 
2372
create table t1 (n int not null primary key);
 
2373
set @@autocommit = 0;
2374
2374
insert into t1 values (4);
2375
2375
rollback;
2376
2376
select n, "after rollback" from t1;
2389
2389
n       after commit
2390
2390
4       after commit
2391
2391
5       after commit
2392
 
set autocommit=1;
 
2392
set @@autocommit = 1;
2393
2393
insert into t1 values (6);
2394
2394
insert into t1 values (4);
2395
2395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2398
2398
4
2399
2399
5
2400
2400
6
2401
 
set autocommit=0;
 
2401
set @@autocommit = 0;
2402
2402
DROP TABLE t1;
2403
2403
925;
2404
 
create table t1 (n int not null primary key) ;
2405
 
set autocommit=0;
 
2404
create table t1 (n int not null primary key);
 
2405
set @@autocommit = 0;
2406
2406
insert into t1 values (4);
2407
2407
rollback;
2408
2408
select n, "after rollback" from t1;
2421
2421
n       after commit
2422
2422
4       after commit
2423
2423
5       after commit
2424
 
set autocommit=1;
 
2424
set @@autocommit = 1;
2425
2425
insert into t1 values (6);
2426
2426
insert into t1 values (4);
2427
2427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2430
2430
4
2431
2431
5
2432
2432
6
2433
 
set autocommit=0;
 
2433
set @@autocommit = 0;
2434
2434
DROP TABLE t1;
2435
2435
924;
2436
 
create table t1 (n int not null primary key) ;
2437
 
set autocommit=0;
 
2436
create table t1 (n int not null primary key);
 
2437
set @@autocommit = 0;
2438
2438
insert into t1 values (4);
2439
2439
rollback;
2440
2440
select n, "after rollback" from t1;
2453
2453
n       after commit
2454
2454
4       after commit
2455
2455
5       after commit
2456
 
set autocommit=1;
 
2456
set @@autocommit = 1;
2457
2457
insert into t1 values (6);
2458
2458
insert into t1 values (4);
2459
2459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2462
2462
4
2463
2463
5
2464
2464
6
2465
 
set autocommit=0;
 
2465
set @@autocommit = 0;
2466
2466
DROP TABLE t1;
2467
2467
923;
2468
 
create table t1 (n int not null primary key) ;
2469
 
set autocommit=0;
 
2468
create table t1 (n int not null primary key);
 
2469
set @@autocommit = 0;
2470
2470
insert into t1 values (4);
2471
2471
rollback;
2472
2472
select n, "after rollback" from t1;
2485
2485
n       after commit
2486
2486
4       after commit
2487
2487
5       after commit
2488
 
set autocommit=1;
 
2488
set @@autocommit = 1;
2489
2489
insert into t1 values (6);
2490
2490
insert into t1 values (4);
2491
2491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2494
2494
4
2495
2495
5
2496
2496
6
2497
 
set autocommit=0;
 
2497
set @@autocommit = 0;
2498
2498
DROP TABLE t1;
2499
2499
922;
2500
 
create table t1 (n int not null primary key) ;
2501
 
set autocommit=0;
 
2500
create table t1 (n int not null primary key);
 
2501
set @@autocommit = 0;
2502
2502
insert into t1 values (4);
2503
2503
rollback;
2504
2504
select n, "after rollback" from t1;
2517
2517
n       after commit
2518
2518
4       after commit
2519
2519
5       after commit
2520
 
set autocommit=1;
 
2520
set @@autocommit = 1;
2521
2521
insert into t1 values (6);
2522
2522
insert into t1 values (4);
2523
2523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2526
2526
4
2527
2527
5
2528
2528
6
2529
 
set autocommit=0;
 
2529
set @@autocommit = 0;
2530
2530
DROP TABLE t1;
2531
2531
921;
2532
 
create table t1 (n int not null primary key) ;
2533
 
set autocommit=0;
 
2532
create table t1 (n int not null primary key);
 
2533
set @@autocommit = 0;
2534
2534
insert into t1 values (4);
2535
2535
rollback;
2536
2536
select n, "after rollback" from t1;
2549
2549
n       after commit
2550
2550
4       after commit
2551
2551
5       after commit
2552
 
set autocommit=1;
 
2552
set @@autocommit = 1;
2553
2553
insert into t1 values (6);
2554
2554
insert into t1 values (4);
2555
2555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2558
2558
4
2559
2559
5
2560
2560
6
2561
 
set autocommit=0;
 
2561
set @@autocommit = 0;
2562
2562
DROP TABLE t1;
2563
2563
920;
2564
 
create table t1 (n int not null primary key) ;
2565
 
set autocommit=0;
 
2564
create table t1 (n int not null primary key);
 
2565
set @@autocommit = 0;
2566
2566
insert into t1 values (4);
2567
2567
rollback;
2568
2568
select n, "after rollback" from t1;
2581
2581
n       after commit
2582
2582
4       after commit
2583
2583
5       after commit
2584
 
set autocommit=1;
 
2584
set @@autocommit = 1;
2585
2585
insert into t1 values (6);
2586
2586
insert into t1 values (4);
2587
2587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2590
2590
4
2591
2591
5
2592
2592
6
2593
 
set autocommit=0;
 
2593
set @@autocommit = 0;
2594
2594
DROP TABLE t1;
2595
2595
919;
2596
 
create table t1 (n int not null primary key) ;
2597
 
set autocommit=0;
 
2596
create table t1 (n int not null primary key);
 
2597
set @@autocommit = 0;
2598
2598
insert into t1 values (4);
2599
2599
rollback;
2600
2600
select n, "after rollback" from t1;
2613
2613
n       after commit
2614
2614
4       after commit
2615
2615
5       after commit
2616
 
set autocommit=1;
 
2616
set @@autocommit = 1;
2617
2617
insert into t1 values (6);
2618
2618
insert into t1 values (4);
2619
2619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2622
2622
4
2623
2623
5
2624
2624
6
2625
 
set autocommit=0;
 
2625
set @@autocommit = 0;
2626
2626
DROP TABLE t1;
2627
2627
918;
2628
 
create table t1 (n int not null primary key) ;
2629
 
set autocommit=0;
 
2628
create table t1 (n int not null primary key);
 
2629
set @@autocommit = 0;
2630
2630
insert into t1 values (4);
2631
2631
rollback;
2632
2632
select n, "after rollback" from t1;
2645
2645
n       after commit
2646
2646
4       after commit
2647
2647
5       after commit
2648
 
set autocommit=1;
 
2648
set @@autocommit = 1;
2649
2649
insert into t1 values (6);
2650
2650
insert into t1 values (4);
2651
2651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2654
2654
4
2655
2655
5
2656
2656
6
2657
 
set autocommit=0;
 
2657
set @@autocommit = 0;
2658
2658
DROP TABLE t1;
2659
2659
917;
2660
 
create table t1 (n int not null primary key) ;
2661
 
set autocommit=0;
 
2660
create table t1 (n int not null primary key);
 
2661
set @@autocommit = 0;
2662
2662
insert into t1 values (4);
2663
2663
rollback;
2664
2664
select n, "after rollback" from t1;
2677
2677
n       after commit
2678
2678
4       after commit
2679
2679
5       after commit
2680
 
set autocommit=1;
 
2680
set @@autocommit = 1;
2681
2681
insert into t1 values (6);
2682
2682
insert into t1 values (4);
2683
2683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2686
2686
4
2687
2687
5
2688
2688
6
2689
 
set autocommit=0;
 
2689
set @@autocommit = 0;
2690
2690
DROP TABLE t1;
2691
2691
916;
2692
 
create table t1 (n int not null primary key) ;
2693
 
set autocommit=0;
 
2692
create table t1 (n int not null primary key);
 
2693
set @@autocommit = 0;
2694
2694
insert into t1 values (4);
2695
2695
rollback;
2696
2696
select n, "after rollback" from t1;
2709
2709
n       after commit
2710
2710
4       after commit
2711
2711
5       after commit
2712
 
set autocommit=1;
 
2712
set @@autocommit = 1;
2713
2713
insert into t1 values (6);
2714
2714
insert into t1 values (4);
2715
2715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2718
2718
4
2719
2719
5
2720
2720
6
2721
 
set autocommit=0;
 
2721
set @@autocommit = 0;
2722
2722
DROP TABLE t1;
2723
2723
915;
2724
 
create table t1 (n int not null primary key) ;
2725
 
set autocommit=0;
 
2724
create table t1 (n int not null primary key);
 
2725
set @@autocommit = 0;
2726
2726
insert into t1 values (4);
2727
2727
rollback;
2728
2728
select n, "after rollback" from t1;
2741
2741
n       after commit
2742
2742
4       after commit
2743
2743
5       after commit
2744
 
set autocommit=1;
 
2744
set @@autocommit = 1;
2745
2745
insert into t1 values (6);
2746
2746
insert into t1 values (4);
2747
2747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2750
2750
4
2751
2751
5
2752
2752
6
2753
 
set autocommit=0;
 
2753
set @@autocommit = 0;
2754
2754
DROP TABLE t1;
2755
2755
914;
2756
 
create table t1 (n int not null primary key) ;
2757
 
set autocommit=0;
 
2756
create table t1 (n int not null primary key);
 
2757
set @@autocommit = 0;
2758
2758
insert into t1 values (4);
2759
2759
rollback;
2760
2760
select n, "after rollback" from t1;
2773
2773
n       after commit
2774
2774
4       after commit
2775
2775
5       after commit
2776
 
set autocommit=1;
 
2776
set @@autocommit = 1;
2777
2777
insert into t1 values (6);
2778
2778
insert into t1 values (4);
2779
2779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2782
2782
4
2783
2783
5
2784
2784
6
2785
 
set autocommit=0;
 
2785
set @@autocommit = 0;
2786
2786
DROP TABLE t1;
2787
2787
913;
2788
 
create table t1 (n int not null primary key) ;
2789
 
set autocommit=0;
 
2788
create table t1 (n int not null primary key);
 
2789
set @@autocommit = 0;
2790
2790
insert into t1 values (4);
2791
2791
rollback;
2792
2792
select n, "after rollback" from t1;
2805
2805
n       after commit
2806
2806
4       after commit
2807
2807
5       after commit
2808
 
set autocommit=1;
 
2808
set @@autocommit = 1;
2809
2809
insert into t1 values (6);
2810
2810
insert into t1 values (4);
2811
2811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2814
2814
4
2815
2815
5
2816
2816
6
2817
 
set autocommit=0;
 
2817
set @@autocommit = 0;
2818
2818
DROP TABLE t1;
2819
2819
912;
2820
 
create table t1 (n int not null primary key) ;
2821
 
set autocommit=0;
 
2820
create table t1 (n int not null primary key);
 
2821
set @@autocommit = 0;
2822
2822
insert into t1 values (4);
2823
2823
rollback;
2824
2824
select n, "after rollback" from t1;
2837
2837
n       after commit
2838
2838
4       after commit
2839
2839
5       after commit
2840
 
set autocommit=1;
 
2840
set @@autocommit = 1;
2841
2841
insert into t1 values (6);
2842
2842
insert into t1 values (4);
2843
2843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2846
2846
4
2847
2847
5
2848
2848
6
2849
 
set autocommit=0;
 
2849
set @@autocommit = 0;
2850
2850
DROP TABLE t1;
2851
2851
911;
2852
 
create table t1 (n int not null primary key) ;
2853
 
set autocommit=0;
 
2852
create table t1 (n int not null primary key);
 
2853
set @@autocommit = 0;
2854
2854
insert into t1 values (4);
2855
2855
rollback;
2856
2856
select n, "after rollback" from t1;
2869
2869
n       after commit
2870
2870
4       after commit
2871
2871
5       after commit
2872
 
set autocommit=1;
 
2872
set @@autocommit = 1;
2873
2873
insert into t1 values (6);
2874
2874
insert into t1 values (4);
2875
2875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2878
2878
4
2879
2879
5
2880
2880
6
2881
 
set autocommit=0;
 
2881
set @@autocommit = 0;
2882
2882
DROP TABLE t1;
2883
2883
910;
2884
 
create table t1 (n int not null primary key) ;
2885
 
set autocommit=0;
 
2884
create table t1 (n int not null primary key);
 
2885
set @@autocommit = 0;
2886
2886
insert into t1 values (4);
2887
2887
rollback;
2888
2888
select n, "after rollback" from t1;
2901
2901
n       after commit
2902
2902
4       after commit
2903
2903
5       after commit
2904
 
set autocommit=1;
 
2904
set @@autocommit = 1;
2905
2905
insert into t1 values (6);
2906
2906
insert into t1 values (4);
2907
2907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2910
2910
4
2911
2911
5
2912
2912
6
2913
 
set autocommit=0;
 
2913
set @@autocommit = 0;
2914
2914
DROP TABLE t1;
2915
2915
909;
2916
 
create table t1 (n int not null primary key) ;
2917
 
set autocommit=0;
 
2916
create table t1 (n int not null primary key);
 
2917
set @@autocommit = 0;
2918
2918
insert into t1 values (4);
2919
2919
rollback;
2920
2920
select n, "after rollback" from t1;
2933
2933
n       after commit
2934
2934
4       after commit
2935
2935
5       after commit
2936
 
set autocommit=1;
 
2936
set @@autocommit = 1;
2937
2937
insert into t1 values (6);
2938
2938
insert into t1 values (4);
2939
2939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2942
2942
4
2943
2943
5
2944
2944
6
2945
 
set autocommit=0;
 
2945
set @@autocommit = 0;
2946
2946
DROP TABLE t1;
2947
2947
908;
2948
 
create table t1 (n int not null primary key) ;
2949
 
set autocommit=0;
 
2948
create table t1 (n int not null primary key);
 
2949
set @@autocommit = 0;
2950
2950
insert into t1 values (4);
2951
2951
rollback;
2952
2952
select n, "after rollback" from t1;
2965
2965
n       after commit
2966
2966
4       after commit
2967
2967
5       after commit
2968
 
set autocommit=1;
 
2968
set @@autocommit = 1;
2969
2969
insert into t1 values (6);
2970
2970
insert into t1 values (4);
2971
2971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
2974
2974
4
2975
2975
5
2976
2976
6
2977
 
set autocommit=0;
 
2977
set @@autocommit = 0;
2978
2978
DROP TABLE t1;
2979
2979
907;
2980
 
create table t1 (n int not null primary key) ;
2981
 
set autocommit=0;
 
2980
create table t1 (n int not null primary key);
 
2981
set @@autocommit = 0;
2982
2982
insert into t1 values (4);
2983
2983
rollback;
2984
2984
select n, "after rollback" from t1;
2997
2997
n       after commit
2998
2998
4       after commit
2999
2999
5       after commit
3000
 
set autocommit=1;
 
3000
set @@autocommit = 1;
3001
3001
insert into t1 values (6);
3002
3002
insert into t1 values (4);
3003
3003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3006
3006
4
3007
3007
5
3008
3008
6
3009
 
set autocommit=0;
 
3009
set @@autocommit = 0;
3010
3010
DROP TABLE t1;
3011
3011
906;
3012
 
create table t1 (n int not null primary key) ;
3013
 
set autocommit=0;
 
3012
create table t1 (n int not null primary key);
 
3013
set @@autocommit = 0;
3014
3014
insert into t1 values (4);
3015
3015
rollback;
3016
3016
select n, "after rollback" from t1;
3029
3029
n       after commit
3030
3030
4       after commit
3031
3031
5       after commit
3032
 
set autocommit=1;
 
3032
set @@autocommit = 1;
3033
3033
insert into t1 values (6);
3034
3034
insert into t1 values (4);
3035
3035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3038
3038
4
3039
3039
5
3040
3040
6
3041
 
set autocommit=0;
 
3041
set @@autocommit = 0;
3042
3042
DROP TABLE t1;
3043
3043
905;
3044
 
create table t1 (n int not null primary key) ;
3045
 
set autocommit=0;
 
3044
create table t1 (n int not null primary key);
 
3045
set @@autocommit = 0;
3046
3046
insert into t1 values (4);
3047
3047
rollback;
3048
3048
select n, "after rollback" from t1;
3061
3061
n       after commit
3062
3062
4       after commit
3063
3063
5       after commit
3064
 
set autocommit=1;
 
3064
set @@autocommit = 1;
3065
3065
insert into t1 values (6);
3066
3066
insert into t1 values (4);
3067
3067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3070
3070
4
3071
3071
5
3072
3072
6
3073
 
set autocommit=0;
 
3073
set @@autocommit = 0;
3074
3074
DROP TABLE t1;
3075
3075
904;
3076
 
create table t1 (n int not null primary key) ;
3077
 
set autocommit=0;
 
3076
create table t1 (n int not null primary key);
 
3077
set @@autocommit = 0;
3078
3078
insert into t1 values (4);
3079
3079
rollback;
3080
3080
select n, "after rollback" from t1;
3093
3093
n       after commit
3094
3094
4       after commit
3095
3095
5       after commit
3096
 
set autocommit=1;
 
3096
set @@autocommit = 1;
3097
3097
insert into t1 values (6);
3098
3098
insert into t1 values (4);
3099
3099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3102
3102
4
3103
3103
5
3104
3104
6
3105
 
set autocommit=0;
 
3105
set @@autocommit = 0;
3106
3106
DROP TABLE t1;
3107
3107
903;
3108
 
create table t1 (n int not null primary key) ;
3109
 
set autocommit=0;
 
3108
create table t1 (n int not null primary key);
 
3109
set @@autocommit = 0;
3110
3110
insert into t1 values (4);
3111
3111
rollback;
3112
3112
select n, "after rollback" from t1;
3125
3125
n       after commit
3126
3126
4       after commit
3127
3127
5       after commit
3128
 
set autocommit=1;
 
3128
set @@autocommit = 1;
3129
3129
insert into t1 values (6);
3130
3130
insert into t1 values (4);
3131
3131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3134
3134
4
3135
3135
5
3136
3136
6
3137
 
set autocommit=0;
 
3137
set @@autocommit = 0;
3138
3138
DROP TABLE t1;
3139
3139
902;
3140
 
create table t1 (n int not null primary key) ;
3141
 
set autocommit=0;
 
3140
create table t1 (n int not null primary key);
 
3141
set @@autocommit = 0;
3142
3142
insert into t1 values (4);
3143
3143
rollback;
3144
3144
select n, "after rollback" from t1;
3157
3157
n       after commit
3158
3158
4       after commit
3159
3159
5       after commit
3160
 
set autocommit=1;
 
3160
set @@autocommit = 1;
3161
3161
insert into t1 values (6);
3162
3162
insert into t1 values (4);
3163
3163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3166
3166
4
3167
3167
5
3168
3168
6
3169
 
set autocommit=0;
 
3169
set @@autocommit = 0;
3170
3170
DROP TABLE t1;
3171
3171
901;
3172
 
create table t1 (n int not null primary key) ;
3173
 
set autocommit=0;
 
3172
create table t1 (n int not null primary key);
 
3173
set @@autocommit = 0;
3174
3174
insert into t1 values (4);
3175
3175
rollback;
3176
3176
select n, "after rollback" from t1;
3189
3189
n       after commit
3190
3190
4       after commit
3191
3191
5       after commit
3192
 
set autocommit=1;
 
3192
set @@autocommit = 1;
3193
3193
insert into t1 values (6);
3194
3194
insert into t1 values (4);
3195
3195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3198
3198
4
3199
3199
5
3200
3200
6
3201
 
set autocommit=0;
 
3201
set @@autocommit = 0;
3202
3202
DROP TABLE t1;
3203
3203
900;
3204
 
create table t1 (n int not null primary key) ;
3205
 
set autocommit=0;
 
3204
create table t1 (n int not null primary key);
 
3205
set @@autocommit = 0;
3206
3206
insert into t1 values (4);
3207
3207
rollback;
3208
3208
select n, "after rollback" from t1;
3221
3221
n       after commit
3222
3222
4       after commit
3223
3223
5       after commit
3224
 
set autocommit=1;
 
3224
set @@autocommit = 1;
3225
3225
insert into t1 values (6);
3226
3226
insert into t1 values (4);
3227
3227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3230
3230
4
3231
3231
5
3232
3232
6
3233
 
set autocommit=0;
 
3233
set @@autocommit = 0;
3234
3234
DROP TABLE t1;
3235
3235
899;
3236
 
create table t1 (n int not null primary key) ;
3237
 
set autocommit=0;
 
3236
create table t1 (n int not null primary key);
 
3237
set @@autocommit = 0;
3238
3238
insert into t1 values (4);
3239
3239
rollback;
3240
3240
select n, "after rollback" from t1;
3253
3253
n       after commit
3254
3254
4       after commit
3255
3255
5       after commit
3256
 
set autocommit=1;
 
3256
set @@autocommit = 1;
3257
3257
insert into t1 values (6);
3258
3258
insert into t1 values (4);
3259
3259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3262
3262
4
3263
3263
5
3264
3264
6
3265
 
set autocommit=0;
 
3265
set @@autocommit = 0;
3266
3266
DROP TABLE t1;
3267
3267
898;
3268
 
create table t1 (n int not null primary key) ;
3269
 
set autocommit=0;
 
3268
create table t1 (n int not null primary key);
 
3269
set @@autocommit = 0;
3270
3270
insert into t1 values (4);
3271
3271
rollback;
3272
3272
select n, "after rollback" from t1;
3285
3285
n       after commit
3286
3286
4       after commit
3287
3287
5       after commit
3288
 
set autocommit=1;
 
3288
set @@autocommit = 1;
3289
3289
insert into t1 values (6);
3290
3290
insert into t1 values (4);
3291
3291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3294
3294
4
3295
3295
5
3296
3296
6
3297
 
set autocommit=0;
 
3297
set @@autocommit = 0;
3298
3298
DROP TABLE t1;
3299
3299
897;
3300
 
create table t1 (n int not null primary key) ;
3301
 
set autocommit=0;
 
3300
create table t1 (n int not null primary key);
 
3301
set @@autocommit = 0;
3302
3302
insert into t1 values (4);
3303
3303
rollback;
3304
3304
select n, "after rollback" from t1;
3317
3317
n       after commit
3318
3318
4       after commit
3319
3319
5       after commit
3320
 
set autocommit=1;
 
3320
set @@autocommit = 1;
3321
3321
insert into t1 values (6);
3322
3322
insert into t1 values (4);
3323
3323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3326
3326
4
3327
3327
5
3328
3328
6
3329
 
set autocommit=0;
 
3329
set @@autocommit = 0;
3330
3330
DROP TABLE t1;
3331
3331
896;
3332
 
create table t1 (n int not null primary key) ;
3333
 
set autocommit=0;
 
3332
create table t1 (n int not null primary key);
 
3333
set @@autocommit = 0;
3334
3334
insert into t1 values (4);
3335
3335
rollback;
3336
3336
select n, "after rollback" from t1;
3349
3349
n       after commit
3350
3350
4       after commit
3351
3351
5       after commit
3352
 
set autocommit=1;
 
3352
set @@autocommit = 1;
3353
3353
insert into t1 values (6);
3354
3354
insert into t1 values (4);
3355
3355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3358
3358
4
3359
3359
5
3360
3360
6
3361
 
set autocommit=0;
 
3361
set @@autocommit = 0;
3362
3362
DROP TABLE t1;
3363
3363
895;
3364
 
create table t1 (n int not null primary key) ;
3365
 
set autocommit=0;
 
3364
create table t1 (n int not null primary key);
 
3365
set @@autocommit = 0;
3366
3366
insert into t1 values (4);
3367
3367
rollback;
3368
3368
select n, "after rollback" from t1;
3381
3381
n       after commit
3382
3382
4       after commit
3383
3383
5       after commit
3384
 
set autocommit=1;
 
3384
set @@autocommit = 1;
3385
3385
insert into t1 values (6);
3386
3386
insert into t1 values (4);
3387
3387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3390
3390
4
3391
3391
5
3392
3392
6
3393
 
set autocommit=0;
 
3393
set @@autocommit = 0;
3394
3394
DROP TABLE t1;
3395
3395
894;
3396
 
create table t1 (n int not null primary key) ;
3397
 
set autocommit=0;
 
3396
create table t1 (n int not null primary key);
 
3397
set @@autocommit = 0;
3398
3398
insert into t1 values (4);
3399
3399
rollback;
3400
3400
select n, "after rollback" from t1;
3413
3413
n       after commit
3414
3414
4       after commit
3415
3415
5       after commit
3416
 
set autocommit=1;
 
3416
set @@autocommit = 1;
3417
3417
insert into t1 values (6);
3418
3418
insert into t1 values (4);
3419
3419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3422
3422
4
3423
3423
5
3424
3424
6
3425
 
set autocommit=0;
 
3425
set @@autocommit = 0;
3426
3426
DROP TABLE t1;
3427
3427
893;
3428
 
create table t1 (n int not null primary key) ;
3429
 
set autocommit=0;
 
3428
create table t1 (n int not null primary key);
 
3429
set @@autocommit = 0;
3430
3430
insert into t1 values (4);
3431
3431
rollback;
3432
3432
select n, "after rollback" from t1;
3445
3445
n       after commit
3446
3446
4       after commit
3447
3447
5       after commit
3448
 
set autocommit=1;
 
3448
set @@autocommit = 1;
3449
3449
insert into t1 values (6);
3450
3450
insert into t1 values (4);
3451
3451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3454
3454
4
3455
3455
5
3456
3456
6
3457
 
set autocommit=0;
 
3457
set @@autocommit = 0;
3458
3458
DROP TABLE t1;
3459
3459
892;
3460
 
create table t1 (n int not null primary key) ;
3461
 
set autocommit=0;
 
3460
create table t1 (n int not null primary key);
 
3461
set @@autocommit = 0;
3462
3462
insert into t1 values (4);
3463
3463
rollback;
3464
3464
select n, "after rollback" from t1;
3477
3477
n       after commit
3478
3478
4       after commit
3479
3479
5       after commit
3480
 
set autocommit=1;
 
3480
set @@autocommit = 1;
3481
3481
insert into t1 values (6);
3482
3482
insert into t1 values (4);
3483
3483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3486
3486
4
3487
3487
5
3488
3488
6
3489
 
set autocommit=0;
 
3489
set @@autocommit = 0;
3490
3490
DROP TABLE t1;
3491
3491
891;
3492
 
create table t1 (n int not null primary key) ;
3493
 
set autocommit=0;
 
3492
create table t1 (n int not null primary key);
 
3493
set @@autocommit = 0;
3494
3494
insert into t1 values (4);
3495
3495
rollback;
3496
3496
select n, "after rollback" from t1;
3509
3509
n       after commit
3510
3510
4       after commit
3511
3511
5       after commit
3512
 
set autocommit=1;
 
3512
set @@autocommit = 1;
3513
3513
insert into t1 values (6);
3514
3514
insert into t1 values (4);
3515
3515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3518
3518
4
3519
3519
5
3520
3520
6
3521
 
set autocommit=0;
 
3521
set @@autocommit = 0;
3522
3522
DROP TABLE t1;
3523
3523
890;
3524
 
create table t1 (n int not null primary key) ;
3525
 
set autocommit=0;
 
3524
create table t1 (n int not null primary key);
 
3525
set @@autocommit = 0;
3526
3526
insert into t1 values (4);
3527
3527
rollback;
3528
3528
select n, "after rollback" from t1;
3541
3541
n       after commit
3542
3542
4       after commit
3543
3543
5       after commit
3544
 
set autocommit=1;
 
3544
set @@autocommit = 1;
3545
3545
insert into t1 values (6);
3546
3546
insert into t1 values (4);
3547
3547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3550
3550
4
3551
3551
5
3552
3552
6
3553
 
set autocommit=0;
 
3553
set @@autocommit = 0;
3554
3554
DROP TABLE t1;
3555
3555
889;
3556
 
create table t1 (n int not null primary key) ;
3557
 
set autocommit=0;
 
3556
create table t1 (n int not null primary key);
 
3557
set @@autocommit = 0;
3558
3558
insert into t1 values (4);
3559
3559
rollback;
3560
3560
select n, "after rollback" from t1;
3573
3573
n       after commit
3574
3574
4       after commit
3575
3575
5       after commit
3576
 
set autocommit=1;
 
3576
set @@autocommit = 1;
3577
3577
insert into t1 values (6);
3578
3578
insert into t1 values (4);
3579
3579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3582
3582
4
3583
3583
5
3584
3584
6
3585
 
set autocommit=0;
 
3585
set @@autocommit = 0;
3586
3586
DROP TABLE t1;
3587
3587
888;
3588
 
create table t1 (n int not null primary key) ;
3589
 
set autocommit=0;
 
3588
create table t1 (n int not null primary key);
 
3589
set @@autocommit = 0;
3590
3590
insert into t1 values (4);
3591
3591
rollback;
3592
3592
select n, "after rollback" from t1;
3605
3605
n       after commit
3606
3606
4       after commit
3607
3607
5       after commit
3608
 
set autocommit=1;
 
3608
set @@autocommit = 1;
3609
3609
insert into t1 values (6);
3610
3610
insert into t1 values (4);
3611
3611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3614
3614
4
3615
3615
5
3616
3616
6
3617
 
set autocommit=0;
 
3617
set @@autocommit = 0;
3618
3618
DROP TABLE t1;
3619
3619
887;
3620
 
create table t1 (n int not null primary key) ;
3621
 
set autocommit=0;
 
3620
create table t1 (n int not null primary key);
 
3621
set @@autocommit = 0;
3622
3622
insert into t1 values (4);
3623
3623
rollback;
3624
3624
select n, "after rollback" from t1;
3637
3637
n       after commit
3638
3638
4       after commit
3639
3639
5       after commit
3640
 
set autocommit=1;
 
3640
set @@autocommit = 1;
3641
3641
insert into t1 values (6);
3642
3642
insert into t1 values (4);
3643
3643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3646
3646
4
3647
3647
5
3648
3648
6
3649
 
set autocommit=0;
 
3649
set @@autocommit = 0;
3650
3650
DROP TABLE t1;
3651
3651
886;
3652
 
create table t1 (n int not null primary key) ;
3653
 
set autocommit=0;
 
3652
create table t1 (n int not null primary key);
 
3653
set @@autocommit = 0;
3654
3654
insert into t1 values (4);
3655
3655
rollback;
3656
3656
select n, "after rollback" from t1;
3669
3669
n       after commit
3670
3670
4       after commit
3671
3671
5       after commit
3672
 
set autocommit=1;
 
3672
set @@autocommit = 1;
3673
3673
insert into t1 values (6);
3674
3674
insert into t1 values (4);
3675
3675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3678
3678
4
3679
3679
5
3680
3680
6
3681
 
set autocommit=0;
 
3681
set @@autocommit = 0;
3682
3682
DROP TABLE t1;
3683
3683
885;
3684
 
create table t1 (n int not null primary key) ;
3685
 
set autocommit=0;
 
3684
create table t1 (n int not null primary key);
 
3685
set @@autocommit = 0;
3686
3686
insert into t1 values (4);
3687
3687
rollback;
3688
3688
select n, "after rollback" from t1;
3701
3701
n       after commit
3702
3702
4       after commit
3703
3703
5       after commit
3704
 
set autocommit=1;
 
3704
set @@autocommit = 1;
3705
3705
insert into t1 values (6);
3706
3706
insert into t1 values (4);
3707
3707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3710
3710
4
3711
3711
5
3712
3712
6
3713
 
set autocommit=0;
 
3713
set @@autocommit = 0;
3714
3714
DROP TABLE t1;
3715
3715
884;
3716
 
create table t1 (n int not null primary key) ;
3717
 
set autocommit=0;
 
3716
create table t1 (n int not null primary key);
 
3717
set @@autocommit = 0;
3718
3718
insert into t1 values (4);
3719
3719
rollback;
3720
3720
select n, "after rollback" from t1;
3733
3733
n       after commit
3734
3734
4       after commit
3735
3735
5       after commit
3736
 
set autocommit=1;
 
3736
set @@autocommit = 1;
3737
3737
insert into t1 values (6);
3738
3738
insert into t1 values (4);
3739
3739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3742
3742
4
3743
3743
5
3744
3744
6
3745
 
set autocommit=0;
 
3745
set @@autocommit = 0;
3746
3746
DROP TABLE t1;
3747
3747
883;
3748
 
create table t1 (n int not null primary key) ;
3749
 
set autocommit=0;
 
3748
create table t1 (n int not null primary key);
 
3749
set @@autocommit = 0;
3750
3750
insert into t1 values (4);
3751
3751
rollback;
3752
3752
select n, "after rollback" from t1;
3765
3765
n       after commit
3766
3766
4       after commit
3767
3767
5       after commit
3768
 
set autocommit=1;
 
3768
set @@autocommit = 1;
3769
3769
insert into t1 values (6);
3770
3770
insert into t1 values (4);
3771
3771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3774
3774
4
3775
3775
5
3776
3776
6
3777
 
set autocommit=0;
 
3777
set @@autocommit = 0;
3778
3778
DROP TABLE t1;
3779
3779
882;
3780
 
create table t1 (n int not null primary key) ;
3781
 
set autocommit=0;
 
3780
create table t1 (n int not null primary key);
 
3781
set @@autocommit = 0;
3782
3782
insert into t1 values (4);
3783
3783
rollback;
3784
3784
select n, "after rollback" from t1;
3797
3797
n       after commit
3798
3798
4       after commit
3799
3799
5       after commit
3800
 
set autocommit=1;
 
3800
set @@autocommit = 1;
3801
3801
insert into t1 values (6);
3802
3802
insert into t1 values (4);
3803
3803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3806
3806
4
3807
3807
5
3808
3808
6
3809
 
set autocommit=0;
 
3809
set @@autocommit = 0;
3810
3810
DROP TABLE t1;
3811
3811
881;
3812
 
create table t1 (n int not null primary key) ;
3813
 
set autocommit=0;
 
3812
create table t1 (n int not null primary key);
 
3813
set @@autocommit = 0;
3814
3814
insert into t1 values (4);
3815
3815
rollback;
3816
3816
select n, "after rollback" from t1;
3829
3829
n       after commit
3830
3830
4       after commit
3831
3831
5       after commit
3832
 
set autocommit=1;
 
3832
set @@autocommit = 1;
3833
3833
insert into t1 values (6);
3834
3834
insert into t1 values (4);
3835
3835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3838
3838
4
3839
3839
5
3840
3840
6
3841
 
set autocommit=0;
 
3841
set @@autocommit = 0;
3842
3842
DROP TABLE t1;
3843
3843
880;
3844
 
create table t1 (n int not null primary key) ;
3845
 
set autocommit=0;
 
3844
create table t1 (n int not null primary key);
 
3845
set @@autocommit = 0;
3846
3846
insert into t1 values (4);
3847
3847
rollback;
3848
3848
select n, "after rollback" from t1;
3861
3861
n       after commit
3862
3862
4       after commit
3863
3863
5       after commit
3864
 
set autocommit=1;
 
3864
set @@autocommit = 1;
3865
3865
insert into t1 values (6);
3866
3866
insert into t1 values (4);
3867
3867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3870
3870
4
3871
3871
5
3872
3872
6
3873
 
set autocommit=0;
 
3873
set @@autocommit = 0;
3874
3874
DROP TABLE t1;
3875
3875
879;
3876
 
create table t1 (n int not null primary key) ;
3877
 
set autocommit=0;
 
3876
create table t1 (n int not null primary key);
 
3877
set @@autocommit = 0;
3878
3878
insert into t1 values (4);
3879
3879
rollback;
3880
3880
select n, "after rollback" from t1;
3893
3893
n       after commit
3894
3894
4       after commit
3895
3895
5       after commit
3896
 
set autocommit=1;
 
3896
set @@autocommit = 1;
3897
3897
insert into t1 values (6);
3898
3898
insert into t1 values (4);
3899
3899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3902
3902
4
3903
3903
5
3904
3904
6
3905
 
set autocommit=0;
 
3905
set @@autocommit = 0;
3906
3906
DROP TABLE t1;
3907
3907
878;
3908
 
create table t1 (n int not null primary key) ;
3909
 
set autocommit=0;
 
3908
create table t1 (n int not null primary key);
 
3909
set @@autocommit = 0;
3910
3910
insert into t1 values (4);
3911
3911
rollback;
3912
3912
select n, "after rollback" from t1;
3925
3925
n       after commit
3926
3926
4       after commit
3927
3927
5       after commit
3928
 
set autocommit=1;
 
3928
set @@autocommit = 1;
3929
3929
insert into t1 values (6);
3930
3930
insert into t1 values (4);
3931
3931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3934
3934
4
3935
3935
5
3936
3936
6
3937
 
set autocommit=0;
 
3937
set @@autocommit = 0;
3938
3938
DROP TABLE t1;
3939
3939
877;
3940
 
create table t1 (n int not null primary key) ;
3941
 
set autocommit=0;
 
3940
create table t1 (n int not null primary key);
 
3941
set @@autocommit = 0;
3942
3942
insert into t1 values (4);
3943
3943
rollback;
3944
3944
select n, "after rollback" from t1;
3957
3957
n       after commit
3958
3958
4       after commit
3959
3959
5       after commit
3960
 
set autocommit=1;
 
3960
set @@autocommit = 1;
3961
3961
insert into t1 values (6);
3962
3962
insert into t1 values (4);
3963
3963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3966
3966
4
3967
3967
5
3968
3968
6
3969
 
set autocommit=0;
 
3969
set @@autocommit = 0;
3970
3970
DROP TABLE t1;
3971
3971
876;
3972
 
create table t1 (n int not null primary key) ;
3973
 
set autocommit=0;
 
3972
create table t1 (n int not null primary key);
 
3973
set @@autocommit = 0;
3974
3974
insert into t1 values (4);
3975
3975
rollback;
3976
3976
select n, "after rollback" from t1;
3989
3989
n       after commit
3990
3990
4       after commit
3991
3991
5       after commit
3992
 
set autocommit=1;
 
3992
set @@autocommit = 1;
3993
3993
insert into t1 values (6);
3994
3994
insert into t1 values (4);
3995
3995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
3998
3998
4
3999
3999
5
4000
4000
6
4001
 
set autocommit=0;
 
4001
set @@autocommit = 0;
4002
4002
DROP TABLE t1;
4003
4003
875;
4004
 
create table t1 (n int not null primary key) ;
4005
 
set autocommit=0;
 
4004
create table t1 (n int not null primary key);
 
4005
set @@autocommit = 0;
4006
4006
insert into t1 values (4);
4007
4007
rollback;
4008
4008
select n, "after rollback" from t1;
4021
4021
n       after commit
4022
4022
4       after commit
4023
4023
5       after commit
4024
 
set autocommit=1;
 
4024
set @@autocommit = 1;
4025
4025
insert into t1 values (6);
4026
4026
insert into t1 values (4);
4027
4027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4030
4030
4
4031
4031
5
4032
4032
6
4033
 
set autocommit=0;
 
4033
set @@autocommit = 0;
4034
4034
DROP TABLE t1;
4035
4035
874;
4036
 
create table t1 (n int not null primary key) ;
4037
 
set autocommit=0;
 
4036
create table t1 (n int not null primary key);
 
4037
set @@autocommit = 0;
4038
4038
insert into t1 values (4);
4039
4039
rollback;
4040
4040
select n, "after rollback" from t1;
4053
4053
n       after commit
4054
4054
4       after commit
4055
4055
5       after commit
4056
 
set autocommit=1;
 
4056
set @@autocommit = 1;
4057
4057
insert into t1 values (6);
4058
4058
insert into t1 values (4);
4059
4059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4062
4062
4
4063
4063
5
4064
4064
6
4065
 
set autocommit=0;
 
4065
set @@autocommit = 0;
4066
4066
DROP TABLE t1;
4067
4067
873;
4068
 
create table t1 (n int not null primary key) ;
4069
 
set autocommit=0;
 
4068
create table t1 (n int not null primary key);
 
4069
set @@autocommit = 0;
4070
4070
insert into t1 values (4);
4071
4071
rollback;
4072
4072
select n, "after rollback" from t1;
4085
4085
n       after commit
4086
4086
4       after commit
4087
4087
5       after commit
4088
 
set autocommit=1;
 
4088
set @@autocommit = 1;
4089
4089
insert into t1 values (6);
4090
4090
insert into t1 values (4);
4091
4091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4094
4094
4
4095
4095
5
4096
4096
6
4097
 
set autocommit=0;
 
4097
set @@autocommit = 0;
4098
4098
DROP TABLE t1;
4099
4099
872;
4100
 
create table t1 (n int not null primary key) ;
4101
 
set autocommit=0;
 
4100
create table t1 (n int not null primary key);
 
4101
set @@autocommit = 0;
4102
4102
insert into t1 values (4);
4103
4103
rollback;
4104
4104
select n, "after rollback" from t1;
4117
4117
n       after commit
4118
4118
4       after commit
4119
4119
5       after commit
4120
 
set autocommit=1;
 
4120
set @@autocommit = 1;
4121
4121
insert into t1 values (6);
4122
4122
insert into t1 values (4);
4123
4123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4126
4126
4
4127
4127
5
4128
4128
6
4129
 
set autocommit=0;
 
4129
set @@autocommit = 0;
4130
4130
DROP TABLE t1;
4131
4131
871;
4132
 
create table t1 (n int not null primary key) ;
4133
 
set autocommit=0;
 
4132
create table t1 (n int not null primary key);
 
4133
set @@autocommit = 0;
4134
4134
insert into t1 values (4);
4135
4135
rollback;
4136
4136
select n, "after rollback" from t1;
4149
4149
n       after commit
4150
4150
4       after commit
4151
4151
5       after commit
4152
 
set autocommit=1;
 
4152
set @@autocommit = 1;
4153
4153
insert into t1 values (6);
4154
4154
insert into t1 values (4);
4155
4155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4158
4158
4
4159
4159
5
4160
4160
6
4161
 
set autocommit=0;
 
4161
set @@autocommit = 0;
4162
4162
DROP TABLE t1;
4163
4163
870;
4164
 
create table t1 (n int not null primary key) ;
4165
 
set autocommit=0;
 
4164
create table t1 (n int not null primary key);
 
4165
set @@autocommit = 0;
4166
4166
insert into t1 values (4);
4167
4167
rollback;
4168
4168
select n, "after rollback" from t1;
4181
4181
n       after commit
4182
4182
4       after commit
4183
4183
5       after commit
4184
 
set autocommit=1;
 
4184
set @@autocommit = 1;
4185
4185
insert into t1 values (6);
4186
4186
insert into t1 values (4);
4187
4187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4190
4190
4
4191
4191
5
4192
4192
6
4193
 
set autocommit=0;
 
4193
set @@autocommit = 0;
4194
4194
DROP TABLE t1;
4195
4195
869;
4196
 
create table t1 (n int not null primary key) ;
4197
 
set autocommit=0;
 
4196
create table t1 (n int not null primary key);
 
4197
set @@autocommit = 0;
4198
4198
insert into t1 values (4);
4199
4199
rollback;
4200
4200
select n, "after rollback" from t1;
4213
4213
n       after commit
4214
4214
4       after commit
4215
4215
5       after commit
4216
 
set autocommit=1;
 
4216
set @@autocommit = 1;
4217
4217
insert into t1 values (6);
4218
4218
insert into t1 values (4);
4219
4219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4222
4222
4
4223
4223
5
4224
4224
6
4225
 
set autocommit=0;
 
4225
set @@autocommit = 0;
4226
4226
DROP TABLE t1;
4227
4227
868;
4228
 
create table t1 (n int not null primary key) ;
4229
 
set autocommit=0;
 
4228
create table t1 (n int not null primary key);
 
4229
set @@autocommit = 0;
4230
4230
insert into t1 values (4);
4231
4231
rollback;
4232
4232
select n, "after rollback" from t1;
4245
4245
n       after commit
4246
4246
4       after commit
4247
4247
5       after commit
4248
 
set autocommit=1;
 
4248
set @@autocommit = 1;
4249
4249
insert into t1 values (6);
4250
4250
insert into t1 values (4);
4251
4251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4254
4254
4
4255
4255
5
4256
4256
6
4257
 
set autocommit=0;
 
4257
set @@autocommit = 0;
4258
4258
DROP TABLE t1;
4259
4259
867;
4260
 
create table t1 (n int not null primary key) ;
4261
 
set autocommit=0;
 
4260
create table t1 (n int not null primary key);
 
4261
set @@autocommit = 0;
4262
4262
insert into t1 values (4);
4263
4263
rollback;
4264
4264
select n, "after rollback" from t1;
4277
4277
n       after commit
4278
4278
4       after commit
4279
4279
5       after commit
4280
 
set autocommit=1;
 
4280
set @@autocommit = 1;
4281
4281
insert into t1 values (6);
4282
4282
insert into t1 values (4);
4283
4283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4286
4286
4
4287
4287
5
4288
4288
6
4289
 
set autocommit=0;
 
4289
set @@autocommit = 0;
4290
4290
DROP TABLE t1;
4291
4291
866;
4292
 
create table t1 (n int not null primary key) ;
4293
 
set autocommit=0;
 
4292
create table t1 (n int not null primary key);
 
4293
set @@autocommit = 0;
4294
4294
insert into t1 values (4);
4295
4295
rollback;
4296
4296
select n, "after rollback" from t1;
4309
4309
n       after commit
4310
4310
4       after commit
4311
4311
5       after commit
4312
 
set autocommit=1;
 
4312
set @@autocommit = 1;
4313
4313
insert into t1 values (6);
4314
4314
insert into t1 values (4);
4315
4315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4318
4318
4
4319
4319
5
4320
4320
6
4321
 
set autocommit=0;
 
4321
set @@autocommit = 0;
4322
4322
DROP TABLE t1;
4323
4323
865;
4324
 
create table t1 (n int not null primary key) ;
4325
 
set autocommit=0;
 
4324
create table t1 (n int not null primary key);
 
4325
set @@autocommit = 0;
4326
4326
insert into t1 values (4);
4327
4327
rollback;
4328
4328
select n, "after rollback" from t1;
4341
4341
n       after commit
4342
4342
4       after commit
4343
4343
5       after commit
4344
 
set autocommit=1;
 
4344
set @@autocommit = 1;
4345
4345
insert into t1 values (6);
4346
4346
insert into t1 values (4);
4347
4347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4350
4350
4
4351
4351
5
4352
4352
6
4353
 
set autocommit=0;
 
4353
set @@autocommit = 0;
4354
4354
DROP TABLE t1;
4355
4355
864;
4356
 
create table t1 (n int not null primary key) ;
4357
 
set autocommit=0;
 
4356
create table t1 (n int not null primary key);
 
4357
set @@autocommit = 0;
4358
4358
insert into t1 values (4);
4359
4359
rollback;
4360
4360
select n, "after rollback" from t1;
4373
4373
n       after commit
4374
4374
4       after commit
4375
4375
5       after commit
4376
 
set autocommit=1;
 
4376
set @@autocommit = 1;
4377
4377
insert into t1 values (6);
4378
4378
insert into t1 values (4);
4379
4379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4382
4382
4
4383
4383
5
4384
4384
6
4385
 
set autocommit=0;
 
4385
set @@autocommit = 0;
4386
4386
DROP TABLE t1;
4387
4387
863;
4388
 
create table t1 (n int not null primary key) ;
4389
 
set autocommit=0;
 
4388
create table t1 (n int not null primary key);
 
4389
set @@autocommit = 0;
4390
4390
insert into t1 values (4);
4391
4391
rollback;
4392
4392
select n, "after rollback" from t1;
4405
4405
n       after commit
4406
4406
4       after commit
4407
4407
5       after commit
4408
 
set autocommit=1;
 
4408
set @@autocommit = 1;
4409
4409
insert into t1 values (6);
4410
4410
insert into t1 values (4);
4411
4411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4414
4414
4
4415
4415
5
4416
4416
6
4417
 
set autocommit=0;
 
4417
set @@autocommit = 0;
4418
4418
DROP TABLE t1;
4419
4419
862;
4420
 
create table t1 (n int not null primary key) ;
4421
 
set autocommit=0;
 
4420
create table t1 (n int not null primary key);
 
4421
set @@autocommit = 0;
4422
4422
insert into t1 values (4);
4423
4423
rollback;
4424
4424
select n, "after rollback" from t1;
4437
4437
n       after commit
4438
4438
4       after commit
4439
4439
5       after commit
4440
 
set autocommit=1;
 
4440
set @@autocommit = 1;
4441
4441
insert into t1 values (6);
4442
4442
insert into t1 values (4);
4443
4443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4446
4446
4
4447
4447
5
4448
4448
6
4449
 
set autocommit=0;
 
4449
set @@autocommit = 0;
4450
4450
DROP TABLE t1;
4451
4451
861;
4452
 
create table t1 (n int not null primary key) ;
4453
 
set autocommit=0;
 
4452
create table t1 (n int not null primary key);
 
4453
set @@autocommit = 0;
4454
4454
insert into t1 values (4);
4455
4455
rollback;
4456
4456
select n, "after rollback" from t1;
4469
4469
n       after commit
4470
4470
4       after commit
4471
4471
5       after commit
4472
 
set autocommit=1;
 
4472
set @@autocommit = 1;
4473
4473
insert into t1 values (6);
4474
4474
insert into t1 values (4);
4475
4475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4478
4478
4
4479
4479
5
4480
4480
6
4481
 
set autocommit=0;
 
4481
set @@autocommit = 0;
4482
4482
DROP TABLE t1;
4483
4483
860;
4484
 
create table t1 (n int not null primary key) ;
4485
 
set autocommit=0;
 
4484
create table t1 (n int not null primary key);
 
4485
set @@autocommit = 0;
4486
4486
insert into t1 values (4);
4487
4487
rollback;
4488
4488
select n, "after rollback" from t1;
4501
4501
n       after commit
4502
4502
4       after commit
4503
4503
5       after commit
4504
 
set autocommit=1;
 
4504
set @@autocommit = 1;
4505
4505
insert into t1 values (6);
4506
4506
insert into t1 values (4);
4507
4507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4510
4510
4
4511
4511
5
4512
4512
6
4513
 
set autocommit=0;
 
4513
set @@autocommit = 0;
4514
4514
DROP TABLE t1;
4515
4515
859;
4516
 
create table t1 (n int not null primary key) ;
4517
 
set autocommit=0;
 
4516
create table t1 (n int not null primary key);
 
4517
set @@autocommit = 0;
4518
4518
insert into t1 values (4);
4519
4519
rollback;
4520
4520
select n, "after rollback" from t1;
4533
4533
n       after commit
4534
4534
4       after commit
4535
4535
5       after commit
4536
 
set autocommit=1;
 
4536
set @@autocommit = 1;
4537
4537
insert into t1 values (6);
4538
4538
insert into t1 values (4);
4539
4539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4542
4542
4
4543
4543
5
4544
4544
6
4545
 
set autocommit=0;
 
4545
set @@autocommit = 0;
4546
4546
DROP TABLE t1;
4547
4547
858;
4548
 
create table t1 (n int not null primary key) ;
4549
 
set autocommit=0;
 
4548
create table t1 (n int not null primary key);
 
4549
set @@autocommit = 0;
4550
4550
insert into t1 values (4);
4551
4551
rollback;
4552
4552
select n, "after rollback" from t1;
4565
4565
n       after commit
4566
4566
4       after commit
4567
4567
5       after commit
4568
 
set autocommit=1;
 
4568
set @@autocommit = 1;
4569
4569
insert into t1 values (6);
4570
4570
insert into t1 values (4);
4571
4571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4574
4574
4
4575
4575
5
4576
4576
6
4577
 
set autocommit=0;
 
4577
set @@autocommit = 0;
4578
4578
DROP TABLE t1;
4579
4579
857;
4580
 
create table t1 (n int not null primary key) ;
4581
 
set autocommit=0;
 
4580
create table t1 (n int not null primary key);
 
4581
set @@autocommit = 0;
4582
4582
insert into t1 values (4);
4583
4583
rollback;
4584
4584
select n, "after rollback" from t1;
4597
4597
n       after commit
4598
4598
4       after commit
4599
4599
5       after commit
4600
 
set autocommit=1;
 
4600
set @@autocommit = 1;
4601
4601
insert into t1 values (6);
4602
4602
insert into t1 values (4);
4603
4603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4606
4606
4
4607
4607
5
4608
4608
6
4609
 
set autocommit=0;
 
4609
set @@autocommit = 0;
4610
4610
DROP TABLE t1;
4611
4611
856;
4612
 
create table t1 (n int not null primary key) ;
4613
 
set autocommit=0;
 
4612
create table t1 (n int not null primary key);
 
4613
set @@autocommit = 0;
4614
4614
insert into t1 values (4);
4615
4615
rollback;
4616
4616
select n, "after rollback" from t1;
4629
4629
n       after commit
4630
4630
4       after commit
4631
4631
5       after commit
4632
 
set autocommit=1;
 
4632
set @@autocommit = 1;
4633
4633
insert into t1 values (6);
4634
4634
insert into t1 values (4);
4635
4635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4638
4638
4
4639
4639
5
4640
4640
6
4641
 
set autocommit=0;
 
4641
set @@autocommit = 0;
4642
4642
DROP TABLE t1;
4643
4643
855;
4644
 
create table t1 (n int not null primary key) ;
4645
 
set autocommit=0;
 
4644
create table t1 (n int not null primary key);
 
4645
set @@autocommit = 0;
4646
4646
insert into t1 values (4);
4647
4647
rollback;
4648
4648
select n, "after rollback" from t1;
4661
4661
n       after commit
4662
4662
4       after commit
4663
4663
5       after commit
4664
 
set autocommit=1;
 
4664
set @@autocommit = 1;
4665
4665
insert into t1 values (6);
4666
4666
insert into t1 values (4);
4667
4667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4670
4670
4
4671
4671
5
4672
4672
6
4673
 
set autocommit=0;
 
4673
set @@autocommit = 0;
4674
4674
DROP TABLE t1;
4675
4675
854;
4676
 
create table t1 (n int not null primary key) ;
4677
 
set autocommit=0;
 
4676
create table t1 (n int not null primary key);
 
4677
set @@autocommit = 0;
4678
4678
insert into t1 values (4);
4679
4679
rollback;
4680
4680
select n, "after rollback" from t1;
4693
4693
n       after commit
4694
4694
4       after commit
4695
4695
5       after commit
4696
 
set autocommit=1;
 
4696
set @@autocommit = 1;
4697
4697
insert into t1 values (6);
4698
4698
insert into t1 values (4);
4699
4699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4702
4702
4
4703
4703
5
4704
4704
6
4705
 
set autocommit=0;
 
4705
set @@autocommit = 0;
4706
4706
DROP TABLE t1;
4707
4707
853;
4708
 
create table t1 (n int not null primary key) ;
4709
 
set autocommit=0;
 
4708
create table t1 (n int not null primary key);
 
4709
set @@autocommit = 0;
4710
4710
insert into t1 values (4);
4711
4711
rollback;
4712
4712
select n, "after rollback" from t1;
4725
4725
n       after commit
4726
4726
4       after commit
4727
4727
5       after commit
4728
 
set autocommit=1;
 
4728
set @@autocommit = 1;
4729
4729
insert into t1 values (6);
4730
4730
insert into t1 values (4);
4731
4731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4734
4734
4
4735
4735
5
4736
4736
6
4737
 
set autocommit=0;
 
4737
set @@autocommit = 0;
4738
4738
DROP TABLE t1;
4739
4739
852;
4740
 
create table t1 (n int not null primary key) ;
4741
 
set autocommit=0;
 
4740
create table t1 (n int not null primary key);
 
4741
set @@autocommit = 0;
4742
4742
insert into t1 values (4);
4743
4743
rollback;
4744
4744
select n, "after rollback" from t1;
4757
4757
n       after commit
4758
4758
4       after commit
4759
4759
5       after commit
4760
 
set autocommit=1;
 
4760
set @@autocommit = 1;
4761
4761
insert into t1 values (6);
4762
4762
insert into t1 values (4);
4763
4763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4766
4766
4
4767
4767
5
4768
4768
6
4769
 
set autocommit=0;
 
4769
set @@autocommit = 0;
4770
4770
DROP TABLE t1;
4771
4771
851;
4772
 
create table t1 (n int not null primary key) ;
4773
 
set autocommit=0;
 
4772
create table t1 (n int not null primary key);
 
4773
set @@autocommit = 0;
4774
4774
insert into t1 values (4);
4775
4775
rollback;
4776
4776
select n, "after rollback" from t1;
4789
4789
n       after commit
4790
4790
4       after commit
4791
4791
5       after commit
4792
 
set autocommit=1;
 
4792
set @@autocommit = 1;
4793
4793
insert into t1 values (6);
4794
4794
insert into t1 values (4);
4795
4795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4798
4798
4
4799
4799
5
4800
4800
6
4801
 
set autocommit=0;
 
4801
set @@autocommit = 0;
4802
4802
DROP TABLE t1;
4803
4803
850;
4804
 
create table t1 (n int not null primary key) ;
4805
 
set autocommit=0;
 
4804
create table t1 (n int not null primary key);
 
4805
set @@autocommit = 0;
4806
4806
insert into t1 values (4);
4807
4807
rollback;
4808
4808
select n, "after rollback" from t1;
4821
4821
n       after commit
4822
4822
4       after commit
4823
4823
5       after commit
4824
 
set autocommit=1;
 
4824
set @@autocommit = 1;
4825
4825
insert into t1 values (6);
4826
4826
insert into t1 values (4);
4827
4827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4830
4830
4
4831
4831
5
4832
4832
6
4833
 
set autocommit=0;
 
4833
set @@autocommit = 0;
4834
4834
DROP TABLE t1;
4835
4835
849;
4836
 
create table t1 (n int not null primary key) ;
4837
 
set autocommit=0;
 
4836
create table t1 (n int not null primary key);
 
4837
set @@autocommit = 0;
4838
4838
insert into t1 values (4);
4839
4839
rollback;
4840
4840
select n, "after rollback" from t1;
4853
4853
n       after commit
4854
4854
4       after commit
4855
4855
5       after commit
4856
 
set autocommit=1;
 
4856
set @@autocommit = 1;
4857
4857
insert into t1 values (6);
4858
4858
insert into t1 values (4);
4859
4859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4862
4862
4
4863
4863
5
4864
4864
6
4865
 
set autocommit=0;
 
4865
set @@autocommit = 0;
4866
4866
DROP TABLE t1;
4867
4867
848;
4868
 
create table t1 (n int not null primary key) ;
4869
 
set autocommit=0;
 
4868
create table t1 (n int not null primary key);
 
4869
set @@autocommit = 0;
4870
4870
insert into t1 values (4);
4871
4871
rollback;
4872
4872
select n, "after rollback" from t1;
4885
4885
n       after commit
4886
4886
4       after commit
4887
4887
5       after commit
4888
 
set autocommit=1;
 
4888
set @@autocommit = 1;
4889
4889
insert into t1 values (6);
4890
4890
insert into t1 values (4);
4891
4891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4894
4894
4
4895
4895
5
4896
4896
6
4897
 
set autocommit=0;
 
4897
set @@autocommit = 0;
4898
4898
DROP TABLE t1;
4899
4899
847;
4900
 
create table t1 (n int not null primary key) ;
4901
 
set autocommit=0;
 
4900
create table t1 (n int not null primary key);
 
4901
set @@autocommit = 0;
4902
4902
insert into t1 values (4);
4903
4903
rollback;
4904
4904
select n, "after rollback" from t1;
4917
4917
n       after commit
4918
4918
4       after commit
4919
4919
5       after commit
4920
 
set autocommit=1;
 
4920
set @@autocommit = 1;
4921
4921
insert into t1 values (6);
4922
4922
insert into t1 values (4);
4923
4923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4926
4926
4
4927
4927
5
4928
4928
6
4929
 
set autocommit=0;
 
4929
set @@autocommit = 0;
4930
4930
DROP TABLE t1;
4931
4931
846;
4932
 
create table t1 (n int not null primary key) ;
4933
 
set autocommit=0;
 
4932
create table t1 (n int not null primary key);
 
4933
set @@autocommit = 0;
4934
4934
insert into t1 values (4);
4935
4935
rollback;
4936
4936
select n, "after rollback" from t1;
4949
4949
n       after commit
4950
4950
4       after commit
4951
4951
5       after commit
4952
 
set autocommit=1;
 
4952
set @@autocommit = 1;
4953
4953
insert into t1 values (6);
4954
4954
insert into t1 values (4);
4955
4955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4958
4958
4
4959
4959
5
4960
4960
6
4961
 
set autocommit=0;
 
4961
set @@autocommit = 0;
4962
4962
DROP TABLE t1;
4963
4963
845;
4964
 
create table t1 (n int not null primary key) ;
4965
 
set autocommit=0;
 
4964
create table t1 (n int not null primary key);
 
4965
set @@autocommit = 0;
4966
4966
insert into t1 values (4);
4967
4967
rollback;
4968
4968
select n, "after rollback" from t1;
4981
4981
n       after commit
4982
4982
4       after commit
4983
4983
5       after commit
4984
 
set autocommit=1;
 
4984
set @@autocommit = 1;
4985
4985
insert into t1 values (6);
4986
4986
insert into t1 values (4);
4987
4987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
4990
4990
4
4991
4991
5
4992
4992
6
4993
 
set autocommit=0;
 
4993
set @@autocommit = 0;
4994
4994
DROP TABLE t1;
4995
4995
844;
4996
 
create table t1 (n int not null primary key) ;
4997
 
set autocommit=0;
 
4996
create table t1 (n int not null primary key);
 
4997
set @@autocommit = 0;
4998
4998
insert into t1 values (4);
4999
4999
rollback;
5000
5000
select n, "after rollback" from t1;
5013
5013
n       after commit
5014
5014
4       after commit
5015
5015
5       after commit
5016
 
set autocommit=1;
 
5016
set @@autocommit = 1;
5017
5017
insert into t1 values (6);
5018
5018
insert into t1 values (4);
5019
5019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5022
5022
4
5023
5023
5
5024
5024
6
5025
 
set autocommit=0;
 
5025
set @@autocommit = 0;
5026
5026
DROP TABLE t1;
5027
5027
843;
5028
 
create table t1 (n int not null primary key) ;
5029
 
set autocommit=0;
 
5028
create table t1 (n int not null primary key);
 
5029
set @@autocommit = 0;
5030
5030
insert into t1 values (4);
5031
5031
rollback;
5032
5032
select n, "after rollback" from t1;
5045
5045
n       after commit
5046
5046
4       after commit
5047
5047
5       after commit
5048
 
set autocommit=1;
 
5048
set @@autocommit = 1;
5049
5049
insert into t1 values (6);
5050
5050
insert into t1 values (4);
5051
5051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5054
5054
4
5055
5055
5
5056
5056
6
5057
 
set autocommit=0;
 
5057
set @@autocommit = 0;
5058
5058
DROP TABLE t1;
5059
5059
842;
5060
 
create table t1 (n int not null primary key) ;
5061
 
set autocommit=0;
 
5060
create table t1 (n int not null primary key);
 
5061
set @@autocommit = 0;
5062
5062
insert into t1 values (4);
5063
5063
rollback;
5064
5064
select n, "after rollback" from t1;
5077
5077
n       after commit
5078
5078
4       after commit
5079
5079
5       after commit
5080
 
set autocommit=1;
 
5080
set @@autocommit = 1;
5081
5081
insert into t1 values (6);
5082
5082
insert into t1 values (4);
5083
5083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5086
5086
4
5087
5087
5
5088
5088
6
5089
 
set autocommit=0;
 
5089
set @@autocommit = 0;
5090
5090
DROP TABLE t1;
5091
5091
841;
5092
 
create table t1 (n int not null primary key) ;
5093
 
set autocommit=0;
 
5092
create table t1 (n int not null primary key);
 
5093
set @@autocommit = 0;
5094
5094
insert into t1 values (4);
5095
5095
rollback;
5096
5096
select n, "after rollback" from t1;
5109
5109
n       after commit
5110
5110
4       after commit
5111
5111
5       after commit
5112
 
set autocommit=1;
 
5112
set @@autocommit = 1;
5113
5113
insert into t1 values (6);
5114
5114
insert into t1 values (4);
5115
5115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5118
5118
4
5119
5119
5
5120
5120
6
5121
 
set autocommit=0;
 
5121
set @@autocommit = 0;
5122
5122
DROP TABLE t1;
5123
5123
840;
5124
 
create table t1 (n int not null primary key) ;
5125
 
set autocommit=0;
 
5124
create table t1 (n int not null primary key);
 
5125
set @@autocommit = 0;
5126
5126
insert into t1 values (4);
5127
5127
rollback;
5128
5128
select n, "after rollback" from t1;
5141
5141
n       after commit
5142
5142
4       after commit
5143
5143
5       after commit
5144
 
set autocommit=1;
 
5144
set @@autocommit = 1;
5145
5145
insert into t1 values (6);
5146
5146
insert into t1 values (4);
5147
5147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5150
5150
4
5151
5151
5
5152
5152
6
5153
 
set autocommit=0;
 
5153
set @@autocommit = 0;
5154
5154
DROP TABLE t1;
5155
5155
839;
5156
 
create table t1 (n int not null primary key) ;
5157
 
set autocommit=0;
 
5156
create table t1 (n int not null primary key);
 
5157
set @@autocommit = 0;
5158
5158
insert into t1 values (4);
5159
5159
rollback;
5160
5160
select n, "after rollback" from t1;
5173
5173
n       after commit
5174
5174
4       after commit
5175
5175
5       after commit
5176
 
set autocommit=1;
 
5176
set @@autocommit = 1;
5177
5177
insert into t1 values (6);
5178
5178
insert into t1 values (4);
5179
5179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5182
5182
4
5183
5183
5
5184
5184
6
5185
 
set autocommit=0;
 
5185
set @@autocommit = 0;
5186
5186
DROP TABLE t1;
5187
5187
838;
5188
 
create table t1 (n int not null primary key) ;
5189
 
set autocommit=0;
 
5188
create table t1 (n int not null primary key);
 
5189
set @@autocommit = 0;
5190
5190
insert into t1 values (4);
5191
5191
rollback;
5192
5192
select n, "after rollback" from t1;
5205
5205
n       after commit
5206
5206
4       after commit
5207
5207
5       after commit
5208
 
set autocommit=1;
 
5208
set @@autocommit = 1;
5209
5209
insert into t1 values (6);
5210
5210
insert into t1 values (4);
5211
5211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5214
5214
4
5215
5215
5
5216
5216
6
5217
 
set autocommit=0;
 
5217
set @@autocommit = 0;
5218
5218
DROP TABLE t1;
5219
5219
837;
5220
 
create table t1 (n int not null primary key) ;
5221
 
set autocommit=0;
 
5220
create table t1 (n int not null primary key);
 
5221
set @@autocommit = 0;
5222
5222
insert into t1 values (4);
5223
5223
rollback;
5224
5224
select n, "after rollback" from t1;
5237
5237
n       after commit
5238
5238
4       after commit
5239
5239
5       after commit
5240
 
set autocommit=1;
 
5240
set @@autocommit = 1;
5241
5241
insert into t1 values (6);
5242
5242
insert into t1 values (4);
5243
5243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5246
5246
4
5247
5247
5
5248
5248
6
5249
 
set autocommit=0;
 
5249
set @@autocommit = 0;
5250
5250
DROP TABLE t1;
5251
5251
836;
5252
 
create table t1 (n int not null primary key) ;
5253
 
set autocommit=0;
 
5252
create table t1 (n int not null primary key);
 
5253
set @@autocommit = 0;
5254
5254
insert into t1 values (4);
5255
5255
rollback;
5256
5256
select n, "after rollback" from t1;
5269
5269
n       after commit
5270
5270
4       after commit
5271
5271
5       after commit
5272
 
set autocommit=1;
 
5272
set @@autocommit = 1;
5273
5273
insert into t1 values (6);
5274
5274
insert into t1 values (4);
5275
5275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5278
5278
4
5279
5279
5
5280
5280
6
5281
 
set autocommit=0;
 
5281
set @@autocommit = 0;
5282
5282
DROP TABLE t1;
5283
5283
835;
5284
 
create table t1 (n int not null primary key) ;
5285
 
set autocommit=0;
 
5284
create table t1 (n int not null primary key);
 
5285
set @@autocommit = 0;
5286
5286
insert into t1 values (4);
5287
5287
rollback;
5288
5288
select n, "after rollback" from t1;
5301
5301
n       after commit
5302
5302
4       after commit
5303
5303
5       after commit
5304
 
set autocommit=1;
 
5304
set @@autocommit = 1;
5305
5305
insert into t1 values (6);
5306
5306
insert into t1 values (4);
5307
5307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5310
5310
4
5311
5311
5
5312
5312
6
5313
 
set autocommit=0;
 
5313
set @@autocommit = 0;
5314
5314
DROP TABLE t1;
5315
5315
834;
5316
 
create table t1 (n int not null primary key) ;
5317
 
set autocommit=0;
 
5316
create table t1 (n int not null primary key);
 
5317
set @@autocommit = 0;
5318
5318
insert into t1 values (4);
5319
5319
rollback;
5320
5320
select n, "after rollback" from t1;
5333
5333
n       after commit
5334
5334
4       after commit
5335
5335
5       after commit
5336
 
set autocommit=1;
 
5336
set @@autocommit = 1;
5337
5337
insert into t1 values (6);
5338
5338
insert into t1 values (4);
5339
5339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5342
5342
4
5343
5343
5
5344
5344
6
5345
 
set autocommit=0;
 
5345
set @@autocommit = 0;
5346
5346
DROP TABLE t1;
5347
5347
833;
5348
 
create table t1 (n int not null primary key) ;
5349
 
set autocommit=0;
 
5348
create table t1 (n int not null primary key);
 
5349
set @@autocommit = 0;
5350
5350
insert into t1 values (4);
5351
5351
rollback;
5352
5352
select n, "after rollback" from t1;
5365
5365
n       after commit
5366
5366
4       after commit
5367
5367
5       after commit
5368
 
set autocommit=1;
 
5368
set @@autocommit = 1;
5369
5369
insert into t1 values (6);
5370
5370
insert into t1 values (4);
5371
5371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5374
5374
4
5375
5375
5
5376
5376
6
5377
 
set autocommit=0;
 
5377
set @@autocommit = 0;
5378
5378
DROP TABLE t1;
5379
5379
832;
5380
 
create table t1 (n int not null primary key) ;
5381
 
set autocommit=0;
 
5380
create table t1 (n int not null primary key);
 
5381
set @@autocommit = 0;
5382
5382
insert into t1 values (4);
5383
5383
rollback;
5384
5384
select n, "after rollback" from t1;
5397
5397
n       after commit
5398
5398
4       after commit
5399
5399
5       after commit
5400
 
set autocommit=1;
 
5400
set @@autocommit = 1;
5401
5401
insert into t1 values (6);
5402
5402
insert into t1 values (4);
5403
5403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5406
5406
4
5407
5407
5
5408
5408
6
5409
 
set autocommit=0;
 
5409
set @@autocommit = 0;
5410
5410
DROP TABLE t1;
5411
5411
831;
5412
 
create table t1 (n int not null primary key) ;
5413
 
set autocommit=0;
 
5412
create table t1 (n int not null primary key);
 
5413
set @@autocommit = 0;
5414
5414
insert into t1 values (4);
5415
5415
rollback;
5416
5416
select n, "after rollback" from t1;
5429
5429
n       after commit
5430
5430
4       after commit
5431
5431
5       after commit
5432
 
set autocommit=1;
 
5432
set @@autocommit = 1;
5433
5433
insert into t1 values (6);
5434
5434
insert into t1 values (4);
5435
5435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5438
5438
4
5439
5439
5
5440
5440
6
5441
 
set autocommit=0;
 
5441
set @@autocommit = 0;
5442
5442
DROP TABLE t1;
5443
5443
830;
5444
 
create table t1 (n int not null primary key) ;
5445
 
set autocommit=0;
 
5444
create table t1 (n int not null primary key);
 
5445
set @@autocommit = 0;
5446
5446
insert into t1 values (4);
5447
5447
rollback;
5448
5448
select n, "after rollback" from t1;
5461
5461
n       after commit
5462
5462
4       after commit
5463
5463
5       after commit
5464
 
set autocommit=1;
 
5464
set @@autocommit = 1;
5465
5465
insert into t1 values (6);
5466
5466
insert into t1 values (4);
5467
5467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5470
5470
4
5471
5471
5
5472
5472
6
5473
 
set autocommit=0;
 
5473
set @@autocommit = 0;
5474
5474
DROP TABLE t1;
5475
5475
829;
5476
 
create table t1 (n int not null primary key) ;
5477
 
set autocommit=0;
 
5476
create table t1 (n int not null primary key);
 
5477
set @@autocommit = 0;
5478
5478
insert into t1 values (4);
5479
5479
rollback;
5480
5480
select n, "after rollback" from t1;
5493
5493
n       after commit
5494
5494
4       after commit
5495
5495
5       after commit
5496
 
set autocommit=1;
 
5496
set @@autocommit = 1;
5497
5497
insert into t1 values (6);
5498
5498
insert into t1 values (4);
5499
5499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5502
5502
4
5503
5503
5
5504
5504
6
5505
 
set autocommit=0;
 
5505
set @@autocommit = 0;
5506
5506
DROP TABLE t1;
5507
5507
828;
5508
 
create table t1 (n int not null primary key) ;
5509
 
set autocommit=0;
 
5508
create table t1 (n int not null primary key);
 
5509
set @@autocommit = 0;
5510
5510
insert into t1 values (4);
5511
5511
rollback;
5512
5512
select n, "after rollback" from t1;
5525
5525
n       after commit
5526
5526
4       after commit
5527
5527
5       after commit
5528
 
set autocommit=1;
 
5528
set @@autocommit = 1;
5529
5529
insert into t1 values (6);
5530
5530
insert into t1 values (4);
5531
5531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5534
5534
4
5535
5535
5
5536
5536
6
5537
 
set autocommit=0;
 
5537
set @@autocommit = 0;
5538
5538
DROP TABLE t1;
5539
5539
827;
5540
 
create table t1 (n int not null primary key) ;
5541
 
set autocommit=0;
 
5540
create table t1 (n int not null primary key);
 
5541
set @@autocommit = 0;
5542
5542
insert into t1 values (4);
5543
5543
rollback;
5544
5544
select n, "after rollback" from t1;
5557
5557
n       after commit
5558
5558
4       after commit
5559
5559
5       after commit
5560
 
set autocommit=1;
 
5560
set @@autocommit = 1;
5561
5561
insert into t1 values (6);
5562
5562
insert into t1 values (4);
5563
5563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5566
5566
4
5567
5567
5
5568
5568
6
5569
 
set autocommit=0;
 
5569
set @@autocommit = 0;
5570
5570
DROP TABLE t1;
5571
5571
826;
5572
 
create table t1 (n int not null primary key) ;
5573
 
set autocommit=0;
 
5572
create table t1 (n int not null primary key);
 
5573
set @@autocommit = 0;
5574
5574
insert into t1 values (4);
5575
5575
rollback;
5576
5576
select n, "after rollback" from t1;
5589
5589
n       after commit
5590
5590
4       after commit
5591
5591
5       after commit
5592
 
set autocommit=1;
 
5592
set @@autocommit = 1;
5593
5593
insert into t1 values (6);
5594
5594
insert into t1 values (4);
5595
5595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5598
5598
4
5599
5599
5
5600
5600
6
5601
 
set autocommit=0;
 
5601
set @@autocommit = 0;
5602
5602
DROP TABLE t1;
5603
5603
825;
5604
 
create table t1 (n int not null primary key) ;
5605
 
set autocommit=0;
 
5604
create table t1 (n int not null primary key);
 
5605
set @@autocommit = 0;
5606
5606
insert into t1 values (4);
5607
5607
rollback;
5608
5608
select n, "after rollback" from t1;
5621
5621
n       after commit
5622
5622
4       after commit
5623
5623
5       after commit
5624
 
set autocommit=1;
 
5624
set @@autocommit = 1;
5625
5625
insert into t1 values (6);
5626
5626
insert into t1 values (4);
5627
5627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5630
5630
4
5631
5631
5
5632
5632
6
5633
 
set autocommit=0;
 
5633
set @@autocommit = 0;
5634
5634
DROP TABLE t1;
5635
5635
824;
5636
 
create table t1 (n int not null primary key) ;
5637
 
set autocommit=0;
 
5636
create table t1 (n int not null primary key);
 
5637
set @@autocommit = 0;
5638
5638
insert into t1 values (4);
5639
5639
rollback;
5640
5640
select n, "after rollback" from t1;
5653
5653
n       after commit
5654
5654
4       after commit
5655
5655
5       after commit
5656
 
set autocommit=1;
 
5656
set @@autocommit = 1;
5657
5657
insert into t1 values (6);
5658
5658
insert into t1 values (4);
5659
5659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5662
5662
4
5663
5663
5
5664
5664
6
5665
 
set autocommit=0;
 
5665
set @@autocommit = 0;
5666
5666
DROP TABLE t1;
5667
5667
823;
5668
 
create table t1 (n int not null primary key) ;
5669
 
set autocommit=0;
 
5668
create table t1 (n int not null primary key);
 
5669
set @@autocommit = 0;
5670
5670
insert into t1 values (4);
5671
5671
rollback;
5672
5672
select n, "after rollback" from t1;
5685
5685
n       after commit
5686
5686
4       after commit
5687
5687
5       after commit
5688
 
set autocommit=1;
 
5688
set @@autocommit = 1;
5689
5689
insert into t1 values (6);
5690
5690
insert into t1 values (4);
5691
5691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5694
5694
4
5695
5695
5
5696
5696
6
5697
 
set autocommit=0;
 
5697
set @@autocommit = 0;
5698
5698
DROP TABLE t1;
5699
5699
822;
5700
 
create table t1 (n int not null primary key) ;
5701
 
set autocommit=0;
 
5700
create table t1 (n int not null primary key);
 
5701
set @@autocommit = 0;
5702
5702
insert into t1 values (4);
5703
5703
rollback;
5704
5704
select n, "after rollback" from t1;
5717
5717
n       after commit
5718
5718
4       after commit
5719
5719
5       after commit
5720
 
set autocommit=1;
 
5720
set @@autocommit = 1;
5721
5721
insert into t1 values (6);
5722
5722
insert into t1 values (4);
5723
5723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5726
5726
4
5727
5727
5
5728
5728
6
5729
 
set autocommit=0;
 
5729
set @@autocommit = 0;
5730
5730
DROP TABLE t1;
5731
5731
821;
5732
 
create table t1 (n int not null primary key) ;
5733
 
set autocommit=0;
 
5732
create table t1 (n int not null primary key);
 
5733
set @@autocommit = 0;
5734
5734
insert into t1 values (4);
5735
5735
rollback;
5736
5736
select n, "after rollback" from t1;
5749
5749
n       after commit
5750
5750
4       after commit
5751
5751
5       after commit
5752
 
set autocommit=1;
 
5752
set @@autocommit = 1;
5753
5753
insert into t1 values (6);
5754
5754
insert into t1 values (4);
5755
5755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5758
5758
4
5759
5759
5
5760
5760
6
5761
 
set autocommit=0;
 
5761
set @@autocommit = 0;
5762
5762
DROP TABLE t1;
5763
5763
820;
5764
 
create table t1 (n int not null primary key) ;
5765
 
set autocommit=0;
 
5764
create table t1 (n int not null primary key);
 
5765
set @@autocommit = 0;
5766
5766
insert into t1 values (4);
5767
5767
rollback;
5768
5768
select n, "after rollback" from t1;
5781
5781
n       after commit
5782
5782
4       after commit
5783
5783
5       after commit
5784
 
set autocommit=1;
 
5784
set @@autocommit = 1;
5785
5785
insert into t1 values (6);
5786
5786
insert into t1 values (4);
5787
5787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5790
5790
4
5791
5791
5
5792
5792
6
5793
 
set autocommit=0;
 
5793
set @@autocommit = 0;
5794
5794
DROP TABLE t1;
5795
5795
819;
5796
 
create table t1 (n int not null primary key) ;
5797
 
set autocommit=0;
 
5796
create table t1 (n int not null primary key);
 
5797
set @@autocommit = 0;
5798
5798
insert into t1 values (4);
5799
5799
rollback;
5800
5800
select n, "after rollback" from t1;
5813
5813
n       after commit
5814
5814
4       after commit
5815
5815
5       after commit
5816
 
set autocommit=1;
 
5816
set @@autocommit = 1;
5817
5817
insert into t1 values (6);
5818
5818
insert into t1 values (4);
5819
5819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5822
5822
4
5823
5823
5
5824
5824
6
5825
 
set autocommit=0;
 
5825
set @@autocommit = 0;
5826
5826
DROP TABLE t1;
5827
5827
818;
5828
 
create table t1 (n int not null primary key) ;
5829
 
set autocommit=0;
 
5828
create table t1 (n int not null primary key);
 
5829
set @@autocommit = 0;
5830
5830
insert into t1 values (4);
5831
5831
rollback;
5832
5832
select n, "after rollback" from t1;
5845
5845
n       after commit
5846
5846
4       after commit
5847
5847
5       after commit
5848
 
set autocommit=1;
 
5848
set @@autocommit = 1;
5849
5849
insert into t1 values (6);
5850
5850
insert into t1 values (4);
5851
5851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5854
5854
4
5855
5855
5
5856
5856
6
5857
 
set autocommit=0;
 
5857
set @@autocommit = 0;
5858
5858
DROP TABLE t1;
5859
5859
817;
5860
 
create table t1 (n int not null primary key) ;
5861
 
set autocommit=0;
 
5860
create table t1 (n int not null primary key);
 
5861
set @@autocommit = 0;
5862
5862
insert into t1 values (4);
5863
5863
rollback;
5864
5864
select n, "after rollback" from t1;
5877
5877
n       after commit
5878
5878
4       after commit
5879
5879
5       after commit
5880
 
set autocommit=1;
 
5880
set @@autocommit = 1;
5881
5881
insert into t1 values (6);
5882
5882
insert into t1 values (4);
5883
5883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5886
5886
4
5887
5887
5
5888
5888
6
5889
 
set autocommit=0;
 
5889
set @@autocommit = 0;
5890
5890
DROP TABLE t1;
5891
5891
816;
5892
 
create table t1 (n int not null primary key) ;
5893
 
set autocommit=0;
 
5892
create table t1 (n int not null primary key);
 
5893
set @@autocommit = 0;
5894
5894
insert into t1 values (4);
5895
5895
rollback;
5896
5896
select n, "after rollback" from t1;
5909
5909
n       after commit
5910
5910
4       after commit
5911
5911
5       after commit
5912
 
set autocommit=1;
 
5912
set @@autocommit = 1;
5913
5913
insert into t1 values (6);
5914
5914
insert into t1 values (4);
5915
5915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5918
5918
4
5919
5919
5
5920
5920
6
5921
 
set autocommit=0;
 
5921
set @@autocommit = 0;
5922
5922
DROP TABLE t1;
5923
5923
815;
5924
 
create table t1 (n int not null primary key) ;
5925
 
set autocommit=0;
 
5924
create table t1 (n int not null primary key);
 
5925
set @@autocommit = 0;
5926
5926
insert into t1 values (4);
5927
5927
rollback;
5928
5928
select n, "after rollback" from t1;
5941
5941
n       after commit
5942
5942
4       after commit
5943
5943
5       after commit
5944
 
set autocommit=1;
 
5944
set @@autocommit = 1;
5945
5945
insert into t1 values (6);
5946
5946
insert into t1 values (4);
5947
5947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5950
5950
4
5951
5951
5
5952
5952
6
5953
 
set autocommit=0;
 
5953
set @@autocommit = 0;
5954
5954
DROP TABLE t1;
5955
5955
814;
5956
 
create table t1 (n int not null primary key) ;
5957
 
set autocommit=0;
 
5956
create table t1 (n int not null primary key);
 
5957
set @@autocommit = 0;
5958
5958
insert into t1 values (4);
5959
5959
rollback;
5960
5960
select n, "after rollback" from t1;
5973
5973
n       after commit
5974
5974
4       after commit
5975
5975
5       after commit
5976
 
set autocommit=1;
 
5976
set @@autocommit = 1;
5977
5977
insert into t1 values (6);
5978
5978
insert into t1 values (4);
5979
5979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
5982
5982
4
5983
5983
5
5984
5984
6
5985
 
set autocommit=0;
 
5985
set @@autocommit = 0;
5986
5986
DROP TABLE t1;
5987
5987
813;
5988
 
create table t1 (n int not null primary key) ;
5989
 
set autocommit=0;
 
5988
create table t1 (n int not null primary key);
 
5989
set @@autocommit = 0;
5990
5990
insert into t1 values (4);
5991
5991
rollback;
5992
5992
select n, "after rollback" from t1;
6005
6005
n       after commit
6006
6006
4       after commit
6007
6007
5       after commit
6008
 
set autocommit=1;
 
6008
set @@autocommit = 1;
6009
6009
insert into t1 values (6);
6010
6010
insert into t1 values (4);
6011
6011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6014
6014
4
6015
6015
5
6016
6016
6
6017
 
set autocommit=0;
 
6017
set @@autocommit = 0;
6018
6018
DROP TABLE t1;
6019
6019
812;
6020
 
create table t1 (n int not null primary key) ;
6021
 
set autocommit=0;
 
6020
create table t1 (n int not null primary key);
 
6021
set @@autocommit = 0;
6022
6022
insert into t1 values (4);
6023
6023
rollback;
6024
6024
select n, "after rollback" from t1;
6037
6037
n       after commit
6038
6038
4       after commit
6039
6039
5       after commit
6040
 
set autocommit=1;
 
6040
set @@autocommit = 1;
6041
6041
insert into t1 values (6);
6042
6042
insert into t1 values (4);
6043
6043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6046
6046
4
6047
6047
5
6048
6048
6
6049
 
set autocommit=0;
 
6049
set @@autocommit = 0;
6050
6050
DROP TABLE t1;
6051
6051
811;
6052
 
create table t1 (n int not null primary key) ;
6053
 
set autocommit=0;
 
6052
create table t1 (n int not null primary key);
 
6053
set @@autocommit = 0;
6054
6054
insert into t1 values (4);
6055
6055
rollback;
6056
6056
select n, "after rollback" from t1;
6069
6069
n       after commit
6070
6070
4       after commit
6071
6071
5       after commit
6072
 
set autocommit=1;
 
6072
set @@autocommit = 1;
6073
6073
insert into t1 values (6);
6074
6074
insert into t1 values (4);
6075
6075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6078
6078
4
6079
6079
5
6080
6080
6
6081
 
set autocommit=0;
 
6081
set @@autocommit = 0;
6082
6082
DROP TABLE t1;
6083
6083
810;
6084
 
create table t1 (n int not null primary key) ;
6085
 
set autocommit=0;
 
6084
create table t1 (n int not null primary key);
 
6085
set @@autocommit = 0;
6086
6086
insert into t1 values (4);
6087
6087
rollback;
6088
6088
select n, "after rollback" from t1;
6101
6101
n       after commit
6102
6102
4       after commit
6103
6103
5       after commit
6104
 
set autocommit=1;
 
6104
set @@autocommit = 1;
6105
6105
insert into t1 values (6);
6106
6106
insert into t1 values (4);
6107
6107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6110
6110
4
6111
6111
5
6112
6112
6
6113
 
set autocommit=0;
 
6113
set @@autocommit = 0;
6114
6114
DROP TABLE t1;
6115
6115
809;
6116
 
create table t1 (n int not null primary key) ;
6117
 
set autocommit=0;
 
6116
create table t1 (n int not null primary key);
 
6117
set @@autocommit = 0;
6118
6118
insert into t1 values (4);
6119
6119
rollback;
6120
6120
select n, "after rollback" from t1;
6133
6133
n       after commit
6134
6134
4       after commit
6135
6135
5       after commit
6136
 
set autocommit=1;
 
6136
set @@autocommit = 1;
6137
6137
insert into t1 values (6);
6138
6138
insert into t1 values (4);
6139
6139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6142
6142
4
6143
6143
5
6144
6144
6
6145
 
set autocommit=0;
 
6145
set @@autocommit = 0;
6146
6146
DROP TABLE t1;
6147
6147
808;
6148
 
create table t1 (n int not null primary key) ;
6149
 
set autocommit=0;
 
6148
create table t1 (n int not null primary key);
 
6149
set @@autocommit = 0;
6150
6150
insert into t1 values (4);
6151
6151
rollback;
6152
6152
select n, "after rollback" from t1;
6165
6165
n       after commit
6166
6166
4       after commit
6167
6167
5       after commit
6168
 
set autocommit=1;
 
6168
set @@autocommit = 1;
6169
6169
insert into t1 values (6);
6170
6170
insert into t1 values (4);
6171
6171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6174
6174
4
6175
6175
5
6176
6176
6
6177
 
set autocommit=0;
 
6177
set @@autocommit = 0;
6178
6178
DROP TABLE t1;
6179
6179
807;
6180
 
create table t1 (n int not null primary key) ;
6181
 
set autocommit=0;
 
6180
create table t1 (n int not null primary key);
 
6181
set @@autocommit = 0;
6182
6182
insert into t1 values (4);
6183
6183
rollback;
6184
6184
select n, "after rollback" from t1;
6197
6197
n       after commit
6198
6198
4       after commit
6199
6199
5       after commit
6200
 
set autocommit=1;
 
6200
set @@autocommit = 1;
6201
6201
insert into t1 values (6);
6202
6202
insert into t1 values (4);
6203
6203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6206
6206
4
6207
6207
5
6208
6208
6
6209
 
set autocommit=0;
 
6209
set @@autocommit = 0;
6210
6210
DROP TABLE t1;
6211
6211
806;
6212
 
create table t1 (n int not null primary key) ;
6213
 
set autocommit=0;
 
6212
create table t1 (n int not null primary key);
 
6213
set @@autocommit = 0;
6214
6214
insert into t1 values (4);
6215
6215
rollback;
6216
6216
select n, "after rollback" from t1;
6229
6229
n       after commit
6230
6230
4       after commit
6231
6231
5       after commit
6232
 
set autocommit=1;
 
6232
set @@autocommit = 1;
6233
6233
insert into t1 values (6);
6234
6234
insert into t1 values (4);
6235
6235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6238
6238
4
6239
6239
5
6240
6240
6
6241
 
set autocommit=0;
 
6241
set @@autocommit = 0;
6242
6242
DROP TABLE t1;
6243
6243
805;
6244
 
create table t1 (n int not null primary key) ;
6245
 
set autocommit=0;
 
6244
create table t1 (n int not null primary key);
 
6245
set @@autocommit = 0;
6246
6246
insert into t1 values (4);
6247
6247
rollback;
6248
6248
select n, "after rollback" from t1;
6261
6261
n       after commit
6262
6262
4       after commit
6263
6263
5       after commit
6264
 
set autocommit=1;
 
6264
set @@autocommit = 1;
6265
6265
insert into t1 values (6);
6266
6266
insert into t1 values (4);
6267
6267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6270
6270
4
6271
6271
5
6272
6272
6
6273
 
set autocommit=0;
 
6273
set @@autocommit = 0;
6274
6274
DROP TABLE t1;
6275
6275
804;
6276
 
create table t1 (n int not null primary key) ;
6277
 
set autocommit=0;
 
6276
create table t1 (n int not null primary key);
 
6277
set @@autocommit = 0;
6278
6278
insert into t1 values (4);
6279
6279
rollback;
6280
6280
select n, "after rollback" from t1;
6293
6293
n       after commit
6294
6294
4       after commit
6295
6295
5       after commit
6296
 
set autocommit=1;
 
6296
set @@autocommit = 1;
6297
6297
insert into t1 values (6);
6298
6298
insert into t1 values (4);
6299
6299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6302
6302
4
6303
6303
5
6304
6304
6
6305
 
set autocommit=0;
 
6305
set @@autocommit = 0;
6306
6306
DROP TABLE t1;
6307
6307
803;
6308
 
create table t1 (n int not null primary key) ;
6309
 
set autocommit=0;
 
6308
create table t1 (n int not null primary key);
 
6309
set @@autocommit = 0;
6310
6310
insert into t1 values (4);
6311
6311
rollback;
6312
6312
select n, "after rollback" from t1;
6325
6325
n       after commit
6326
6326
4       after commit
6327
6327
5       after commit
6328
 
set autocommit=1;
 
6328
set @@autocommit = 1;
6329
6329
insert into t1 values (6);
6330
6330
insert into t1 values (4);
6331
6331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6334
6334
4
6335
6335
5
6336
6336
6
6337
 
set autocommit=0;
 
6337
set @@autocommit = 0;
6338
6338
DROP TABLE t1;
6339
6339
802;
6340
 
create table t1 (n int not null primary key) ;
6341
 
set autocommit=0;
 
6340
create table t1 (n int not null primary key);
 
6341
set @@autocommit = 0;
6342
6342
insert into t1 values (4);
6343
6343
rollback;
6344
6344
select n, "after rollback" from t1;
6357
6357
n       after commit
6358
6358
4       after commit
6359
6359
5       after commit
6360
 
set autocommit=1;
 
6360
set @@autocommit = 1;
6361
6361
insert into t1 values (6);
6362
6362
insert into t1 values (4);
6363
6363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6366
6366
4
6367
6367
5
6368
6368
6
6369
 
set autocommit=0;
 
6369
set @@autocommit = 0;
6370
6370
DROP TABLE t1;
6371
6371
801;
6372
 
create table t1 (n int not null primary key) ;
6373
 
set autocommit=0;
 
6372
create table t1 (n int not null primary key);
 
6373
set @@autocommit = 0;
6374
6374
insert into t1 values (4);
6375
6375
rollback;
6376
6376
select n, "after rollback" from t1;
6389
6389
n       after commit
6390
6390
4       after commit
6391
6391
5       after commit
6392
 
set autocommit=1;
 
6392
set @@autocommit = 1;
6393
6393
insert into t1 values (6);
6394
6394
insert into t1 values (4);
6395
6395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6398
6398
4
6399
6399
5
6400
6400
6
6401
 
set autocommit=0;
 
6401
set @@autocommit = 0;
6402
6402
DROP TABLE t1;
6403
6403
800;
6404
 
create table t1 (n int not null primary key) ;
6405
 
set autocommit=0;
 
6404
create table t1 (n int not null primary key);
 
6405
set @@autocommit = 0;
6406
6406
insert into t1 values (4);
6407
6407
rollback;
6408
6408
select n, "after rollback" from t1;
6421
6421
n       after commit
6422
6422
4       after commit
6423
6423
5       after commit
6424
 
set autocommit=1;
 
6424
set @@autocommit = 1;
6425
6425
insert into t1 values (6);
6426
6426
insert into t1 values (4);
6427
6427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6430
6430
4
6431
6431
5
6432
6432
6
6433
 
set autocommit=0;
 
6433
set @@autocommit = 0;
6434
6434
DROP TABLE t1;
6435
6435
799;
6436
 
create table t1 (n int not null primary key) ;
6437
 
set autocommit=0;
 
6436
create table t1 (n int not null primary key);
 
6437
set @@autocommit = 0;
6438
6438
insert into t1 values (4);
6439
6439
rollback;
6440
6440
select n, "after rollback" from t1;
6453
6453
n       after commit
6454
6454
4       after commit
6455
6455
5       after commit
6456
 
set autocommit=1;
 
6456
set @@autocommit = 1;
6457
6457
insert into t1 values (6);
6458
6458
insert into t1 values (4);
6459
6459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6462
6462
4
6463
6463
5
6464
6464
6
6465
 
set autocommit=0;
 
6465
set @@autocommit = 0;
6466
6466
DROP TABLE t1;
6467
6467
798;
6468
 
create table t1 (n int not null primary key) ;
6469
 
set autocommit=0;
 
6468
create table t1 (n int not null primary key);
 
6469
set @@autocommit = 0;
6470
6470
insert into t1 values (4);
6471
6471
rollback;
6472
6472
select n, "after rollback" from t1;
6485
6485
n       after commit
6486
6486
4       after commit
6487
6487
5       after commit
6488
 
set autocommit=1;
 
6488
set @@autocommit = 1;
6489
6489
insert into t1 values (6);
6490
6490
insert into t1 values (4);
6491
6491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6494
6494
4
6495
6495
5
6496
6496
6
6497
 
set autocommit=0;
 
6497
set @@autocommit = 0;
6498
6498
DROP TABLE t1;
6499
6499
797;
6500
 
create table t1 (n int not null primary key) ;
6501
 
set autocommit=0;
 
6500
create table t1 (n int not null primary key);
 
6501
set @@autocommit = 0;
6502
6502
insert into t1 values (4);
6503
6503
rollback;
6504
6504
select n, "after rollback" from t1;
6517
6517
n       after commit
6518
6518
4       after commit
6519
6519
5       after commit
6520
 
set autocommit=1;
 
6520
set @@autocommit = 1;
6521
6521
insert into t1 values (6);
6522
6522
insert into t1 values (4);
6523
6523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6526
6526
4
6527
6527
5
6528
6528
6
6529
 
set autocommit=0;
 
6529
set @@autocommit = 0;
6530
6530
DROP TABLE t1;
6531
6531
796;
6532
 
create table t1 (n int not null primary key) ;
6533
 
set autocommit=0;
 
6532
create table t1 (n int not null primary key);
 
6533
set @@autocommit = 0;
6534
6534
insert into t1 values (4);
6535
6535
rollback;
6536
6536
select n, "after rollback" from t1;
6549
6549
n       after commit
6550
6550
4       after commit
6551
6551
5       after commit
6552
 
set autocommit=1;
 
6552
set @@autocommit = 1;
6553
6553
insert into t1 values (6);
6554
6554
insert into t1 values (4);
6555
6555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6558
6558
4
6559
6559
5
6560
6560
6
6561
 
set autocommit=0;
 
6561
set @@autocommit = 0;
6562
6562
DROP TABLE t1;
6563
6563
795;
6564
 
create table t1 (n int not null primary key) ;
6565
 
set autocommit=0;
 
6564
create table t1 (n int not null primary key);
 
6565
set @@autocommit = 0;
6566
6566
insert into t1 values (4);
6567
6567
rollback;
6568
6568
select n, "after rollback" from t1;
6581
6581
n       after commit
6582
6582
4       after commit
6583
6583
5       after commit
6584
 
set autocommit=1;
 
6584
set @@autocommit = 1;
6585
6585
insert into t1 values (6);
6586
6586
insert into t1 values (4);
6587
6587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6590
6590
4
6591
6591
5
6592
6592
6
6593
 
set autocommit=0;
 
6593
set @@autocommit = 0;
6594
6594
DROP TABLE t1;
6595
6595
794;
6596
 
create table t1 (n int not null primary key) ;
6597
 
set autocommit=0;
 
6596
create table t1 (n int not null primary key);
 
6597
set @@autocommit = 0;
6598
6598
insert into t1 values (4);
6599
6599
rollback;
6600
6600
select n, "after rollback" from t1;
6613
6613
n       after commit
6614
6614
4       after commit
6615
6615
5       after commit
6616
 
set autocommit=1;
 
6616
set @@autocommit = 1;
6617
6617
insert into t1 values (6);
6618
6618
insert into t1 values (4);
6619
6619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6622
6622
4
6623
6623
5
6624
6624
6
6625
 
set autocommit=0;
 
6625
set @@autocommit = 0;
6626
6626
DROP TABLE t1;
6627
6627
793;
6628
 
create table t1 (n int not null primary key) ;
6629
 
set autocommit=0;
 
6628
create table t1 (n int not null primary key);
 
6629
set @@autocommit = 0;
6630
6630
insert into t1 values (4);
6631
6631
rollback;
6632
6632
select n, "after rollback" from t1;
6645
6645
n       after commit
6646
6646
4       after commit
6647
6647
5       after commit
6648
 
set autocommit=1;
 
6648
set @@autocommit = 1;
6649
6649
insert into t1 values (6);
6650
6650
insert into t1 values (4);
6651
6651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6654
6654
4
6655
6655
5
6656
6656
6
6657
 
set autocommit=0;
 
6657
set @@autocommit = 0;
6658
6658
DROP TABLE t1;
6659
6659
792;
6660
 
create table t1 (n int not null primary key) ;
6661
 
set autocommit=0;
 
6660
create table t1 (n int not null primary key);
 
6661
set @@autocommit = 0;
6662
6662
insert into t1 values (4);
6663
6663
rollback;
6664
6664
select n, "after rollback" from t1;
6677
6677
n       after commit
6678
6678
4       after commit
6679
6679
5       after commit
6680
 
set autocommit=1;
 
6680
set @@autocommit = 1;
6681
6681
insert into t1 values (6);
6682
6682
insert into t1 values (4);
6683
6683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6686
6686
4
6687
6687
5
6688
6688
6
6689
 
set autocommit=0;
 
6689
set @@autocommit = 0;
6690
6690
DROP TABLE t1;
6691
6691
791;
6692
 
create table t1 (n int not null primary key) ;
6693
 
set autocommit=0;
 
6692
create table t1 (n int not null primary key);
 
6693
set @@autocommit = 0;
6694
6694
insert into t1 values (4);
6695
6695
rollback;
6696
6696
select n, "after rollback" from t1;
6709
6709
n       after commit
6710
6710
4       after commit
6711
6711
5       after commit
6712
 
set autocommit=1;
 
6712
set @@autocommit = 1;
6713
6713
insert into t1 values (6);
6714
6714
insert into t1 values (4);
6715
6715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6718
6718
4
6719
6719
5
6720
6720
6
6721
 
set autocommit=0;
 
6721
set @@autocommit = 0;
6722
6722
DROP TABLE t1;
6723
6723
790;
6724
 
create table t1 (n int not null primary key) ;
6725
 
set autocommit=0;
 
6724
create table t1 (n int not null primary key);
 
6725
set @@autocommit = 0;
6726
6726
insert into t1 values (4);
6727
6727
rollback;
6728
6728
select n, "after rollback" from t1;
6741
6741
n       after commit
6742
6742
4       after commit
6743
6743
5       after commit
6744
 
set autocommit=1;
 
6744
set @@autocommit = 1;
6745
6745
insert into t1 values (6);
6746
6746
insert into t1 values (4);
6747
6747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6750
6750
4
6751
6751
5
6752
6752
6
6753
 
set autocommit=0;
 
6753
set @@autocommit = 0;
6754
6754
DROP TABLE t1;
6755
6755
789;
6756
 
create table t1 (n int not null primary key) ;
6757
 
set autocommit=0;
 
6756
create table t1 (n int not null primary key);
 
6757
set @@autocommit = 0;
6758
6758
insert into t1 values (4);
6759
6759
rollback;
6760
6760
select n, "after rollback" from t1;
6773
6773
n       after commit
6774
6774
4       after commit
6775
6775
5       after commit
6776
 
set autocommit=1;
 
6776
set @@autocommit = 1;
6777
6777
insert into t1 values (6);
6778
6778
insert into t1 values (4);
6779
6779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6782
6782
4
6783
6783
5
6784
6784
6
6785
 
set autocommit=0;
 
6785
set @@autocommit = 0;
6786
6786
DROP TABLE t1;
6787
6787
788;
6788
 
create table t1 (n int not null primary key) ;
6789
 
set autocommit=0;
 
6788
create table t1 (n int not null primary key);
 
6789
set @@autocommit = 0;
6790
6790
insert into t1 values (4);
6791
6791
rollback;
6792
6792
select n, "after rollback" from t1;
6805
6805
n       after commit
6806
6806
4       after commit
6807
6807
5       after commit
6808
 
set autocommit=1;
 
6808
set @@autocommit = 1;
6809
6809
insert into t1 values (6);
6810
6810
insert into t1 values (4);
6811
6811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6814
6814
4
6815
6815
5
6816
6816
6
6817
 
set autocommit=0;
 
6817
set @@autocommit = 0;
6818
6818
DROP TABLE t1;
6819
6819
787;
6820
 
create table t1 (n int not null primary key) ;
6821
 
set autocommit=0;
 
6820
create table t1 (n int not null primary key);
 
6821
set @@autocommit = 0;
6822
6822
insert into t1 values (4);
6823
6823
rollback;
6824
6824
select n, "after rollback" from t1;
6837
6837
n       after commit
6838
6838
4       after commit
6839
6839
5       after commit
6840
 
set autocommit=1;
 
6840
set @@autocommit = 1;
6841
6841
insert into t1 values (6);
6842
6842
insert into t1 values (4);
6843
6843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6846
6846
4
6847
6847
5
6848
6848
6
6849
 
set autocommit=0;
 
6849
set @@autocommit = 0;
6850
6850
DROP TABLE t1;
6851
6851
786;
6852
 
create table t1 (n int not null primary key) ;
6853
 
set autocommit=0;
 
6852
create table t1 (n int not null primary key);
 
6853
set @@autocommit = 0;
6854
6854
insert into t1 values (4);
6855
6855
rollback;
6856
6856
select n, "after rollback" from t1;
6869
6869
n       after commit
6870
6870
4       after commit
6871
6871
5       after commit
6872
 
set autocommit=1;
 
6872
set @@autocommit = 1;
6873
6873
insert into t1 values (6);
6874
6874
insert into t1 values (4);
6875
6875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6878
6878
4
6879
6879
5
6880
6880
6
6881
 
set autocommit=0;
 
6881
set @@autocommit = 0;
6882
6882
DROP TABLE t1;
6883
6883
785;
6884
 
create table t1 (n int not null primary key) ;
6885
 
set autocommit=0;
 
6884
create table t1 (n int not null primary key);
 
6885
set @@autocommit = 0;
6886
6886
insert into t1 values (4);
6887
6887
rollback;
6888
6888
select n, "after rollback" from t1;
6901
6901
n       after commit
6902
6902
4       after commit
6903
6903
5       after commit
6904
 
set autocommit=1;
 
6904
set @@autocommit = 1;
6905
6905
insert into t1 values (6);
6906
6906
insert into t1 values (4);
6907
6907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6910
6910
4
6911
6911
5
6912
6912
6
6913
 
set autocommit=0;
 
6913
set @@autocommit = 0;
6914
6914
DROP TABLE t1;
6915
6915
784;
6916
 
create table t1 (n int not null primary key) ;
6917
 
set autocommit=0;
 
6916
create table t1 (n int not null primary key);
 
6917
set @@autocommit = 0;
6918
6918
insert into t1 values (4);
6919
6919
rollback;
6920
6920
select n, "after rollback" from t1;
6933
6933
n       after commit
6934
6934
4       after commit
6935
6935
5       after commit
6936
 
set autocommit=1;
 
6936
set @@autocommit = 1;
6937
6937
insert into t1 values (6);
6938
6938
insert into t1 values (4);
6939
6939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6942
6942
4
6943
6943
5
6944
6944
6
6945
 
set autocommit=0;
 
6945
set @@autocommit = 0;
6946
6946
DROP TABLE t1;
6947
6947
783;
6948
 
create table t1 (n int not null primary key) ;
6949
 
set autocommit=0;
 
6948
create table t1 (n int not null primary key);
 
6949
set @@autocommit = 0;
6950
6950
insert into t1 values (4);
6951
6951
rollback;
6952
6952
select n, "after rollback" from t1;
6965
6965
n       after commit
6966
6966
4       after commit
6967
6967
5       after commit
6968
 
set autocommit=1;
 
6968
set @@autocommit = 1;
6969
6969
insert into t1 values (6);
6970
6970
insert into t1 values (4);
6971
6971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
6974
6974
4
6975
6975
5
6976
6976
6
6977
 
set autocommit=0;
 
6977
set @@autocommit = 0;
6978
6978
DROP TABLE t1;
6979
6979
782;
6980
 
create table t1 (n int not null primary key) ;
6981
 
set autocommit=0;
 
6980
create table t1 (n int not null primary key);
 
6981
set @@autocommit = 0;
6982
6982
insert into t1 values (4);
6983
6983
rollback;
6984
6984
select n, "after rollback" from t1;
6997
6997
n       after commit
6998
6998
4       after commit
6999
6999
5       after commit
7000
 
set autocommit=1;
 
7000
set @@autocommit = 1;
7001
7001
insert into t1 values (6);
7002
7002
insert into t1 values (4);
7003
7003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7006
7006
4
7007
7007
5
7008
7008
6
7009
 
set autocommit=0;
 
7009
set @@autocommit = 0;
7010
7010
DROP TABLE t1;
7011
7011
781;
7012
 
create table t1 (n int not null primary key) ;
7013
 
set autocommit=0;
 
7012
create table t1 (n int not null primary key);
 
7013
set @@autocommit = 0;
7014
7014
insert into t1 values (4);
7015
7015
rollback;
7016
7016
select n, "after rollback" from t1;
7029
7029
n       after commit
7030
7030
4       after commit
7031
7031
5       after commit
7032
 
set autocommit=1;
 
7032
set @@autocommit = 1;
7033
7033
insert into t1 values (6);
7034
7034
insert into t1 values (4);
7035
7035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7038
7038
4
7039
7039
5
7040
7040
6
7041
 
set autocommit=0;
 
7041
set @@autocommit = 0;
7042
7042
DROP TABLE t1;
7043
7043
780;
7044
 
create table t1 (n int not null primary key) ;
7045
 
set autocommit=0;
 
7044
create table t1 (n int not null primary key);
 
7045
set @@autocommit = 0;
7046
7046
insert into t1 values (4);
7047
7047
rollback;
7048
7048
select n, "after rollback" from t1;
7061
7061
n       after commit
7062
7062
4       after commit
7063
7063
5       after commit
7064
 
set autocommit=1;
 
7064
set @@autocommit = 1;
7065
7065
insert into t1 values (6);
7066
7066
insert into t1 values (4);
7067
7067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7070
7070
4
7071
7071
5
7072
7072
6
7073
 
set autocommit=0;
 
7073
set @@autocommit = 0;
7074
7074
DROP TABLE t1;
7075
7075
779;
7076
 
create table t1 (n int not null primary key) ;
7077
 
set autocommit=0;
 
7076
create table t1 (n int not null primary key);
 
7077
set @@autocommit = 0;
7078
7078
insert into t1 values (4);
7079
7079
rollback;
7080
7080
select n, "after rollback" from t1;
7093
7093
n       after commit
7094
7094
4       after commit
7095
7095
5       after commit
7096
 
set autocommit=1;
 
7096
set @@autocommit = 1;
7097
7097
insert into t1 values (6);
7098
7098
insert into t1 values (4);
7099
7099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7102
7102
4
7103
7103
5
7104
7104
6
7105
 
set autocommit=0;
 
7105
set @@autocommit = 0;
7106
7106
DROP TABLE t1;
7107
7107
778;
7108
 
create table t1 (n int not null primary key) ;
7109
 
set autocommit=0;
 
7108
create table t1 (n int not null primary key);
 
7109
set @@autocommit = 0;
7110
7110
insert into t1 values (4);
7111
7111
rollback;
7112
7112
select n, "after rollback" from t1;
7125
7125
n       after commit
7126
7126
4       after commit
7127
7127
5       after commit
7128
 
set autocommit=1;
 
7128
set @@autocommit = 1;
7129
7129
insert into t1 values (6);
7130
7130
insert into t1 values (4);
7131
7131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7134
7134
4
7135
7135
5
7136
7136
6
7137
 
set autocommit=0;
 
7137
set @@autocommit = 0;
7138
7138
DROP TABLE t1;
7139
7139
777;
7140
 
create table t1 (n int not null primary key) ;
7141
 
set autocommit=0;
 
7140
create table t1 (n int not null primary key);
 
7141
set @@autocommit = 0;
7142
7142
insert into t1 values (4);
7143
7143
rollback;
7144
7144
select n, "after rollback" from t1;
7157
7157
n       after commit
7158
7158
4       after commit
7159
7159
5       after commit
7160
 
set autocommit=1;
 
7160
set @@autocommit = 1;
7161
7161
insert into t1 values (6);
7162
7162
insert into t1 values (4);
7163
7163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7166
7166
4
7167
7167
5
7168
7168
6
7169
 
set autocommit=0;
 
7169
set @@autocommit = 0;
7170
7170
DROP TABLE t1;
7171
7171
776;
7172
 
create table t1 (n int not null primary key) ;
7173
 
set autocommit=0;
 
7172
create table t1 (n int not null primary key);
 
7173
set @@autocommit = 0;
7174
7174
insert into t1 values (4);
7175
7175
rollback;
7176
7176
select n, "after rollback" from t1;
7189
7189
n       after commit
7190
7190
4       after commit
7191
7191
5       after commit
7192
 
set autocommit=1;
 
7192
set @@autocommit = 1;
7193
7193
insert into t1 values (6);
7194
7194
insert into t1 values (4);
7195
7195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7198
7198
4
7199
7199
5
7200
7200
6
7201
 
set autocommit=0;
 
7201
set @@autocommit = 0;
7202
7202
DROP TABLE t1;
7203
7203
775;
7204
 
create table t1 (n int not null primary key) ;
7205
 
set autocommit=0;
 
7204
create table t1 (n int not null primary key);
 
7205
set @@autocommit = 0;
7206
7206
insert into t1 values (4);
7207
7207
rollback;
7208
7208
select n, "after rollback" from t1;
7221
7221
n       after commit
7222
7222
4       after commit
7223
7223
5       after commit
7224
 
set autocommit=1;
 
7224
set @@autocommit = 1;
7225
7225
insert into t1 values (6);
7226
7226
insert into t1 values (4);
7227
7227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7230
7230
4
7231
7231
5
7232
7232
6
7233
 
set autocommit=0;
 
7233
set @@autocommit = 0;
7234
7234
DROP TABLE t1;
7235
7235
774;
7236
 
create table t1 (n int not null primary key) ;
7237
 
set autocommit=0;
 
7236
create table t1 (n int not null primary key);
 
7237
set @@autocommit = 0;
7238
7238
insert into t1 values (4);
7239
7239
rollback;
7240
7240
select n, "after rollback" from t1;
7253
7253
n       after commit
7254
7254
4       after commit
7255
7255
5       after commit
7256
 
set autocommit=1;
 
7256
set @@autocommit = 1;
7257
7257
insert into t1 values (6);
7258
7258
insert into t1 values (4);
7259
7259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7262
7262
4
7263
7263
5
7264
7264
6
7265
 
set autocommit=0;
 
7265
set @@autocommit = 0;
7266
7266
DROP TABLE t1;
7267
7267
773;
7268
 
create table t1 (n int not null primary key) ;
7269
 
set autocommit=0;
 
7268
create table t1 (n int not null primary key);
 
7269
set @@autocommit = 0;
7270
7270
insert into t1 values (4);
7271
7271
rollback;
7272
7272
select n, "after rollback" from t1;
7285
7285
n       after commit
7286
7286
4       after commit
7287
7287
5       after commit
7288
 
set autocommit=1;
 
7288
set @@autocommit = 1;
7289
7289
insert into t1 values (6);
7290
7290
insert into t1 values (4);
7291
7291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7294
7294
4
7295
7295
5
7296
7296
6
7297
 
set autocommit=0;
 
7297
set @@autocommit = 0;
7298
7298
DROP TABLE t1;
7299
7299
772;
7300
 
create table t1 (n int not null primary key) ;
7301
 
set autocommit=0;
 
7300
create table t1 (n int not null primary key);
 
7301
set @@autocommit = 0;
7302
7302
insert into t1 values (4);
7303
7303
rollback;
7304
7304
select n, "after rollback" from t1;
7317
7317
n       after commit
7318
7318
4       after commit
7319
7319
5       after commit
7320
 
set autocommit=1;
 
7320
set @@autocommit = 1;
7321
7321
insert into t1 values (6);
7322
7322
insert into t1 values (4);
7323
7323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7326
7326
4
7327
7327
5
7328
7328
6
7329
 
set autocommit=0;
 
7329
set @@autocommit = 0;
7330
7330
DROP TABLE t1;
7331
7331
771;
7332
 
create table t1 (n int not null primary key) ;
7333
 
set autocommit=0;
 
7332
create table t1 (n int not null primary key);
 
7333
set @@autocommit = 0;
7334
7334
insert into t1 values (4);
7335
7335
rollback;
7336
7336
select n, "after rollback" from t1;
7349
7349
n       after commit
7350
7350
4       after commit
7351
7351
5       after commit
7352
 
set autocommit=1;
 
7352
set @@autocommit = 1;
7353
7353
insert into t1 values (6);
7354
7354
insert into t1 values (4);
7355
7355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7358
7358
4
7359
7359
5
7360
7360
6
7361
 
set autocommit=0;
 
7361
set @@autocommit = 0;
7362
7362
DROP TABLE t1;
7363
7363
770;
7364
 
create table t1 (n int not null primary key) ;
7365
 
set autocommit=0;
 
7364
create table t1 (n int not null primary key);
 
7365
set @@autocommit = 0;
7366
7366
insert into t1 values (4);
7367
7367
rollback;
7368
7368
select n, "after rollback" from t1;
7381
7381
n       after commit
7382
7382
4       after commit
7383
7383
5       after commit
7384
 
set autocommit=1;
 
7384
set @@autocommit = 1;
7385
7385
insert into t1 values (6);
7386
7386
insert into t1 values (4);
7387
7387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7390
7390
4
7391
7391
5
7392
7392
6
7393
 
set autocommit=0;
 
7393
set @@autocommit = 0;
7394
7394
DROP TABLE t1;
7395
7395
769;
7396
 
create table t1 (n int not null primary key) ;
7397
 
set autocommit=0;
 
7396
create table t1 (n int not null primary key);
 
7397
set @@autocommit = 0;
7398
7398
insert into t1 values (4);
7399
7399
rollback;
7400
7400
select n, "after rollback" from t1;
7413
7413
n       after commit
7414
7414
4       after commit
7415
7415
5       after commit
7416
 
set autocommit=1;
 
7416
set @@autocommit = 1;
7417
7417
insert into t1 values (6);
7418
7418
insert into t1 values (4);
7419
7419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7422
7422
4
7423
7423
5
7424
7424
6
7425
 
set autocommit=0;
 
7425
set @@autocommit = 0;
7426
7426
DROP TABLE t1;
7427
7427
768;
7428
 
create table t1 (n int not null primary key) ;
7429
 
set autocommit=0;
 
7428
create table t1 (n int not null primary key);
 
7429
set @@autocommit = 0;
7430
7430
insert into t1 values (4);
7431
7431
rollback;
7432
7432
select n, "after rollback" from t1;
7445
7445
n       after commit
7446
7446
4       after commit
7447
7447
5       after commit
7448
 
set autocommit=1;
 
7448
set @@autocommit = 1;
7449
7449
insert into t1 values (6);
7450
7450
insert into t1 values (4);
7451
7451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7454
7454
4
7455
7455
5
7456
7456
6
7457
 
set autocommit=0;
 
7457
set @@autocommit = 0;
7458
7458
DROP TABLE t1;
7459
7459
767;
7460
 
create table t1 (n int not null primary key) ;
7461
 
set autocommit=0;
 
7460
create table t1 (n int not null primary key);
 
7461
set @@autocommit = 0;
7462
7462
insert into t1 values (4);
7463
7463
rollback;
7464
7464
select n, "after rollback" from t1;
7477
7477
n       after commit
7478
7478
4       after commit
7479
7479
5       after commit
7480
 
set autocommit=1;
 
7480
set @@autocommit = 1;
7481
7481
insert into t1 values (6);
7482
7482
insert into t1 values (4);
7483
7483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7486
7486
4
7487
7487
5
7488
7488
6
7489
 
set autocommit=0;
 
7489
set @@autocommit = 0;
7490
7490
DROP TABLE t1;
7491
7491
766;
7492
 
create table t1 (n int not null primary key) ;
7493
 
set autocommit=0;
 
7492
create table t1 (n int not null primary key);
 
7493
set @@autocommit = 0;
7494
7494
insert into t1 values (4);
7495
7495
rollback;
7496
7496
select n, "after rollback" from t1;
7509
7509
n       after commit
7510
7510
4       after commit
7511
7511
5       after commit
7512
 
set autocommit=1;
 
7512
set @@autocommit = 1;
7513
7513
insert into t1 values (6);
7514
7514
insert into t1 values (4);
7515
7515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7518
7518
4
7519
7519
5
7520
7520
6
7521
 
set autocommit=0;
 
7521
set @@autocommit = 0;
7522
7522
DROP TABLE t1;
7523
7523
765;
7524
 
create table t1 (n int not null primary key) ;
7525
 
set autocommit=0;
 
7524
create table t1 (n int not null primary key);
 
7525
set @@autocommit = 0;
7526
7526
insert into t1 values (4);
7527
7527
rollback;
7528
7528
select n, "after rollback" from t1;
7541
7541
n       after commit
7542
7542
4       after commit
7543
7543
5       after commit
7544
 
set autocommit=1;
 
7544
set @@autocommit = 1;
7545
7545
insert into t1 values (6);
7546
7546
insert into t1 values (4);
7547
7547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7550
7550
4
7551
7551
5
7552
7552
6
7553
 
set autocommit=0;
 
7553
set @@autocommit = 0;
7554
7554
DROP TABLE t1;
7555
7555
764;
7556
 
create table t1 (n int not null primary key) ;
7557
 
set autocommit=0;
 
7556
create table t1 (n int not null primary key);
 
7557
set @@autocommit = 0;
7558
7558
insert into t1 values (4);
7559
7559
rollback;
7560
7560
select n, "after rollback" from t1;
7573
7573
n       after commit
7574
7574
4       after commit
7575
7575
5       after commit
7576
 
set autocommit=1;
 
7576
set @@autocommit = 1;
7577
7577
insert into t1 values (6);
7578
7578
insert into t1 values (4);
7579
7579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7582
7582
4
7583
7583
5
7584
7584
6
7585
 
set autocommit=0;
 
7585
set @@autocommit = 0;
7586
7586
DROP TABLE t1;
7587
7587
763;
7588
 
create table t1 (n int not null primary key) ;
7589
 
set autocommit=0;
 
7588
create table t1 (n int not null primary key);
 
7589
set @@autocommit = 0;
7590
7590
insert into t1 values (4);
7591
7591
rollback;
7592
7592
select n, "after rollback" from t1;
7605
7605
n       after commit
7606
7606
4       after commit
7607
7607
5       after commit
7608
 
set autocommit=1;
 
7608
set @@autocommit = 1;
7609
7609
insert into t1 values (6);
7610
7610
insert into t1 values (4);
7611
7611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7614
7614
4
7615
7615
5
7616
7616
6
7617
 
set autocommit=0;
 
7617
set @@autocommit = 0;
7618
7618
DROP TABLE t1;
7619
7619
762;
7620
 
create table t1 (n int not null primary key) ;
7621
 
set autocommit=0;
 
7620
create table t1 (n int not null primary key);
 
7621
set @@autocommit = 0;
7622
7622
insert into t1 values (4);
7623
7623
rollback;
7624
7624
select n, "after rollback" from t1;
7637
7637
n       after commit
7638
7638
4       after commit
7639
7639
5       after commit
7640
 
set autocommit=1;
 
7640
set @@autocommit = 1;
7641
7641
insert into t1 values (6);
7642
7642
insert into t1 values (4);
7643
7643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7646
7646
4
7647
7647
5
7648
7648
6
7649
 
set autocommit=0;
 
7649
set @@autocommit = 0;
7650
7650
DROP TABLE t1;
7651
7651
761;
7652
 
create table t1 (n int not null primary key) ;
7653
 
set autocommit=0;
 
7652
create table t1 (n int not null primary key);
 
7653
set @@autocommit = 0;
7654
7654
insert into t1 values (4);
7655
7655
rollback;
7656
7656
select n, "after rollback" from t1;
7669
7669
n       after commit
7670
7670
4       after commit
7671
7671
5       after commit
7672
 
set autocommit=1;
 
7672
set @@autocommit = 1;
7673
7673
insert into t1 values (6);
7674
7674
insert into t1 values (4);
7675
7675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7678
7678
4
7679
7679
5
7680
7680
6
7681
 
set autocommit=0;
 
7681
set @@autocommit = 0;
7682
7682
DROP TABLE t1;
7683
7683
760;
7684
 
create table t1 (n int not null primary key) ;
7685
 
set autocommit=0;
 
7684
create table t1 (n int not null primary key);
 
7685
set @@autocommit = 0;
7686
7686
insert into t1 values (4);
7687
7687
rollback;
7688
7688
select n, "after rollback" from t1;
7701
7701
n       after commit
7702
7702
4       after commit
7703
7703
5       after commit
7704
 
set autocommit=1;
 
7704
set @@autocommit = 1;
7705
7705
insert into t1 values (6);
7706
7706
insert into t1 values (4);
7707
7707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7710
7710
4
7711
7711
5
7712
7712
6
7713
 
set autocommit=0;
 
7713
set @@autocommit = 0;
7714
7714
DROP TABLE t1;
7715
7715
759;
7716
 
create table t1 (n int not null primary key) ;
7717
 
set autocommit=0;
 
7716
create table t1 (n int not null primary key);
 
7717
set @@autocommit = 0;
7718
7718
insert into t1 values (4);
7719
7719
rollback;
7720
7720
select n, "after rollback" from t1;
7733
7733
n       after commit
7734
7734
4       after commit
7735
7735
5       after commit
7736
 
set autocommit=1;
 
7736
set @@autocommit = 1;
7737
7737
insert into t1 values (6);
7738
7738
insert into t1 values (4);
7739
7739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7742
7742
4
7743
7743
5
7744
7744
6
7745
 
set autocommit=0;
 
7745
set @@autocommit = 0;
7746
7746
DROP TABLE t1;
7747
7747
758;
7748
 
create table t1 (n int not null primary key) ;
7749
 
set autocommit=0;
 
7748
create table t1 (n int not null primary key);
 
7749
set @@autocommit = 0;
7750
7750
insert into t1 values (4);
7751
7751
rollback;
7752
7752
select n, "after rollback" from t1;
7765
7765
n       after commit
7766
7766
4       after commit
7767
7767
5       after commit
7768
 
set autocommit=1;
 
7768
set @@autocommit = 1;
7769
7769
insert into t1 values (6);
7770
7770
insert into t1 values (4);
7771
7771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7774
7774
4
7775
7775
5
7776
7776
6
7777
 
set autocommit=0;
 
7777
set @@autocommit = 0;
7778
7778
DROP TABLE t1;
7779
7779
757;
7780
 
create table t1 (n int not null primary key) ;
7781
 
set autocommit=0;
 
7780
create table t1 (n int not null primary key);
 
7781
set @@autocommit = 0;
7782
7782
insert into t1 values (4);
7783
7783
rollback;
7784
7784
select n, "after rollback" from t1;
7797
7797
n       after commit
7798
7798
4       after commit
7799
7799
5       after commit
7800
 
set autocommit=1;
 
7800
set @@autocommit = 1;
7801
7801
insert into t1 values (6);
7802
7802
insert into t1 values (4);
7803
7803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7806
7806
4
7807
7807
5
7808
7808
6
7809
 
set autocommit=0;
 
7809
set @@autocommit = 0;
7810
7810
DROP TABLE t1;
7811
7811
756;
7812
 
create table t1 (n int not null primary key) ;
7813
 
set autocommit=0;
 
7812
create table t1 (n int not null primary key);
 
7813
set @@autocommit = 0;
7814
7814
insert into t1 values (4);
7815
7815
rollback;
7816
7816
select n, "after rollback" from t1;
7829
7829
n       after commit
7830
7830
4       after commit
7831
7831
5       after commit
7832
 
set autocommit=1;
 
7832
set @@autocommit = 1;
7833
7833
insert into t1 values (6);
7834
7834
insert into t1 values (4);
7835
7835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7838
7838
4
7839
7839
5
7840
7840
6
7841
 
set autocommit=0;
 
7841
set @@autocommit = 0;
7842
7842
DROP TABLE t1;
7843
7843
755;
7844
 
create table t1 (n int not null primary key) ;
7845
 
set autocommit=0;
 
7844
create table t1 (n int not null primary key);
 
7845
set @@autocommit = 0;
7846
7846
insert into t1 values (4);
7847
7847
rollback;
7848
7848
select n, "after rollback" from t1;
7861
7861
n       after commit
7862
7862
4       after commit
7863
7863
5       after commit
7864
 
set autocommit=1;
 
7864
set @@autocommit = 1;
7865
7865
insert into t1 values (6);
7866
7866
insert into t1 values (4);
7867
7867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7870
7870
4
7871
7871
5
7872
7872
6
7873
 
set autocommit=0;
 
7873
set @@autocommit = 0;
7874
7874
DROP TABLE t1;
7875
7875
754;
7876
 
create table t1 (n int not null primary key) ;
7877
 
set autocommit=0;
 
7876
create table t1 (n int not null primary key);
 
7877
set @@autocommit = 0;
7878
7878
insert into t1 values (4);
7879
7879
rollback;
7880
7880
select n, "after rollback" from t1;
7893
7893
n       after commit
7894
7894
4       after commit
7895
7895
5       after commit
7896
 
set autocommit=1;
 
7896
set @@autocommit = 1;
7897
7897
insert into t1 values (6);
7898
7898
insert into t1 values (4);
7899
7899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7902
7902
4
7903
7903
5
7904
7904
6
7905
 
set autocommit=0;
 
7905
set @@autocommit = 0;
7906
7906
DROP TABLE t1;
7907
7907
753;
7908
 
create table t1 (n int not null primary key) ;
7909
 
set autocommit=0;
 
7908
create table t1 (n int not null primary key);
 
7909
set @@autocommit = 0;
7910
7910
insert into t1 values (4);
7911
7911
rollback;
7912
7912
select n, "after rollback" from t1;
7925
7925
n       after commit
7926
7926
4       after commit
7927
7927
5       after commit
7928
 
set autocommit=1;
 
7928
set @@autocommit = 1;
7929
7929
insert into t1 values (6);
7930
7930
insert into t1 values (4);
7931
7931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7934
7934
4
7935
7935
5
7936
7936
6
7937
 
set autocommit=0;
 
7937
set @@autocommit = 0;
7938
7938
DROP TABLE t1;
7939
7939
752;
7940
 
create table t1 (n int not null primary key) ;
7941
 
set autocommit=0;
 
7940
create table t1 (n int not null primary key);
 
7941
set @@autocommit = 0;
7942
7942
insert into t1 values (4);
7943
7943
rollback;
7944
7944
select n, "after rollback" from t1;
7957
7957
n       after commit
7958
7958
4       after commit
7959
7959
5       after commit
7960
 
set autocommit=1;
 
7960
set @@autocommit = 1;
7961
7961
insert into t1 values (6);
7962
7962
insert into t1 values (4);
7963
7963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7966
7966
4
7967
7967
5
7968
7968
6
7969
 
set autocommit=0;
 
7969
set @@autocommit = 0;
7970
7970
DROP TABLE t1;
7971
7971
751;
7972
 
create table t1 (n int not null primary key) ;
7973
 
set autocommit=0;
 
7972
create table t1 (n int not null primary key);
 
7973
set @@autocommit = 0;
7974
7974
insert into t1 values (4);
7975
7975
rollback;
7976
7976
select n, "after rollback" from t1;
7989
7989
n       after commit
7990
7990
4       after commit
7991
7991
5       after commit
7992
 
set autocommit=1;
 
7992
set @@autocommit = 1;
7993
7993
insert into t1 values (6);
7994
7994
insert into t1 values (4);
7995
7995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
7998
7998
4
7999
7999
5
8000
8000
6
8001
 
set autocommit=0;
 
8001
set @@autocommit = 0;
8002
8002
DROP TABLE t1;
8003
8003
750;
8004
 
create table t1 (n int not null primary key) ;
8005
 
set autocommit=0;
 
8004
create table t1 (n int not null primary key);
 
8005
set @@autocommit = 0;
8006
8006
insert into t1 values (4);
8007
8007
rollback;
8008
8008
select n, "after rollback" from t1;
8021
8021
n       after commit
8022
8022
4       after commit
8023
8023
5       after commit
8024
 
set autocommit=1;
 
8024
set @@autocommit = 1;
8025
8025
insert into t1 values (6);
8026
8026
insert into t1 values (4);
8027
8027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8030
8030
4
8031
8031
5
8032
8032
6
8033
 
set autocommit=0;
 
8033
set @@autocommit = 0;
8034
8034
DROP TABLE t1;
8035
8035
749;
8036
 
create table t1 (n int not null primary key) ;
8037
 
set autocommit=0;
 
8036
create table t1 (n int not null primary key);
 
8037
set @@autocommit = 0;
8038
8038
insert into t1 values (4);
8039
8039
rollback;
8040
8040
select n, "after rollback" from t1;
8053
8053
n       after commit
8054
8054
4       after commit
8055
8055
5       after commit
8056
 
set autocommit=1;
 
8056
set @@autocommit = 1;
8057
8057
insert into t1 values (6);
8058
8058
insert into t1 values (4);
8059
8059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8062
8062
4
8063
8063
5
8064
8064
6
8065
 
set autocommit=0;
 
8065
set @@autocommit = 0;
8066
8066
DROP TABLE t1;
8067
8067
748;
8068
 
create table t1 (n int not null primary key) ;
8069
 
set autocommit=0;
 
8068
create table t1 (n int not null primary key);
 
8069
set @@autocommit = 0;
8070
8070
insert into t1 values (4);
8071
8071
rollback;
8072
8072
select n, "after rollback" from t1;
8085
8085
n       after commit
8086
8086
4       after commit
8087
8087
5       after commit
8088
 
set autocommit=1;
 
8088
set @@autocommit = 1;
8089
8089
insert into t1 values (6);
8090
8090
insert into t1 values (4);
8091
8091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8094
8094
4
8095
8095
5
8096
8096
6
8097
 
set autocommit=0;
 
8097
set @@autocommit = 0;
8098
8098
DROP TABLE t1;
8099
8099
747;
8100
 
create table t1 (n int not null primary key) ;
8101
 
set autocommit=0;
 
8100
create table t1 (n int not null primary key);
 
8101
set @@autocommit = 0;
8102
8102
insert into t1 values (4);
8103
8103
rollback;
8104
8104
select n, "after rollback" from t1;
8117
8117
n       after commit
8118
8118
4       after commit
8119
8119
5       after commit
8120
 
set autocommit=1;
 
8120
set @@autocommit = 1;
8121
8121
insert into t1 values (6);
8122
8122
insert into t1 values (4);
8123
8123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8126
8126
4
8127
8127
5
8128
8128
6
8129
 
set autocommit=0;
 
8129
set @@autocommit = 0;
8130
8130
DROP TABLE t1;
8131
8131
746;
8132
 
create table t1 (n int not null primary key) ;
8133
 
set autocommit=0;
 
8132
create table t1 (n int not null primary key);
 
8133
set @@autocommit = 0;
8134
8134
insert into t1 values (4);
8135
8135
rollback;
8136
8136
select n, "after rollback" from t1;
8149
8149
n       after commit
8150
8150
4       after commit
8151
8151
5       after commit
8152
 
set autocommit=1;
 
8152
set @@autocommit = 1;
8153
8153
insert into t1 values (6);
8154
8154
insert into t1 values (4);
8155
8155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8158
8158
4
8159
8159
5
8160
8160
6
8161
 
set autocommit=0;
 
8161
set @@autocommit = 0;
8162
8162
DROP TABLE t1;
8163
8163
745;
8164
 
create table t1 (n int not null primary key) ;
8165
 
set autocommit=0;
 
8164
create table t1 (n int not null primary key);
 
8165
set @@autocommit = 0;
8166
8166
insert into t1 values (4);
8167
8167
rollback;
8168
8168
select n, "after rollback" from t1;
8181
8181
n       after commit
8182
8182
4       after commit
8183
8183
5       after commit
8184
 
set autocommit=1;
 
8184
set @@autocommit = 1;
8185
8185
insert into t1 values (6);
8186
8186
insert into t1 values (4);
8187
8187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8190
8190
4
8191
8191
5
8192
8192
6
8193
 
set autocommit=0;
 
8193
set @@autocommit = 0;
8194
8194
DROP TABLE t1;
8195
8195
744;
8196
 
create table t1 (n int not null primary key) ;
8197
 
set autocommit=0;
 
8196
create table t1 (n int not null primary key);
 
8197
set @@autocommit = 0;
8198
8198
insert into t1 values (4);
8199
8199
rollback;
8200
8200
select n, "after rollback" from t1;
8213
8213
n       after commit
8214
8214
4       after commit
8215
8215
5       after commit
8216
 
set autocommit=1;
 
8216
set @@autocommit = 1;
8217
8217
insert into t1 values (6);
8218
8218
insert into t1 values (4);
8219
8219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8222
8222
4
8223
8223
5
8224
8224
6
8225
 
set autocommit=0;
 
8225
set @@autocommit = 0;
8226
8226
DROP TABLE t1;
8227
8227
743;
8228
 
create table t1 (n int not null primary key) ;
8229
 
set autocommit=0;
 
8228
create table t1 (n int not null primary key);
 
8229
set @@autocommit = 0;
8230
8230
insert into t1 values (4);
8231
8231
rollback;
8232
8232
select n, "after rollback" from t1;
8245
8245
n       after commit
8246
8246
4       after commit
8247
8247
5       after commit
8248
 
set autocommit=1;
 
8248
set @@autocommit = 1;
8249
8249
insert into t1 values (6);
8250
8250
insert into t1 values (4);
8251
8251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8254
8254
4
8255
8255
5
8256
8256
6
8257
 
set autocommit=0;
 
8257
set @@autocommit = 0;
8258
8258
DROP TABLE t1;
8259
8259
742;
8260
 
create table t1 (n int not null primary key) ;
8261
 
set autocommit=0;
 
8260
create table t1 (n int not null primary key);
 
8261
set @@autocommit = 0;
8262
8262
insert into t1 values (4);
8263
8263
rollback;
8264
8264
select n, "after rollback" from t1;
8277
8277
n       after commit
8278
8278
4       after commit
8279
8279
5       after commit
8280
 
set autocommit=1;
 
8280
set @@autocommit = 1;
8281
8281
insert into t1 values (6);
8282
8282
insert into t1 values (4);
8283
8283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8286
8286
4
8287
8287
5
8288
8288
6
8289
 
set autocommit=0;
 
8289
set @@autocommit = 0;
8290
8290
DROP TABLE t1;
8291
8291
741;
8292
 
create table t1 (n int not null primary key) ;
8293
 
set autocommit=0;
 
8292
create table t1 (n int not null primary key);
 
8293
set @@autocommit = 0;
8294
8294
insert into t1 values (4);
8295
8295
rollback;
8296
8296
select n, "after rollback" from t1;
8309
8309
n       after commit
8310
8310
4       after commit
8311
8311
5       after commit
8312
 
set autocommit=1;
 
8312
set @@autocommit = 1;
8313
8313
insert into t1 values (6);
8314
8314
insert into t1 values (4);
8315
8315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8318
8318
4
8319
8319
5
8320
8320
6
8321
 
set autocommit=0;
 
8321
set @@autocommit = 0;
8322
8322
DROP TABLE t1;
8323
8323
740;
8324
 
create table t1 (n int not null primary key) ;
8325
 
set autocommit=0;
 
8324
create table t1 (n int not null primary key);
 
8325
set @@autocommit = 0;
8326
8326
insert into t1 values (4);
8327
8327
rollback;
8328
8328
select n, "after rollback" from t1;
8341
8341
n       after commit
8342
8342
4       after commit
8343
8343
5       after commit
8344
 
set autocommit=1;
 
8344
set @@autocommit = 1;
8345
8345
insert into t1 values (6);
8346
8346
insert into t1 values (4);
8347
8347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8350
8350
4
8351
8351
5
8352
8352
6
8353
 
set autocommit=0;
 
8353
set @@autocommit = 0;
8354
8354
DROP TABLE t1;
8355
8355
739;
8356
 
create table t1 (n int not null primary key) ;
8357
 
set autocommit=0;
 
8356
create table t1 (n int not null primary key);
 
8357
set @@autocommit = 0;
8358
8358
insert into t1 values (4);
8359
8359
rollback;
8360
8360
select n, "after rollback" from t1;
8373
8373
n       after commit
8374
8374
4       after commit
8375
8375
5       after commit
8376
 
set autocommit=1;
 
8376
set @@autocommit = 1;
8377
8377
insert into t1 values (6);
8378
8378
insert into t1 values (4);
8379
8379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8382
8382
4
8383
8383
5
8384
8384
6
8385
 
set autocommit=0;
 
8385
set @@autocommit = 0;
8386
8386
DROP TABLE t1;
8387
8387
738;
8388
 
create table t1 (n int not null primary key) ;
8389
 
set autocommit=0;
 
8388
create table t1 (n int not null primary key);
 
8389
set @@autocommit = 0;
8390
8390
insert into t1 values (4);
8391
8391
rollback;
8392
8392
select n, "after rollback" from t1;
8405
8405
n       after commit
8406
8406
4       after commit
8407
8407
5       after commit
8408
 
set autocommit=1;
 
8408
set @@autocommit = 1;
8409
8409
insert into t1 values (6);
8410
8410
insert into t1 values (4);
8411
8411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8414
8414
4
8415
8415
5
8416
8416
6
8417
 
set autocommit=0;
 
8417
set @@autocommit = 0;
8418
8418
DROP TABLE t1;
8419
8419
737;
8420
 
create table t1 (n int not null primary key) ;
8421
 
set autocommit=0;
 
8420
create table t1 (n int not null primary key);
 
8421
set @@autocommit = 0;
8422
8422
insert into t1 values (4);
8423
8423
rollback;
8424
8424
select n, "after rollback" from t1;
8437
8437
n       after commit
8438
8438
4       after commit
8439
8439
5       after commit
8440
 
set autocommit=1;
 
8440
set @@autocommit = 1;
8441
8441
insert into t1 values (6);
8442
8442
insert into t1 values (4);
8443
8443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8446
8446
4
8447
8447
5
8448
8448
6
8449
 
set autocommit=0;
 
8449
set @@autocommit = 0;
8450
8450
DROP TABLE t1;
8451
8451
736;
8452
 
create table t1 (n int not null primary key) ;
8453
 
set autocommit=0;
 
8452
create table t1 (n int not null primary key);
 
8453
set @@autocommit = 0;
8454
8454
insert into t1 values (4);
8455
8455
rollback;
8456
8456
select n, "after rollback" from t1;
8469
8469
n       after commit
8470
8470
4       after commit
8471
8471
5       after commit
8472
 
set autocommit=1;
 
8472
set @@autocommit = 1;
8473
8473
insert into t1 values (6);
8474
8474
insert into t1 values (4);
8475
8475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8478
8478
4
8479
8479
5
8480
8480
6
8481
 
set autocommit=0;
 
8481
set @@autocommit = 0;
8482
8482
DROP TABLE t1;
8483
8483
735;
8484
 
create table t1 (n int not null primary key) ;
8485
 
set autocommit=0;
 
8484
create table t1 (n int not null primary key);
 
8485
set @@autocommit = 0;
8486
8486
insert into t1 values (4);
8487
8487
rollback;
8488
8488
select n, "after rollback" from t1;
8501
8501
n       after commit
8502
8502
4       after commit
8503
8503
5       after commit
8504
 
set autocommit=1;
 
8504
set @@autocommit = 1;
8505
8505
insert into t1 values (6);
8506
8506
insert into t1 values (4);
8507
8507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8510
8510
4
8511
8511
5
8512
8512
6
8513
 
set autocommit=0;
 
8513
set @@autocommit = 0;
8514
8514
DROP TABLE t1;
8515
8515
734;
8516
 
create table t1 (n int not null primary key) ;
8517
 
set autocommit=0;
 
8516
create table t1 (n int not null primary key);
 
8517
set @@autocommit = 0;
8518
8518
insert into t1 values (4);
8519
8519
rollback;
8520
8520
select n, "after rollback" from t1;
8533
8533
n       after commit
8534
8534
4       after commit
8535
8535
5       after commit
8536
 
set autocommit=1;
 
8536
set @@autocommit = 1;
8537
8537
insert into t1 values (6);
8538
8538
insert into t1 values (4);
8539
8539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8542
8542
4
8543
8543
5
8544
8544
6
8545
 
set autocommit=0;
 
8545
set @@autocommit = 0;
8546
8546
DROP TABLE t1;
8547
8547
733;
8548
 
create table t1 (n int not null primary key) ;
8549
 
set autocommit=0;
 
8548
create table t1 (n int not null primary key);
 
8549
set @@autocommit = 0;
8550
8550
insert into t1 values (4);
8551
8551
rollback;
8552
8552
select n, "after rollback" from t1;
8565
8565
n       after commit
8566
8566
4       after commit
8567
8567
5       after commit
8568
 
set autocommit=1;
 
8568
set @@autocommit = 1;
8569
8569
insert into t1 values (6);
8570
8570
insert into t1 values (4);
8571
8571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8574
8574
4
8575
8575
5
8576
8576
6
8577
 
set autocommit=0;
 
8577
set @@autocommit = 0;
8578
8578
DROP TABLE t1;
8579
8579
732;
8580
 
create table t1 (n int not null primary key) ;
8581
 
set autocommit=0;
 
8580
create table t1 (n int not null primary key);
 
8581
set @@autocommit = 0;
8582
8582
insert into t1 values (4);
8583
8583
rollback;
8584
8584
select n, "after rollback" from t1;
8597
8597
n       after commit
8598
8598
4       after commit
8599
8599
5       after commit
8600
 
set autocommit=1;
 
8600
set @@autocommit = 1;
8601
8601
insert into t1 values (6);
8602
8602
insert into t1 values (4);
8603
8603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8606
8606
4
8607
8607
5
8608
8608
6
8609
 
set autocommit=0;
 
8609
set @@autocommit = 0;
8610
8610
DROP TABLE t1;
8611
8611
731;
8612
 
create table t1 (n int not null primary key) ;
8613
 
set autocommit=0;
 
8612
create table t1 (n int not null primary key);
 
8613
set @@autocommit = 0;
8614
8614
insert into t1 values (4);
8615
8615
rollback;
8616
8616
select n, "after rollback" from t1;
8629
8629
n       after commit
8630
8630
4       after commit
8631
8631
5       after commit
8632
 
set autocommit=1;
 
8632
set @@autocommit = 1;
8633
8633
insert into t1 values (6);
8634
8634
insert into t1 values (4);
8635
8635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8638
8638
4
8639
8639
5
8640
8640
6
8641
 
set autocommit=0;
 
8641
set @@autocommit = 0;
8642
8642
DROP TABLE t1;
8643
8643
730;
8644
 
create table t1 (n int not null primary key) ;
8645
 
set autocommit=0;
 
8644
create table t1 (n int not null primary key);
 
8645
set @@autocommit = 0;
8646
8646
insert into t1 values (4);
8647
8647
rollback;
8648
8648
select n, "after rollback" from t1;
8661
8661
n       after commit
8662
8662
4       after commit
8663
8663
5       after commit
8664
 
set autocommit=1;
 
8664
set @@autocommit = 1;
8665
8665
insert into t1 values (6);
8666
8666
insert into t1 values (4);
8667
8667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8670
8670
4
8671
8671
5
8672
8672
6
8673
 
set autocommit=0;
 
8673
set @@autocommit = 0;
8674
8674
DROP TABLE t1;
8675
8675
729;
8676
 
create table t1 (n int not null primary key) ;
8677
 
set autocommit=0;
 
8676
create table t1 (n int not null primary key);
 
8677
set @@autocommit = 0;
8678
8678
insert into t1 values (4);
8679
8679
rollback;
8680
8680
select n, "after rollback" from t1;
8693
8693
n       after commit
8694
8694
4       after commit
8695
8695
5       after commit
8696
 
set autocommit=1;
 
8696
set @@autocommit = 1;
8697
8697
insert into t1 values (6);
8698
8698
insert into t1 values (4);
8699
8699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8702
8702
4
8703
8703
5
8704
8704
6
8705
 
set autocommit=0;
 
8705
set @@autocommit = 0;
8706
8706
DROP TABLE t1;
8707
8707
728;
8708
 
create table t1 (n int not null primary key) ;
8709
 
set autocommit=0;
 
8708
create table t1 (n int not null primary key);
 
8709
set @@autocommit = 0;
8710
8710
insert into t1 values (4);
8711
8711
rollback;
8712
8712
select n, "after rollback" from t1;
8725
8725
n       after commit
8726
8726
4       after commit
8727
8727
5       after commit
8728
 
set autocommit=1;
 
8728
set @@autocommit = 1;
8729
8729
insert into t1 values (6);
8730
8730
insert into t1 values (4);
8731
8731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8734
8734
4
8735
8735
5
8736
8736
6
8737
 
set autocommit=0;
 
8737
set @@autocommit = 0;
8738
8738
DROP TABLE t1;
8739
8739
727;
8740
 
create table t1 (n int not null primary key) ;
8741
 
set autocommit=0;
 
8740
create table t1 (n int not null primary key);
 
8741
set @@autocommit = 0;
8742
8742
insert into t1 values (4);
8743
8743
rollback;
8744
8744
select n, "after rollback" from t1;
8757
8757
n       after commit
8758
8758
4       after commit
8759
8759
5       after commit
8760
 
set autocommit=1;
 
8760
set @@autocommit = 1;
8761
8761
insert into t1 values (6);
8762
8762
insert into t1 values (4);
8763
8763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8766
8766
4
8767
8767
5
8768
8768
6
8769
 
set autocommit=0;
 
8769
set @@autocommit = 0;
8770
8770
DROP TABLE t1;
8771
8771
726;
8772
 
create table t1 (n int not null primary key) ;
8773
 
set autocommit=0;
 
8772
create table t1 (n int not null primary key);
 
8773
set @@autocommit = 0;
8774
8774
insert into t1 values (4);
8775
8775
rollback;
8776
8776
select n, "after rollback" from t1;
8789
8789
n       after commit
8790
8790
4       after commit
8791
8791
5       after commit
8792
 
set autocommit=1;
 
8792
set @@autocommit = 1;
8793
8793
insert into t1 values (6);
8794
8794
insert into t1 values (4);
8795
8795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8798
8798
4
8799
8799
5
8800
8800
6
8801
 
set autocommit=0;
 
8801
set @@autocommit = 0;
8802
8802
DROP TABLE t1;
8803
8803
725;
8804
 
create table t1 (n int not null primary key) ;
8805
 
set autocommit=0;
 
8804
create table t1 (n int not null primary key);
 
8805
set @@autocommit = 0;
8806
8806
insert into t1 values (4);
8807
8807
rollback;
8808
8808
select n, "after rollback" from t1;
8821
8821
n       after commit
8822
8822
4       after commit
8823
8823
5       after commit
8824
 
set autocommit=1;
 
8824
set @@autocommit = 1;
8825
8825
insert into t1 values (6);
8826
8826
insert into t1 values (4);
8827
8827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8830
8830
4
8831
8831
5
8832
8832
6
8833
 
set autocommit=0;
 
8833
set @@autocommit = 0;
8834
8834
DROP TABLE t1;
8835
8835
724;
8836
 
create table t1 (n int not null primary key) ;
8837
 
set autocommit=0;
 
8836
create table t1 (n int not null primary key);
 
8837
set @@autocommit = 0;
8838
8838
insert into t1 values (4);
8839
8839
rollback;
8840
8840
select n, "after rollback" from t1;
8853
8853
n       after commit
8854
8854
4       after commit
8855
8855
5       after commit
8856
 
set autocommit=1;
 
8856
set @@autocommit = 1;
8857
8857
insert into t1 values (6);
8858
8858
insert into t1 values (4);
8859
8859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8862
8862
4
8863
8863
5
8864
8864
6
8865
 
set autocommit=0;
 
8865
set @@autocommit = 0;
8866
8866
DROP TABLE t1;
8867
8867
723;
8868
 
create table t1 (n int not null primary key) ;
8869
 
set autocommit=0;
 
8868
create table t1 (n int not null primary key);
 
8869
set @@autocommit = 0;
8870
8870
insert into t1 values (4);
8871
8871
rollback;
8872
8872
select n, "after rollback" from t1;
8885
8885
n       after commit
8886
8886
4       after commit
8887
8887
5       after commit
8888
 
set autocommit=1;
 
8888
set @@autocommit = 1;
8889
8889
insert into t1 values (6);
8890
8890
insert into t1 values (4);
8891
8891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8894
8894
4
8895
8895
5
8896
8896
6
8897
 
set autocommit=0;
 
8897
set @@autocommit = 0;
8898
8898
DROP TABLE t1;
8899
8899
722;
8900
 
create table t1 (n int not null primary key) ;
8901
 
set autocommit=0;
 
8900
create table t1 (n int not null primary key);
 
8901
set @@autocommit = 0;
8902
8902
insert into t1 values (4);
8903
8903
rollback;
8904
8904
select n, "after rollback" from t1;
8917
8917
n       after commit
8918
8918
4       after commit
8919
8919
5       after commit
8920
 
set autocommit=1;
 
8920
set @@autocommit = 1;
8921
8921
insert into t1 values (6);
8922
8922
insert into t1 values (4);
8923
8923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8926
8926
4
8927
8927
5
8928
8928
6
8929
 
set autocommit=0;
 
8929
set @@autocommit = 0;
8930
8930
DROP TABLE t1;
8931
8931
721;
8932
 
create table t1 (n int not null primary key) ;
8933
 
set autocommit=0;
 
8932
create table t1 (n int not null primary key);
 
8933
set @@autocommit = 0;
8934
8934
insert into t1 values (4);
8935
8935
rollback;
8936
8936
select n, "after rollback" from t1;
8949
8949
n       after commit
8950
8950
4       after commit
8951
8951
5       after commit
8952
 
set autocommit=1;
 
8952
set @@autocommit = 1;
8953
8953
insert into t1 values (6);
8954
8954
insert into t1 values (4);
8955
8955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8958
8958
4
8959
8959
5
8960
8960
6
8961
 
set autocommit=0;
 
8961
set @@autocommit = 0;
8962
8962
DROP TABLE t1;
8963
8963
720;
8964
 
create table t1 (n int not null primary key) ;
8965
 
set autocommit=0;
 
8964
create table t1 (n int not null primary key);
 
8965
set @@autocommit = 0;
8966
8966
insert into t1 values (4);
8967
8967
rollback;
8968
8968
select n, "after rollback" from t1;
8981
8981
n       after commit
8982
8982
4       after commit
8983
8983
5       after commit
8984
 
set autocommit=1;
 
8984
set @@autocommit = 1;
8985
8985
insert into t1 values (6);
8986
8986
insert into t1 values (4);
8987
8987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
8990
8990
4
8991
8991
5
8992
8992
6
8993
 
set autocommit=0;
 
8993
set @@autocommit = 0;
8994
8994
DROP TABLE t1;
8995
8995
719;
8996
 
create table t1 (n int not null primary key) ;
8997
 
set autocommit=0;
 
8996
create table t1 (n int not null primary key);
 
8997
set @@autocommit = 0;
8998
8998
insert into t1 values (4);
8999
8999
rollback;
9000
9000
select n, "after rollback" from t1;
9013
9013
n       after commit
9014
9014
4       after commit
9015
9015
5       after commit
9016
 
set autocommit=1;
 
9016
set @@autocommit = 1;
9017
9017
insert into t1 values (6);
9018
9018
insert into t1 values (4);
9019
9019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9022
9022
4
9023
9023
5
9024
9024
6
9025
 
set autocommit=0;
 
9025
set @@autocommit = 0;
9026
9026
DROP TABLE t1;
9027
9027
718;
9028
 
create table t1 (n int not null primary key) ;
9029
 
set autocommit=0;
 
9028
create table t1 (n int not null primary key);
 
9029
set @@autocommit = 0;
9030
9030
insert into t1 values (4);
9031
9031
rollback;
9032
9032
select n, "after rollback" from t1;
9045
9045
n       after commit
9046
9046
4       after commit
9047
9047
5       after commit
9048
 
set autocommit=1;
 
9048
set @@autocommit = 1;
9049
9049
insert into t1 values (6);
9050
9050
insert into t1 values (4);
9051
9051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9054
9054
4
9055
9055
5
9056
9056
6
9057
 
set autocommit=0;
 
9057
set @@autocommit = 0;
9058
9058
DROP TABLE t1;
9059
9059
717;
9060
 
create table t1 (n int not null primary key) ;
9061
 
set autocommit=0;
 
9060
create table t1 (n int not null primary key);
 
9061
set @@autocommit = 0;
9062
9062
insert into t1 values (4);
9063
9063
rollback;
9064
9064
select n, "after rollback" from t1;
9077
9077
n       after commit
9078
9078
4       after commit
9079
9079
5       after commit
9080
 
set autocommit=1;
 
9080
set @@autocommit = 1;
9081
9081
insert into t1 values (6);
9082
9082
insert into t1 values (4);
9083
9083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9086
9086
4
9087
9087
5
9088
9088
6
9089
 
set autocommit=0;
 
9089
set @@autocommit = 0;
9090
9090
DROP TABLE t1;
9091
9091
716;
9092
 
create table t1 (n int not null primary key) ;
9093
 
set autocommit=0;
 
9092
create table t1 (n int not null primary key);
 
9093
set @@autocommit = 0;
9094
9094
insert into t1 values (4);
9095
9095
rollback;
9096
9096
select n, "after rollback" from t1;
9109
9109
n       after commit
9110
9110
4       after commit
9111
9111
5       after commit
9112
 
set autocommit=1;
 
9112
set @@autocommit = 1;
9113
9113
insert into t1 values (6);
9114
9114
insert into t1 values (4);
9115
9115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9118
9118
4
9119
9119
5
9120
9120
6
9121
 
set autocommit=0;
 
9121
set @@autocommit = 0;
9122
9122
DROP TABLE t1;
9123
9123
715;
9124
 
create table t1 (n int not null primary key) ;
9125
 
set autocommit=0;
 
9124
create table t1 (n int not null primary key);
 
9125
set @@autocommit = 0;
9126
9126
insert into t1 values (4);
9127
9127
rollback;
9128
9128
select n, "after rollback" from t1;
9141
9141
n       after commit
9142
9142
4       after commit
9143
9143
5       after commit
9144
 
set autocommit=1;
 
9144
set @@autocommit = 1;
9145
9145
insert into t1 values (6);
9146
9146
insert into t1 values (4);
9147
9147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9150
9150
4
9151
9151
5
9152
9152
6
9153
 
set autocommit=0;
 
9153
set @@autocommit = 0;
9154
9154
DROP TABLE t1;
9155
9155
714;
9156
 
create table t1 (n int not null primary key) ;
9157
 
set autocommit=0;
 
9156
create table t1 (n int not null primary key);
 
9157
set @@autocommit = 0;
9158
9158
insert into t1 values (4);
9159
9159
rollback;
9160
9160
select n, "after rollback" from t1;
9173
9173
n       after commit
9174
9174
4       after commit
9175
9175
5       after commit
9176
 
set autocommit=1;
 
9176
set @@autocommit = 1;
9177
9177
insert into t1 values (6);
9178
9178
insert into t1 values (4);
9179
9179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9182
9182
4
9183
9183
5
9184
9184
6
9185
 
set autocommit=0;
 
9185
set @@autocommit = 0;
9186
9186
DROP TABLE t1;
9187
9187
713;
9188
 
create table t1 (n int not null primary key) ;
9189
 
set autocommit=0;
 
9188
create table t1 (n int not null primary key);
 
9189
set @@autocommit = 0;
9190
9190
insert into t1 values (4);
9191
9191
rollback;
9192
9192
select n, "after rollback" from t1;
9205
9205
n       after commit
9206
9206
4       after commit
9207
9207
5       after commit
9208
 
set autocommit=1;
 
9208
set @@autocommit = 1;
9209
9209
insert into t1 values (6);
9210
9210
insert into t1 values (4);
9211
9211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9214
9214
4
9215
9215
5
9216
9216
6
9217
 
set autocommit=0;
 
9217
set @@autocommit = 0;
9218
9218
DROP TABLE t1;
9219
9219
712;
9220
 
create table t1 (n int not null primary key) ;
9221
 
set autocommit=0;
 
9220
create table t1 (n int not null primary key);
 
9221
set @@autocommit = 0;
9222
9222
insert into t1 values (4);
9223
9223
rollback;
9224
9224
select n, "after rollback" from t1;
9237
9237
n       after commit
9238
9238
4       after commit
9239
9239
5       after commit
9240
 
set autocommit=1;
 
9240
set @@autocommit = 1;
9241
9241
insert into t1 values (6);
9242
9242
insert into t1 values (4);
9243
9243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9246
9246
4
9247
9247
5
9248
9248
6
9249
 
set autocommit=0;
 
9249
set @@autocommit = 0;
9250
9250
DROP TABLE t1;
9251
9251
711;
9252
 
create table t1 (n int not null primary key) ;
9253
 
set autocommit=0;
 
9252
create table t1 (n int not null primary key);
 
9253
set @@autocommit = 0;
9254
9254
insert into t1 values (4);
9255
9255
rollback;
9256
9256
select n, "after rollback" from t1;
9269
9269
n       after commit
9270
9270
4       after commit
9271
9271
5       after commit
9272
 
set autocommit=1;
 
9272
set @@autocommit = 1;
9273
9273
insert into t1 values (6);
9274
9274
insert into t1 values (4);
9275
9275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9278
9278
4
9279
9279
5
9280
9280
6
9281
 
set autocommit=0;
 
9281
set @@autocommit = 0;
9282
9282
DROP TABLE t1;
9283
9283
710;
9284
 
create table t1 (n int not null primary key) ;
9285
 
set autocommit=0;
 
9284
create table t1 (n int not null primary key);
 
9285
set @@autocommit = 0;
9286
9286
insert into t1 values (4);
9287
9287
rollback;
9288
9288
select n, "after rollback" from t1;
9301
9301
n       after commit
9302
9302
4       after commit
9303
9303
5       after commit
9304
 
set autocommit=1;
 
9304
set @@autocommit = 1;
9305
9305
insert into t1 values (6);
9306
9306
insert into t1 values (4);
9307
9307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9310
9310
4
9311
9311
5
9312
9312
6
9313
 
set autocommit=0;
 
9313
set @@autocommit = 0;
9314
9314
DROP TABLE t1;
9315
9315
709;
9316
 
create table t1 (n int not null primary key) ;
9317
 
set autocommit=0;
 
9316
create table t1 (n int not null primary key);
 
9317
set @@autocommit = 0;
9318
9318
insert into t1 values (4);
9319
9319
rollback;
9320
9320
select n, "after rollback" from t1;
9333
9333
n       after commit
9334
9334
4       after commit
9335
9335
5       after commit
9336
 
set autocommit=1;
 
9336
set @@autocommit = 1;
9337
9337
insert into t1 values (6);
9338
9338
insert into t1 values (4);
9339
9339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9342
9342
4
9343
9343
5
9344
9344
6
9345
 
set autocommit=0;
 
9345
set @@autocommit = 0;
9346
9346
DROP TABLE t1;
9347
9347
708;
9348
 
create table t1 (n int not null primary key) ;
9349
 
set autocommit=0;
 
9348
create table t1 (n int not null primary key);
 
9349
set @@autocommit = 0;
9350
9350
insert into t1 values (4);
9351
9351
rollback;
9352
9352
select n, "after rollback" from t1;
9365
9365
n       after commit
9366
9366
4       after commit
9367
9367
5       after commit
9368
 
set autocommit=1;
 
9368
set @@autocommit = 1;
9369
9369
insert into t1 values (6);
9370
9370
insert into t1 values (4);
9371
9371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9374
9374
4
9375
9375
5
9376
9376
6
9377
 
set autocommit=0;
 
9377
set @@autocommit = 0;
9378
9378
DROP TABLE t1;
9379
9379
707;
9380
 
create table t1 (n int not null primary key) ;
9381
 
set autocommit=0;
 
9380
create table t1 (n int not null primary key);
 
9381
set @@autocommit = 0;
9382
9382
insert into t1 values (4);
9383
9383
rollback;
9384
9384
select n, "after rollback" from t1;
9397
9397
n       after commit
9398
9398
4       after commit
9399
9399
5       after commit
9400
 
set autocommit=1;
 
9400
set @@autocommit = 1;
9401
9401
insert into t1 values (6);
9402
9402
insert into t1 values (4);
9403
9403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9406
9406
4
9407
9407
5
9408
9408
6
9409
 
set autocommit=0;
 
9409
set @@autocommit = 0;
9410
9410
DROP TABLE t1;
9411
9411
706;
9412
 
create table t1 (n int not null primary key) ;
9413
 
set autocommit=0;
 
9412
create table t1 (n int not null primary key);
 
9413
set @@autocommit = 0;
9414
9414
insert into t1 values (4);
9415
9415
rollback;
9416
9416
select n, "after rollback" from t1;
9429
9429
n       after commit
9430
9430
4       after commit
9431
9431
5       after commit
9432
 
set autocommit=1;
 
9432
set @@autocommit = 1;
9433
9433
insert into t1 values (6);
9434
9434
insert into t1 values (4);
9435
9435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9438
9438
4
9439
9439
5
9440
9440
6
9441
 
set autocommit=0;
 
9441
set @@autocommit = 0;
9442
9442
DROP TABLE t1;
9443
9443
705;
9444
 
create table t1 (n int not null primary key) ;
9445
 
set autocommit=0;
 
9444
create table t1 (n int not null primary key);
 
9445
set @@autocommit = 0;
9446
9446
insert into t1 values (4);
9447
9447
rollback;
9448
9448
select n, "after rollback" from t1;
9461
9461
n       after commit
9462
9462
4       after commit
9463
9463
5       after commit
9464
 
set autocommit=1;
 
9464
set @@autocommit = 1;
9465
9465
insert into t1 values (6);
9466
9466
insert into t1 values (4);
9467
9467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9470
9470
4
9471
9471
5
9472
9472
6
9473
 
set autocommit=0;
 
9473
set @@autocommit = 0;
9474
9474
DROP TABLE t1;
9475
9475
704;
9476
 
create table t1 (n int not null primary key) ;
9477
 
set autocommit=0;
 
9476
create table t1 (n int not null primary key);
 
9477
set @@autocommit = 0;
9478
9478
insert into t1 values (4);
9479
9479
rollback;
9480
9480
select n, "after rollback" from t1;
9493
9493
n       after commit
9494
9494
4       after commit
9495
9495
5       after commit
9496
 
set autocommit=1;
 
9496
set @@autocommit = 1;
9497
9497
insert into t1 values (6);
9498
9498
insert into t1 values (4);
9499
9499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9502
9502
4
9503
9503
5
9504
9504
6
9505
 
set autocommit=0;
 
9505
set @@autocommit = 0;
9506
9506
DROP TABLE t1;
9507
9507
703;
9508
 
create table t1 (n int not null primary key) ;
9509
 
set autocommit=0;
 
9508
create table t1 (n int not null primary key);
 
9509
set @@autocommit = 0;
9510
9510
insert into t1 values (4);
9511
9511
rollback;
9512
9512
select n, "after rollback" from t1;
9525
9525
n       after commit
9526
9526
4       after commit
9527
9527
5       after commit
9528
 
set autocommit=1;
 
9528
set @@autocommit = 1;
9529
9529
insert into t1 values (6);
9530
9530
insert into t1 values (4);
9531
9531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9534
9534
4
9535
9535
5
9536
9536
6
9537
 
set autocommit=0;
 
9537
set @@autocommit = 0;
9538
9538
DROP TABLE t1;
9539
9539
702;
9540
 
create table t1 (n int not null primary key) ;
9541
 
set autocommit=0;
 
9540
create table t1 (n int not null primary key);
 
9541
set @@autocommit = 0;
9542
9542
insert into t1 values (4);
9543
9543
rollback;
9544
9544
select n, "after rollback" from t1;
9557
9557
n       after commit
9558
9558
4       after commit
9559
9559
5       after commit
9560
 
set autocommit=1;
 
9560
set @@autocommit = 1;
9561
9561
insert into t1 values (6);
9562
9562
insert into t1 values (4);
9563
9563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9566
9566
4
9567
9567
5
9568
9568
6
9569
 
set autocommit=0;
 
9569
set @@autocommit = 0;
9570
9570
DROP TABLE t1;
9571
9571
701;
9572
 
create table t1 (n int not null primary key) ;
9573
 
set autocommit=0;
 
9572
create table t1 (n int not null primary key);
 
9573
set @@autocommit = 0;
9574
9574
insert into t1 values (4);
9575
9575
rollback;
9576
9576
select n, "after rollback" from t1;
9589
9589
n       after commit
9590
9590
4       after commit
9591
9591
5       after commit
9592
 
set autocommit=1;
 
9592
set @@autocommit = 1;
9593
9593
insert into t1 values (6);
9594
9594
insert into t1 values (4);
9595
9595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9598
9598
4
9599
9599
5
9600
9600
6
9601
 
set autocommit=0;
 
9601
set @@autocommit = 0;
9602
9602
DROP TABLE t1;
9603
9603
700;
9604
 
create table t1 (n int not null primary key) ;
9605
 
set autocommit=0;
 
9604
create table t1 (n int not null primary key);
 
9605
set @@autocommit = 0;
9606
9606
insert into t1 values (4);
9607
9607
rollback;
9608
9608
select n, "after rollback" from t1;
9621
9621
n       after commit
9622
9622
4       after commit
9623
9623
5       after commit
9624
 
set autocommit=1;
 
9624
set @@autocommit = 1;
9625
9625
insert into t1 values (6);
9626
9626
insert into t1 values (4);
9627
9627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9630
9630
4
9631
9631
5
9632
9632
6
9633
 
set autocommit=0;
 
9633
set @@autocommit = 0;
9634
9634
DROP TABLE t1;
9635
9635
699;
9636
 
create table t1 (n int not null primary key) ;
9637
 
set autocommit=0;
 
9636
create table t1 (n int not null primary key);
 
9637
set @@autocommit = 0;
9638
9638
insert into t1 values (4);
9639
9639
rollback;
9640
9640
select n, "after rollback" from t1;
9653
9653
n       after commit
9654
9654
4       after commit
9655
9655
5       after commit
9656
 
set autocommit=1;
 
9656
set @@autocommit = 1;
9657
9657
insert into t1 values (6);
9658
9658
insert into t1 values (4);
9659
9659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9662
9662
4
9663
9663
5
9664
9664
6
9665
 
set autocommit=0;
 
9665
set @@autocommit = 0;
9666
9666
DROP TABLE t1;
9667
9667
698;
9668
 
create table t1 (n int not null primary key) ;
9669
 
set autocommit=0;
 
9668
create table t1 (n int not null primary key);
 
9669
set @@autocommit = 0;
9670
9670
insert into t1 values (4);
9671
9671
rollback;
9672
9672
select n, "after rollback" from t1;
9685
9685
n       after commit
9686
9686
4       after commit
9687
9687
5       after commit
9688
 
set autocommit=1;
 
9688
set @@autocommit = 1;
9689
9689
insert into t1 values (6);
9690
9690
insert into t1 values (4);
9691
9691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9694
9694
4
9695
9695
5
9696
9696
6
9697
 
set autocommit=0;
 
9697
set @@autocommit = 0;
9698
9698
DROP TABLE t1;
9699
9699
697;
9700
 
create table t1 (n int not null primary key) ;
9701
 
set autocommit=0;
 
9700
create table t1 (n int not null primary key);
 
9701
set @@autocommit = 0;
9702
9702
insert into t1 values (4);
9703
9703
rollback;
9704
9704
select n, "after rollback" from t1;
9717
9717
n       after commit
9718
9718
4       after commit
9719
9719
5       after commit
9720
 
set autocommit=1;
 
9720
set @@autocommit = 1;
9721
9721
insert into t1 values (6);
9722
9722
insert into t1 values (4);
9723
9723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9726
9726
4
9727
9727
5
9728
9728
6
9729
 
set autocommit=0;
 
9729
set @@autocommit = 0;
9730
9730
DROP TABLE t1;
9731
9731
696;
9732
 
create table t1 (n int not null primary key) ;
9733
 
set autocommit=0;
 
9732
create table t1 (n int not null primary key);
 
9733
set @@autocommit = 0;
9734
9734
insert into t1 values (4);
9735
9735
rollback;
9736
9736
select n, "after rollback" from t1;
9749
9749
n       after commit
9750
9750
4       after commit
9751
9751
5       after commit
9752
 
set autocommit=1;
 
9752
set @@autocommit = 1;
9753
9753
insert into t1 values (6);
9754
9754
insert into t1 values (4);
9755
9755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9758
9758
4
9759
9759
5
9760
9760
6
9761
 
set autocommit=0;
 
9761
set @@autocommit = 0;
9762
9762
DROP TABLE t1;
9763
9763
695;
9764
 
create table t1 (n int not null primary key) ;
9765
 
set autocommit=0;
 
9764
create table t1 (n int not null primary key);
 
9765
set @@autocommit = 0;
9766
9766
insert into t1 values (4);
9767
9767
rollback;
9768
9768
select n, "after rollback" from t1;
9781
9781
n       after commit
9782
9782
4       after commit
9783
9783
5       after commit
9784
 
set autocommit=1;
 
9784
set @@autocommit = 1;
9785
9785
insert into t1 values (6);
9786
9786
insert into t1 values (4);
9787
9787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9790
9790
4
9791
9791
5
9792
9792
6
9793
 
set autocommit=0;
 
9793
set @@autocommit = 0;
9794
9794
DROP TABLE t1;
9795
9795
694;
9796
 
create table t1 (n int not null primary key) ;
9797
 
set autocommit=0;
 
9796
create table t1 (n int not null primary key);
 
9797
set @@autocommit = 0;
9798
9798
insert into t1 values (4);
9799
9799
rollback;
9800
9800
select n, "after rollback" from t1;
9813
9813
n       after commit
9814
9814
4       after commit
9815
9815
5       after commit
9816
 
set autocommit=1;
 
9816
set @@autocommit = 1;
9817
9817
insert into t1 values (6);
9818
9818
insert into t1 values (4);
9819
9819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9822
9822
4
9823
9823
5
9824
9824
6
9825
 
set autocommit=0;
 
9825
set @@autocommit = 0;
9826
9826
DROP TABLE t1;
9827
9827
693;
9828
 
create table t1 (n int not null primary key) ;
9829
 
set autocommit=0;
 
9828
create table t1 (n int not null primary key);
 
9829
set @@autocommit = 0;
9830
9830
insert into t1 values (4);
9831
9831
rollback;
9832
9832
select n, "after rollback" from t1;
9845
9845
n       after commit
9846
9846
4       after commit
9847
9847
5       after commit
9848
 
set autocommit=1;
 
9848
set @@autocommit = 1;
9849
9849
insert into t1 values (6);
9850
9850
insert into t1 values (4);
9851
9851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9854
9854
4
9855
9855
5
9856
9856
6
9857
 
set autocommit=0;
 
9857
set @@autocommit = 0;
9858
9858
DROP TABLE t1;
9859
9859
692;
9860
 
create table t1 (n int not null primary key) ;
9861
 
set autocommit=0;
 
9860
create table t1 (n int not null primary key);
 
9861
set @@autocommit = 0;
9862
9862
insert into t1 values (4);
9863
9863
rollback;
9864
9864
select n, "after rollback" from t1;
9877
9877
n       after commit
9878
9878
4       after commit
9879
9879
5       after commit
9880
 
set autocommit=1;
 
9880
set @@autocommit = 1;
9881
9881
insert into t1 values (6);
9882
9882
insert into t1 values (4);
9883
9883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9886
9886
4
9887
9887
5
9888
9888
6
9889
 
set autocommit=0;
 
9889
set @@autocommit = 0;
9890
9890
DROP TABLE t1;
9891
9891
691;
9892
 
create table t1 (n int not null primary key) ;
9893
 
set autocommit=0;
 
9892
create table t1 (n int not null primary key);
 
9893
set @@autocommit = 0;
9894
9894
insert into t1 values (4);
9895
9895
rollback;
9896
9896
select n, "after rollback" from t1;
9909
9909
n       after commit
9910
9910
4       after commit
9911
9911
5       after commit
9912
 
set autocommit=1;
 
9912
set @@autocommit = 1;
9913
9913
insert into t1 values (6);
9914
9914
insert into t1 values (4);
9915
9915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9918
9918
4
9919
9919
5
9920
9920
6
9921
 
set autocommit=0;
 
9921
set @@autocommit = 0;
9922
9922
DROP TABLE t1;
9923
9923
690;
9924
 
create table t1 (n int not null primary key) ;
9925
 
set autocommit=0;
 
9924
create table t1 (n int not null primary key);
 
9925
set @@autocommit = 0;
9926
9926
insert into t1 values (4);
9927
9927
rollback;
9928
9928
select n, "after rollback" from t1;
9941
9941
n       after commit
9942
9942
4       after commit
9943
9943
5       after commit
9944
 
set autocommit=1;
 
9944
set @@autocommit = 1;
9945
9945
insert into t1 values (6);
9946
9946
insert into t1 values (4);
9947
9947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9950
9950
4
9951
9951
5
9952
9952
6
9953
 
set autocommit=0;
 
9953
set @@autocommit = 0;
9954
9954
DROP TABLE t1;
9955
9955
689;
9956
 
create table t1 (n int not null primary key) ;
9957
 
set autocommit=0;
 
9956
create table t1 (n int not null primary key);
 
9957
set @@autocommit = 0;
9958
9958
insert into t1 values (4);
9959
9959
rollback;
9960
9960
select n, "after rollback" from t1;
9973
9973
n       after commit
9974
9974
4       after commit
9975
9975
5       after commit
9976
 
set autocommit=1;
 
9976
set @@autocommit = 1;
9977
9977
insert into t1 values (6);
9978
9978
insert into t1 values (4);
9979
9979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
9982
9982
4
9983
9983
5
9984
9984
6
9985
 
set autocommit=0;
 
9985
set @@autocommit = 0;
9986
9986
DROP TABLE t1;
9987
9987
688;
9988
 
create table t1 (n int not null primary key) ;
9989
 
set autocommit=0;
 
9988
create table t1 (n int not null primary key);
 
9989
set @@autocommit = 0;
9990
9990
insert into t1 values (4);
9991
9991
rollback;
9992
9992
select n, "after rollback" from t1;
10005
10005
n       after commit
10006
10006
4       after commit
10007
10007
5       after commit
10008
 
set autocommit=1;
 
10008
set @@autocommit = 1;
10009
10009
insert into t1 values (6);
10010
10010
insert into t1 values (4);
10011
10011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10014
10014
4
10015
10015
5
10016
10016
6
10017
 
set autocommit=0;
 
10017
set @@autocommit = 0;
10018
10018
DROP TABLE t1;
10019
10019
687;
10020
 
create table t1 (n int not null primary key) ;
10021
 
set autocommit=0;
 
10020
create table t1 (n int not null primary key);
 
10021
set @@autocommit = 0;
10022
10022
insert into t1 values (4);
10023
10023
rollback;
10024
10024
select n, "after rollback" from t1;
10037
10037
n       after commit
10038
10038
4       after commit
10039
10039
5       after commit
10040
 
set autocommit=1;
 
10040
set @@autocommit = 1;
10041
10041
insert into t1 values (6);
10042
10042
insert into t1 values (4);
10043
10043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10046
10046
4
10047
10047
5
10048
10048
6
10049
 
set autocommit=0;
 
10049
set @@autocommit = 0;
10050
10050
DROP TABLE t1;
10051
10051
686;
10052
 
create table t1 (n int not null primary key) ;
10053
 
set autocommit=0;
 
10052
create table t1 (n int not null primary key);
 
10053
set @@autocommit = 0;
10054
10054
insert into t1 values (4);
10055
10055
rollback;
10056
10056
select n, "after rollback" from t1;
10069
10069
n       after commit
10070
10070
4       after commit
10071
10071
5       after commit
10072
 
set autocommit=1;
 
10072
set @@autocommit = 1;
10073
10073
insert into t1 values (6);
10074
10074
insert into t1 values (4);
10075
10075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10078
10078
4
10079
10079
5
10080
10080
6
10081
 
set autocommit=0;
 
10081
set @@autocommit = 0;
10082
10082
DROP TABLE t1;
10083
10083
685;
10084
 
create table t1 (n int not null primary key) ;
10085
 
set autocommit=0;
 
10084
create table t1 (n int not null primary key);
 
10085
set @@autocommit = 0;
10086
10086
insert into t1 values (4);
10087
10087
rollback;
10088
10088
select n, "after rollback" from t1;
10101
10101
n       after commit
10102
10102
4       after commit
10103
10103
5       after commit
10104
 
set autocommit=1;
 
10104
set @@autocommit = 1;
10105
10105
insert into t1 values (6);
10106
10106
insert into t1 values (4);
10107
10107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10110
10110
4
10111
10111
5
10112
10112
6
10113
 
set autocommit=0;
 
10113
set @@autocommit = 0;
10114
10114
DROP TABLE t1;
10115
10115
684;
10116
 
create table t1 (n int not null primary key) ;
10117
 
set autocommit=0;
 
10116
create table t1 (n int not null primary key);
 
10117
set @@autocommit = 0;
10118
10118
insert into t1 values (4);
10119
10119
rollback;
10120
10120
select n, "after rollback" from t1;
10133
10133
n       after commit
10134
10134
4       after commit
10135
10135
5       after commit
10136
 
set autocommit=1;
 
10136
set @@autocommit = 1;
10137
10137
insert into t1 values (6);
10138
10138
insert into t1 values (4);
10139
10139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10142
10142
4
10143
10143
5
10144
10144
6
10145
 
set autocommit=0;
 
10145
set @@autocommit = 0;
10146
10146
DROP TABLE t1;
10147
10147
683;
10148
 
create table t1 (n int not null primary key) ;
10149
 
set autocommit=0;
 
10148
create table t1 (n int not null primary key);
 
10149
set @@autocommit = 0;
10150
10150
insert into t1 values (4);
10151
10151
rollback;
10152
10152
select n, "after rollback" from t1;
10165
10165
n       after commit
10166
10166
4       after commit
10167
10167
5       after commit
10168
 
set autocommit=1;
 
10168
set @@autocommit = 1;
10169
10169
insert into t1 values (6);
10170
10170
insert into t1 values (4);
10171
10171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10174
10174
4
10175
10175
5
10176
10176
6
10177
 
set autocommit=0;
 
10177
set @@autocommit = 0;
10178
10178
DROP TABLE t1;
10179
10179
682;
10180
 
create table t1 (n int not null primary key) ;
10181
 
set autocommit=0;
 
10180
create table t1 (n int not null primary key);
 
10181
set @@autocommit = 0;
10182
10182
insert into t1 values (4);
10183
10183
rollback;
10184
10184
select n, "after rollback" from t1;
10197
10197
n       after commit
10198
10198
4       after commit
10199
10199
5       after commit
10200
 
set autocommit=1;
 
10200
set @@autocommit = 1;
10201
10201
insert into t1 values (6);
10202
10202
insert into t1 values (4);
10203
10203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10206
10206
4
10207
10207
5
10208
10208
6
10209
 
set autocommit=0;
 
10209
set @@autocommit = 0;
10210
10210
DROP TABLE t1;
10211
10211
681;
10212
 
create table t1 (n int not null primary key) ;
10213
 
set autocommit=0;
 
10212
create table t1 (n int not null primary key);
 
10213
set @@autocommit = 0;
10214
10214
insert into t1 values (4);
10215
10215
rollback;
10216
10216
select n, "after rollback" from t1;
10229
10229
n       after commit
10230
10230
4       after commit
10231
10231
5       after commit
10232
 
set autocommit=1;
 
10232
set @@autocommit = 1;
10233
10233
insert into t1 values (6);
10234
10234
insert into t1 values (4);
10235
10235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10238
10238
4
10239
10239
5
10240
10240
6
10241
 
set autocommit=0;
 
10241
set @@autocommit = 0;
10242
10242
DROP TABLE t1;
10243
10243
680;
10244
 
create table t1 (n int not null primary key) ;
10245
 
set autocommit=0;
 
10244
create table t1 (n int not null primary key);
 
10245
set @@autocommit = 0;
10246
10246
insert into t1 values (4);
10247
10247
rollback;
10248
10248
select n, "after rollback" from t1;
10261
10261
n       after commit
10262
10262
4       after commit
10263
10263
5       after commit
10264
 
set autocommit=1;
 
10264
set @@autocommit = 1;
10265
10265
insert into t1 values (6);
10266
10266
insert into t1 values (4);
10267
10267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10270
10270
4
10271
10271
5
10272
10272
6
10273
 
set autocommit=0;
 
10273
set @@autocommit = 0;
10274
10274
DROP TABLE t1;
10275
10275
679;
10276
 
create table t1 (n int not null primary key) ;
10277
 
set autocommit=0;
 
10276
create table t1 (n int not null primary key);
 
10277
set @@autocommit = 0;
10278
10278
insert into t1 values (4);
10279
10279
rollback;
10280
10280
select n, "after rollback" from t1;
10293
10293
n       after commit
10294
10294
4       after commit
10295
10295
5       after commit
10296
 
set autocommit=1;
 
10296
set @@autocommit = 1;
10297
10297
insert into t1 values (6);
10298
10298
insert into t1 values (4);
10299
10299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10302
10302
4
10303
10303
5
10304
10304
6
10305
 
set autocommit=0;
 
10305
set @@autocommit = 0;
10306
10306
DROP TABLE t1;
10307
10307
678;
10308
 
create table t1 (n int not null primary key) ;
10309
 
set autocommit=0;
 
10308
create table t1 (n int not null primary key);
 
10309
set @@autocommit = 0;
10310
10310
insert into t1 values (4);
10311
10311
rollback;
10312
10312
select n, "after rollback" from t1;
10325
10325
n       after commit
10326
10326
4       after commit
10327
10327
5       after commit
10328
 
set autocommit=1;
 
10328
set @@autocommit = 1;
10329
10329
insert into t1 values (6);
10330
10330
insert into t1 values (4);
10331
10331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10334
10334
4
10335
10335
5
10336
10336
6
10337
 
set autocommit=0;
 
10337
set @@autocommit = 0;
10338
10338
DROP TABLE t1;
10339
10339
677;
10340
 
create table t1 (n int not null primary key) ;
10341
 
set autocommit=0;
 
10340
create table t1 (n int not null primary key);
 
10341
set @@autocommit = 0;
10342
10342
insert into t1 values (4);
10343
10343
rollback;
10344
10344
select n, "after rollback" from t1;
10357
10357
n       after commit
10358
10358
4       after commit
10359
10359
5       after commit
10360
 
set autocommit=1;
 
10360
set @@autocommit = 1;
10361
10361
insert into t1 values (6);
10362
10362
insert into t1 values (4);
10363
10363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10366
10366
4
10367
10367
5
10368
10368
6
10369
 
set autocommit=0;
 
10369
set @@autocommit = 0;
10370
10370
DROP TABLE t1;
10371
10371
676;
10372
 
create table t1 (n int not null primary key) ;
10373
 
set autocommit=0;
 
10372
create table t1 (n int not null primary key);
 
10373
set @@autocommit = 0;
10374
10374
insert into t1 values (4);
10375
10375
rollback;
10376
10376
select n, "after rollback" from t1;
10389
10389
n       after commit
10390
10390
4       after commit
10391
10391
5       after commit
10392
 
set autocommit=1;
 
10392
set @@autocommit = 1;
10393
10393
insert into t1 values (6);
10394
10394
insert into t1 values (4);
10395
10395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10398
10398
4
10399
10399
5
10400
10400
6
10401
 
set autocommit=0;
 
10401
set @@autocommit = 0;
10402
10402
DROP TABLE t1;
10403
10403
675;
10404
 
create table t1 (n int not null primary key) ;
10405
 
set autocommit=0;
 
10404
create table t1 (n int not null primary key);
 
10405
set @@autocommit = 0;
10406
10406
insert into t1 values (4);
10407
10407
rollback;
10408
10408
select n, "after rollback" from t1;
10421
10421
n       after commit
10422
10422
4       after commit
10423
10423
5       after commit
10424
 
set autocommit=1;
 
10424
set @@autocommit = 1;
10425
10425
insert into t1 values (6);
10426
10426
insert into t1 values (4);
10427
10427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10430
10430
4
10431
10431
5
10432
10432
6
10433
 
set autocommit=0;
 
10433
set @@autocommit = 0;
10434
10434
DROP TABLE t1;
10435
10435
674;
10436
 
create table t1 (n int not null primary key) ;
10437
 
set autocommit=0;
 
10436
create table t1 (n int not null primary key);
 
10437
set @@autocommit = 0;
10438
10438
insert into t1 values (4);
10439
10439
rollback;
10440
10440
select n, "after rollback" from t1;
10453
10453
n       after commit
10454
10454
4       after commit
10455
10455
5       after commit
10456
 
set autocommit=1;
 
10456
set @@autocommit = 1;
10457
10457
insert into t1 values (6);
10458
10458
insert into t1 values (4);
10459
10459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10462
10462
4
10463
10463
5
10464
10464
6
10465
 
set autocommit=0;
 
10465
set @@autocommit = 0;
10466
10466
DROP TABLE t1;
10467
10467
673;
10468
 
create table t1 (n int not null primary key) ;
10469
 
set autocommit=0;
 
10468
create table t1 (n int not null primary key);
 
10469
set @@autocommit = 0;
10470
10470
insert into t1 values (4);
10471
10471
rollback;
10472
10472
select n, "after rollback" from t1;
10485
10485
n       after commit
10486
10486
4       after commit
10487
10487
5       after commit
10488
 
set autocommit=1;
 
10488
set @@autocommit = 1;
10489
10489
insert into t1 values (6);
10490
10490
insert into t1 values (4);
10491
10491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10494
10494
4
10495
10495
5
10496
10496
6
10497
 
set autocommit=0;
 
10497
set @@autocommit = 0;
10498
10498
DROP TABLE t1;
10499
10499
672;
10500
 
create table t1 (n int not null primary key) ;
10501
 
set autocommit=0;
 
10500
create table t1 (n int not null primary key);
 
10501
set @@autocommit = 0;
10502
10502
insert into t1 values (4);
10503
10503
rollback;
10504
10504
select n, "after rollback" from t1;
10517
10517
n       after commit
10518
10518
4       after commit
10519
10519
5       after commit
10520
 
set autocommit=1;
 
10520
set @@autocommit = 1;
10521
10521
insert into t1 values (6);
10522
10522
insert into t1 values (4);
10523
10523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10526
10526
4
10527
10527
5
10528
10528
6
10529
 
set autocommit=0;
 
10529
set @@autocommit = 0;
10530
10530
DROP TABLE t1;
10531
10531
671;
10532
 
create table t1 (n int not null primary key) ;
10533
 
set autocommit=0;
 
10532
create table t1 (n int not null primary key);
 
10533
set @@autocommit = 0;
10534
10534
insert into t1 values (4);
10535
10535
rollback;
10536
10536
select n, "after rollback" from t1;
10549
10549
n       after commit
10550
10550
4       after commit
10551
10551
5       after commit
10552
 
set autocommit=1;
 
10552
set @@autocommit = 1;
10553
10553
insert into t1 values (6);
10554
10554
insert into t1 values (4);
10555
10555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10558
10558
4
10559
10559
5
10560
10560
6
10561
 
set autocommit=0;
 
10561
set @@autocommit = 0;
10562
10562
DROP TABLE t1;
10563
10563
670;
10564
 
create table t1 (n int not null primary key) ;
10565
 
set autocommit=0;
 
10564
create table t1 (n int not null primary key);
 
10565
set @@autocommit = 0;
10566
10566
insert into t1 values (4);
10567
10567
rollback;
10568
10568
select n, "after rollback" from t1;
10581
10581
n       after commit
10582
10582
4       after commit
10583
10583
5       after commit
10584
 
set autocommit=1;
 
10584
set @@autocommit = 1;
10585
10585
insert into t1 values (6);
10586
10586
insert into t1 values (4);
10587
10587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10590
10590
4
10591
10591
5
10592
10592
6
10593
 
set autocommit=0;
 
10593
set @@autocommit = 0;
10594
10594
DROP TABLE t1;
10595
10595
669;
10596
 
create table t1 (n int not null primary key) ;
10597
 
set autocommit=0;
 
10596
create table t1 (n int not null primary key);
 
10597
set @@autocommit = 0;
10598
10598
insert into t1 values (4);
10599
10599
rollback;
10600
10600
select n, "after rollback" from t1;
10613
10613
n       after commit
10614
10614
4       after commit
10615
10615
5       after commit
10616
 
set autocommit=1;
 
10616
set @@autocommit = 1;
10617
10617
insert into t1 values (6);
10618
10618
insert into t1 values (4);
10619
10619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10622
10622
4
10623
10623
5
10624
10624
6
10625
 
set autocommit=0;
 
10625
set @@autocommit = 0;
10626
10626
DROP TABLE t1;
10627
10627
668;
10628
 
create table t1 (n int not null primary key) ;
10629
 
set autocommit=0;
 
10628
create table t1 (n int not null primary key);
 
10629
set @@autocommit = 0;
10630
10630
insert into t1 values (4);
10631
10631
rollback;
10632
10632
select n, "after rollback" from t1;
10645
10645
n       after commit
10646
10646
4       after commit
10647
10647
5       after commit
10648
 
set autocommit=1;
 
10648
set @@autocommit = 1;
10649
10649
insert into t1 values (6);
10650
10650
insert into t1 values (4);
10651
10651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10654
10654
4
10655
10655
5
10656
10656
6
10657
 
set autocommit=0;
 
10657
set @@autocommit = 0;
10658
10658
DROP TABLE t1;
10659
10659
667;
10660
 
create table t1 (n int not null primary key) ;
10661
 
set autocommit=0;
 
10660
create table t1 (n int not null primary key);
 
10661
set @@autocommit = 0;
10662
10662
insert into t1 values (4);
10663
10663
rollback;
10664
10664
select n, "after rollback" from t1;
10677
10677
n       after commit
10678
10678
4       after commit
10679
10679
5       after commit
10680
 
set autocommit=1;
 
10680
set @@autocommit = 1;
10681
10681
insert into t1 values (6);
10682
10682
insert into t1 values (4);
10683
10683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10686
10686
4
10687
10687
5
10688
10688
6
10689
 
set autocommit=0;
 
10689
set @@autocommit = 0;
10690
10690
DROP TABLE t1;
10691
10691
666;
10692
 
create table t1 (n int not null primary key) ;
10693
 
set autocommit=0;
 
10692
create table t1 (n int not null primary key);
 
10693
set @@autocommit = 0;
10694
10694
insert into t1 values (4);
10695
10695
rollback;
10696
10696
select n, "after rollback" from t1;
10709
10709
n       after commit
10710
10710
4       after commit
10711
10711
5       after commit
10712
 
set autocommit=1;
 
10712
set @@autocommit = 1;
10713
10713
insert into t1 values (6);
10714
10714
insert into t1 values (4);
10715
10715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10718
10718
4
10719
10719
5
10720
10720
6
10721
 
set autocommit=0;
 
10721
set @@autocommit = 0;
10722
10722
DROP TABLE t1;
10723
10723
665;
10724
 
create table t1 (n int not null primary key) ;
10725
 
set autocommit=0;
 
10724
create table t1 (n int not null primary key);
 
10725
set @@autocommit = 0;
10726
10726
insert into t1 values (4);
10727
10727
rollback;
10728
10728
select n, "after rollback" from t1;
10741
10741
n       after commit
10742
10742
4       after commit
10743
10743
5       after commit
10744
 
set autocommit=1;
 
10744
set @@autocommit = 1;
10745
10745
insert into t1 values (6);
10746
10746
insert into t1 values (4);
10747
10747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10750
10750
4
10751
10751
5
10752
10752
6
10753
 
set autocommit=0;
 
10753
set @@autocommit = 0;
10754
10754
DROP TABLE t1;
10755
10755
664;
10756
 
create table t1 (n int not null primary key) ;
10757
 
set autocommit=0;
 
10756
create table t1 (n int not null primary key);
 
10757
set @@autocommit = 0;
10758
10758
insert into t1 values (4);
10759
10759
rollback;
10760
10760
select n, "after rollback" from t1;
10773
10773
n       after commit
10774
10774
4       after commit
10775
10775
5       after commit
10776
 
set autocommit=1;
 
10776
set @@autocommit = 1;
10777
10777
insert into t1 values (6);
10778
10778
insert into t1 values (4);
10779
10779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10782
10782
4
10783
10783
5
10784
10784
6
10785
 
set autocommit=0;
 
10785
set @@autocommit = 0;
10786
10786
DROP TABLE t1;
10787
10787
663;
10788
 
create table t1 (n int not null primary key) ;
10789
 
set autocommit=0;
 
10788
create table t1 (n int not null primary key);
 
10789
set @@autocommit = 0;
10790
10790
insert into t1 values (4);
10791
10791
rollback;
10792
10792
select n, "after rollback" from t1;
10805
10805
n       after commit
10806
10806
4       after commit
10807
10807
5       after commit
10808
 
set autocommit=1;
 
10808
set @@autocommit = 1;
10809
10809
insert into t1 values (6);
10810
10810
insert into t1 values (4);
10811
10811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10814
10814
4
10815
10815
5
10816
10816
6
10817
 
set autocommit=0;
 
10817
set @@autocommit = 0;
10818
10818
DROP TABLE t1;
10819
10819
662;
10820
 
create table t1 (n int not null primary key) ;
10821
 
set autocommit=0;
 
10820
create table t1 (n int not null primary key);
 
10821
set @@autocommit = 0;
10822
10822
insert into t1 values (4);
10823
10823
rollback;
10824
10824
select n, "after rollback" from t1;
10837
10837
n       after commit
10838
10838
4       after commit
10839
10839
5       after commit
10840
 
set autocommit=1;
 
10840
set @@autocommit = 1;
10841
10841
insert into t1 values (6);
10842
10842
insert into t1 values (4);
10843
10843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10846
10846
4
10847
10847
5
10848
10848
6
10849
 
set autocommit=0;
 
10849
set @@autocommit = 0;
10850
10850
DROP TABLE t1;
10851
10851
661;
10852
 
create table t1 (n int not null primary key) ;
10853
 
set autocommit=0;
 
10852
create table t1 (n int not null primary key);
 
10853
set @@autocommit = 0;
10854
10854
insert into t1 values (4);
10855
10855
rollback;
10856
10856
select n, "after rollback" from t1;
10869
10869
n       after commit
10870
10870
4       after commit
10871
10871
5       after commit
10872
 
set autocommit=1;
 
10872
set @@autocommit = 1;
10873
10873
insert into t1 values (6);
10874
10874
insert into t1 values (4);
10875
10875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10878
10878
4
10879
10879
5
10880
10880
6
10881
 
set autocommit=0;
 
10881
set @@autocommit = 0;
10882
10882
DROP TABLE t1;
10883
10883
660;
10884
 
create table t1 (n int not null primary key) ;
10885
 
set autocommit=0;
 
10884
create table t1 (n int not null primary key);
 
10885
set @@autocommit = 0;
10886
10886
insert into t1 values (4);
10887
10887
rollback;
10888
10888
select n, "after rollback" from t1;
10901
10901
n       after commit
10902
10902
4       after commit
10903
10903
5       after commit
10904
 
set autocommit=1;
 
10904
set @@autocommit = 1;
10905
10905
insert into t1 values (6);
10906
10906
insert into t1 values (4);
10907
10907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10910
10910
4
10911
10911
5
10912
10912
6
10913
 
set autocommit=0;
 
10913
set @@autocommit = 0;
10914
10914
DROP TABLE t1;
10915
10915
659;
10916
 
create table t1 (n int not null primary key) ;
10917
 
set autocommit=0;
 
10916
create table t1 (n int not null primary key);
 
10917
set @@autocommit = 0;
10918
10918
insert into t1 values (4);
10919
10919
rollback;
10920
10920
select n, "after rollback" from t1;
10933
10933
n       after commit
10934
10934
4       after commit
10935
10935
5       after commit
10936
 
set autocommit=1;
 
10936
set @@autocommit = 1;
10937
10937
insert into t1 values (6);
10938
10938
insert into t1 values (4);
10939
10939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10942
10942
4
10943
10943
5
10944
10944
6
10945
 
set autocommit=0;
 
10945
set @@autocommit = 0;
10946
10946
DROP TABLE t1;
10947
10947
658;
10948
 
create table t1 (n int not null primary key) ;
10949
 
set autocommit=0;
 
10948
create table t1 (n int not null primary key);
 
10949
set @@autocommit = 0;
10950
10950
insert into t1 values (4);
10951
10951
rollback;
10952
10952
select n, "after rollback" from t1;
10965
10965
n       after commit
10966
10966
4       after commit
10967
10967
5       after commit
10968
 
set autocommit=1;
 
10968
set @@autocommit = 1;
10969
10969
insert into t1 values (6);
10970
10970
insert into t1 values (4);
10971
10971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
10974
10974
4
10975
10975
5
10976
10976
6
10977
 
set autocommit=0;
 
10977
set @@autocommit = 0;
10978
10978
DROP TABLE t1;
10979
10979
657;
10980
 
create table t1 (n int not null primary key) ;
10981
 
set autocommit=0;
 
10980
create table t1 (n int not null primary key);
 
10981
set @@autocommit = 0;
10982
10982
insert into t1 values (4);
10983
10983
rollback;
10984
10984
select n, "after rollback" from t1;
10997
10997
n       after commit
10998
10998
4       after commit
10999
10999
5       after commit
11000
 
set autocommit=1;
 
11000
set @@autocommit = 1;
11001
11001
insert into t1 values (6);
11002
11002
insert into t1 values (4);
11003
11003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11006
11006
4
11007
11007
5
11008
11008
6
11009
 
set autocommit=0;
 
11009
set @@autocommit = 0;
11010
11010
DROP TABLE t1;
11011
11011
656;
11012
 
create table t1 (n int not null primary key) ;
11013
 
set autocommit=0;
 
11012
create table t1 (n int not null primary key);
 
11013
set @@autocommit = 0;
11014
11014
insert into t1 values (4);
11015
11015
rollback;
11016
11016
select n, "after rollback" from t1;
11029
11029
n       after commit
11030
11030
4       after commit
11031
11031
5       after commit
11032
 
set autocommit=1;
 
11032
set @@autocommit = 1;
11033
11033
insert into t1 values (6);
11034
11034
insert into t1 values (4);
11035
11035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11038
11038
4
11039
11039
5
11040
11040
6
11041
 
set autocommit=0;
 
11041
set @@autocommit = 0;
11042
11042
DROP TABLE t1;
11043
11043
655;
11044
 
create table t1 (n int not null primary key) ;
11045
 
set autocommit=0;
 
11044
create table t1 (n int not null primary key);
 
11045
set @@autocommit = 0;
11046
11046
insert into t1 values (4);
11047
11047
rollback;
11048
11048
select n, "after rollback" from t1;
11061
11061
n       after commit
11062
11062
4       after commit
11063
11063
5       after commit
11064
 
set autocommit=1;
 
11064
set @@autocommit = 1;
11065
11065
insert into t1 values (6);
11066
11066
insert into t1 values (4);
11067
11067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11070
11070
4
11071
11071
5
11072
11072
6
11073
 
set autocommit=0;
 
11073
set @@autocommit = 0;
11074
11074
DROP TABLE t1;
11075
11075
654;
11076
 
create table t1 (n int not null primary key) ;
11077
 
set autocommit=0;
 
11076
create table t1 (n int not null primary key);
 
11077
set @@autocommit = 0;
11078
11078
insert into t1 values (4);
11079
11079
rollback;
11080
11080
select n, "after rollback" from t1;
11093
11093
n       after commit
11094
11094
4       after commit
11095
11095
5       after commit
11096
 
set autocommit=1;
 
11096
set @@autocommit = 1;
11097
11097
insert into t1 values (6);
11098
11098
insert into t1 values (4);
11099
11099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11102
11102
4
11103
11103
5
11104
11104
6
11105
 
set autocommit=0;
 
11105
set @@autocommit = 0;
11106
11106
DROP TABLE t1;
11107
11107
653;
11108
 
create table t1 (n int not null primary key) ;
11109
 
set autocommit=0;
 
11108
create table t1 (n int not null primary key);
 
11109
set @@autocommit = 0;
11110
11110
insert into t1 values (4);
11111
11111
rollback;
11112
11112
select n, "after rollback" from t1;
11125
11125
n       after commit
11126
11126
4       after commit
11127
11127
5       after commit
11128
 
set autocommit=1;
 
11128
set @@autocommit = 1;
11129
11129
insert into t1 values (6);
11130
11130
insert into t1 values (4);
11131
11131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11134
11134
4
11135
11135
5
11136
11136
6
11137
 
set autocommit=0;
 
11137
set @@autocommit = 0;
11138
11138
DROP TABLE t1;
11139
11139
652;
11140
 
create table t1 (n int not null primary key) ;
11141
 
set autocommit=0;
 
11140
create table t1 (n int not null primary key);
 
11141
set @@autocommit = 0;
11142
11142
insert into t1 values (4);
11143
11143
rollback;
11144
11144
select n, "after rollback" from t1;
11157
11157
n       after commit
11158
11158
4       after commit
11159
11159
5       after commit
11160
 
set autocommit=1;
 
11160
set @@autocommit = 1;
11161
11161
insert into t1 values (6);
11162
11162
insert into t1 values (4);
11163
11163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11166
11166
4
11167
11167
5
11168
11168
6
11169
 
set autocommit=0;
 
11169
set @@autocommit = 0;
11170
11170
DROP TABLE t1;
11171
11171
651;
11172
 
create table t1 (n int not null primary key) ;
11173
 
set autocommit=0;
 
11172
create table t1 (n int not null primary key);
 
11173
set @@autocommit = 0;
11174
11174
insert into t1 values (4);
11175
11175
rollback;
11176
11176
select n, "after rollback" from t1;
11189
11189
n       after commit
11190
11190
4       after commit
11191
11191
5       after commit
11192
 
set autocommit=1;
 
11192
set @@autocommit = 1;
11193
11193
insert into t1 values (6);
11194
11194
insert into t1 values (4);
11195
11195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11198
11198
4
11199
11199
5
11200
11200
6
11201
 
set autocommit=0;
 
11201
set @@autocommit = 0;
11202
11202
DROP TABLE t1;
11203
11203
650;
11204
 
create table t1 (n int not null primary key) ;
11205
 
set autocommit=0;
 
11204
create table t1 (n int not null primary key);
 
11205
set @@autocommit = 0;
11206
11206
insert into t1 values (4);
11207
11207
rollback;
11208
11208
select n, "after rollback" from t1;
11221
11221
n       after commit
11222
11222
4       after commit
11223
11223
5       after commit
11224
 
set autocommit=1;
 
11224
set @@autocommit = 1;
11225
11225
insert into t1 values (6);
11226
11226
insert into t1 values (4);
11227
11227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11230
11230
4
11231
11231
5
11232
11232
6
11233
 
set autocommit=0;
 
11233
set @@autocommit = 0;
11234
11234
DROP TABLE t1;
11235
11235
649;
11236
 
create table t1 (n int not null primary key) ;
11237
 
set autocommit=0;
 
11236
create table t1 (n int not null primary key);
 
11237
set @@autocommit = 0;
11238
11238
insert into t1 values (4);
11239
11239
rollback;
11240
11240
select n, "after rollback" from t1;
11253
11253
n       after commit
11254
11254
4       after commit
11255
11255
5       after commit
11256
 
set autocommit=1;
 
11256
set @@autocommit = 1;
11257
11257
insert into t1 values (6);
11258
11258
insert into t1 values (4);
11259
11259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11262
11262
4
11263
11263
5
11264
11264
6
11265
 
set autocommit=0;
 
11265
set @@autocommit = 0;
11266
11266
DROP TABLE t1;
11267
11267
648;
11268
 
create table t1 (n int not null primary key) ;
11269
 
set autocommit=0;
 
11268
create table t1 (n int not null primary key);
 
11269
set @@autocommit = 0;
11270
11270
insert into t1 values (4);
11271
11271
rollback;
11272
11272
select n, "after rollback" from t1;
11285
11285
n       after commit
11286
11286
4       after commit
11287
11287
5       after commit
11288
 
set autocommit=1;
 
11288
set @@autocommit = 1;
11289
11289
insert into t1 values (6);
11290
11290
insert into t1 values (4);
11291
11291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11294
11294
4
11295
11295
5
11296
11296
6
11297
 
set autocommit=0;
 
11297
set @@autocommit = 0;
11298
11298
DROP TABLE t1;
11299
11299
647;
11300
 
create table t1 (n int not null primary key) ;
11301
 
set autocommit=0;
 
11300
create table t1 (n int not null primary key);
 
11301
set @@autocommit = 0;
11302
11302
insert into t1 values (4);
11303
11303
rollback;
11304
11304
select n, "after rollback" from t1;
11317
11317
n       after commit
11318
11318
4       after commit
11319
11319
5       after commit
11320
 
set autocommit=1;
 
11320
set @@autocommit = 1;
11321
11321
insert into t1 values (6);
11322
11322
insert into t1 values (4);
11323
11323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11326
11326
4
11327
11327
5
11328
11328
6
11329
 
set autocommit=0;
 
11329
set @@autocommit = 0;
11330
11330
DROP TABLE t1;
11331
11331
646;
11332
 
create table t1 (n int not null primary key) ;
11333
 
set autocommit=0;
 
11332
create table t1 (n int not null primary key);
 
11333
set @@autocommit = 0;
11334
11334
insert into t1 values (4);
11335
11335
rollback;
11336
11336
select n, "after rollback" from t1;
11349
11349
n       after commit
11350
11350
4       after commit
11351
11351
5       after commit
11352
 
set autocommit=1;
 
11352
set @@autocommit = 1;
11353
11353
insert into t1 values (6);
11354
11354
insert into t1 values (4);
11355
11355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11358
11358
4
11359
11359
5
11360
11360
6
11361
 
set autocommit=0;
 
11361
set @@autocommit = 0;
11362
11362
DROP TABLE t1;
11363
11363
645;
11364
 
create table t1 (n int not null primary key) ;
11365
 
set autocommit=0;
 
11364
create table t1 (n int not null primary key);
 
11365
set @@autocommit = 0;
11366
11366
insert into t1 values (4);
11367
11367
rollback;
11368
11368
select n, "after rollback" from t1;
11381
11381
n       after commit
11382
11382
4       after commit
11383
11383
5       after commit
11384
 
set autocommit=1;
 
11384
set @@autocommit = 1;
11385
11385
insert into t1 values (6);
11386
11386
insert into t1 values (4);
11387
11387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11390
11390
4
11391
11391
5
11392
11392
6
11393
 
set autocommit=0;
 
11393
set @@autocommit = 0;
11394
11394
DROP TABLE t1;
11395
11395
644;
11396
 
create table t1 (n int not null primary key) ;
11397
 
set autocommit=0;
 
11396
create table t1 (n int not null primary key);
 
11397
set @@autocommit = 0;
11398
11398
insert into t1 values (4);
11399
11399
rollback;
11400
11400
select n, "after rollback" from t1;
11413
11413
n       after commit
11414
11414
4       after commit
11415
11415
5       after commit
11416
 
set autocommit=1;
 
11416
set @@autocommit = 1;
11417
11417
insert into t1 values (6);
11418
11418
insert into t1 values (4);
11419
11419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11422
11422
4
11423
11423
5
11424
11424
6
11425
 
set autocommit=0;
 
11425
set @@autocommit = 0;
11426
11426
DROP TABLE t1;
11427
11427
643;
11428
 
create table t1 (n int not null primary key) ;
11429
 
set autocommit=0;
 
11428
create table t1 (n int not null primary key);
 
11429
set @@autocommit = 0;
11430
11430
insert into t1 values (4);
11431
11431
rollback;
11432
11432
select n, "after rollback" from t1;
11445
11445
n       after commit
11446
11446
4       after commit
11447
11447
5       after commit
11448
 
set autocommit=1;
 
11448
set @@autocommit = 1;
11449
11449
insert into t1 values (6);
11450
11450
insert into t1 values (4);
11451
11451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11454
11454
4
11455
11455
5
11456
11456
6
11457
 
set autocommit=0;
 
11457
set @@autocommit = 0;
11458
11458
DROP TABLE t1;
11459
11459
642;
11460
 
create table t1 (n int not null primary key) ;
11461
 
set autocommit=0;
 
11460
create table t1 (n int not null primary key);
 
11461
set @@autocommit = 0;
11462
11462
insert into t1 values (4);
11463
11463
rollback;
11464
11464
select n, "after rollback" from t1;
11477
11477
n       after commit
11478
11478
4       after commit
11479
11479
5       after commit
11480
 
set autocommit=1;
 
11480
set @@autocommit = 1;
11481
11481
insert into t1 values (6);
11482
11482
insert into t1 values (4);
11483
11483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11486
11486
4
11487
11487
5
11488
11488
6
11489
 
set autocommit=0;
 
11489
set @@autocommit = 0;
11490
11490
DROP TABLE t1;
11491
11491
641;
11492
 
create table t1 (n int not null primary key) ;
11493
 
set autocommit=0;
 
11492
create table t1 (n int not null primary key);
 
11493
set @@autocommit = 0;
11494
11494
insert into t1 values (4);
11495
11495
rollback;
11496
11496
select n, "after rollback" from t1;
11509
11509
n       after commit
11510
11510
4       after commit
11511
11511
5       after commit
11512
 
set autocommit=1;
 
11512
set @@autocommit = 1;
11513
11513
insert into t1 values (6);
11514
11514
insert into t1 values (4);
11515
11515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11518
11518
4
11519
11519
5
11520
11520
6
11521
 
set autocommit=0;
 
11521
set @@autocommit = 0;
11522
11522
DROP TABLE t1;
11523
11523
640;
11524
 
create table t1 (n int not null primary key) ;
11525
 
set autocommit=0;
 
11524
create table t1 (n int not null primary key);
 
11525
set @@autocommit = 0;
11526
11526
insert into t1 values (4);
11527
11527
rollback;
11528
11528
select n, "after rollback" from t1;
11541
11541
n       after commit
11542
11542
4       after commit
11543
11543
5       after commit
11544
 
set autocommit=1;
 
11544
set @@autocommit = 1;
11545
11545
insert into t1 values (6);
11546
11546
insert into t1 values (4);
11547
11547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11550
11550
4
11551
11551
5
11552
11552
6
11553
 
set autocommit=0;
 
11553
set @@autocommit = 0;
11554
11554
DROP TABLE t1;
11555
11555
639;
11556
 
create table t1 (n int not null primary key) ;
11557
 
set autocommit=0;
 
11556
create table t1 (n int not null primary key);
 
11557
set @@autocommit = 0;
11558
11558
insert into t1 values (4);
11559
11559
rollback;
11560
11560
select n, "after rollback" from t1;
11573
11573
n       after commit
11574
11574
4       after commit
11575
11575
5       after commit
11576
 
set autocommit=1;
 
11576
set @@autocommit = 1;
11577
11577
insert into t1 values (6);
11578
11578
insert into t1 values (4);
11579
11579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11582
11582
4
11583
11583
5
11584
11584
6
11585
 
set autocommit=0;
 
11585
set @@autocommit = 0;
11586
11586
DROP TABLE t1;
11587
11587
638;
11588
 
create table t1 (n int not null primary key) ;
11589
 
set autocommit=0;
 
11588
create table t1 (n int not null primary key);
 
11589
set @@autocommit = 0;
11590
11590
insert into t1 values (4);
11591
11591
rollback;
11592
11592
select n, "after rollback" from t1;
11605
11605
n       after commit
11606
11606
4       after commit
11607
11607
5       after commit
11608
 
set autocommit=1;
 
11608
set @@autocommit = 1;
11609
11609
insert into t1 values (6);
11610
11610
insert into t1 values (4);
11611
11611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11614
11614
4
11615
11615
5
11616
11616
6
11617
 
set autocommit=0;
 
11617
set @@autocommit = 0;
11618
11618
DROP TABLE t1;
11619
11619
637;
11620
 
create table t1 (n int not null primary key) ;
11621
 
set autocommit=0;
 
11620
create table t1 (n int not null primary key);
 
11621
set @@autocommit = 0;
11622
11622
insert into t1 values (4);
11623
11623
rollback;
11624
11624
select n, "after rollback" from t1;
11637
11637
n       after commit
11638
11638
4       after commit
11639
11639
5       after commit
11640
 
set autocommit=1;
 
11640
set @@autocommit = 1;
11641
11641
insert into t1 values (6);
11642
11642
insert into t1 values (4);
11643
11643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11646
11646
4
11647
11647
5
11648
11648
6
11649
 
set autocommit=0;
 
11649
set @@autocommit = 0;
11650
11650
DROP TABLE t1;
11651
11651
636;
11652
 
create table t1 (n int not null primary key) ;
11653
 
set autocommit=0;
 
11652
create table t1 (n int not null primary key);
 
11653
set @@autocommit = 0;
11654
11654
insert into t1 values (4);
11655
11655
rollback;
11656
11656
select n, "after rollback" from t1;
11669
11669
n       after commit
11670
11670
4       after commit
11671
11671
5       after commit
11672
 
set autocommit=1;
 
11672
set @@autocommit = 1;
11673
11673
insert into t1 values (6);
11674
11674
insert into t1 values (4);
11675
11675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11678
11678
4
11679
11679
5
11680
11680
6
11681
 
set autocommit=0;
 
11681
set @@autocommit = 0;
11682
11682
DROP TABLE t1;
11683
11683
635;
11684
 
create table t1 (n int not null primary key) ;
11685
 
set autocommit=0;
 
11684
create table t1 (n int not null primary key);
 
11685
set @@autocommit = 0;
11686
11686
insert into t1 values (4);
11687
11687
rollback;
11688
11688
select n, "after rollback" from t1;
11701
11701
n       after commit
11702
11702
4       after commit
11703
11703
5       after commit
11704
 
set autocommit=1;
 
11704
set @@autocommit = 1;
11705
11705
insert into t1 values (6);
11706
11706
insert into t1 values (4);
11707
11707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11710
11710
4
11711
11711
5
11712
11712
6
11713
 
set autocommit=0;
 
11713
set @@autocommit = 0;
11714
11714
DROP TABLE t1;
11715
11715
634;
11716
 
create table t1 (n int not null primary key) ;
11717
 
set autocommit=0;
 
11716
create table t1 (n int not null primary key);
 
11717
set @@autocommit = 0;
11718
11718
insert into t1 values (4);
11719
11719
rollback;
11720
11720
select n, "after rollback" from t1;
11733
11733
n       after commit
11734
11734
4       after commit
11735
11735
5       after commit
11736
 
set autocommit=1;
 
11736
set @@autocommit = 1;
11737
11737
insert into t1 values (6);
11738
11738
insert into t1 values (4);
11739
11739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11742
11742
4
11743
11743
5
11744
11744
6
11745
 
set autocommit=0;
 
11745
set @@autocommit = 0;
11746
11746
DROP TABLE t1;
11747
11747
633;
11748
 
create table t1 (n int not null primary key) ;
11749
 
set autocommit=0;
 
11748
create table t1 (n int not null primary key);
 
11749
set @@autocommit = 0;
11750
11750
insert into t1 values (4);
11751
11751
rollback;
11752
11752
select n, "after rollback" from t1;
11765
11765
n       after commit
11766
11766
4       after commit
11767
11767
5       after commit
11768
 
set autocommit=1;
 
11768
set @@autocommit = 1;
11769
11769
insert into t1 values (6);
11770
11770
insert into t1 values (4);
11771
11771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11774
11774
4
11775
11775
5
11776
11776
6
11777
 
set autocommit=0;
 
11777
set @@autocommit = 0;
11778
11778
DROP TABLE t1;
11779
11779
632;
11780
 
create table t1 (n int not null primary key) ;
11781
 
set autocommit=0;
 
11780
create table t1 (n int not null primary key);
 
11781
set @@autocommit = 0;
11782
11782
insert into t1 values (4);
11783
11783
rollback;
11784
11784
select n, "after rollback" from t1;
11797
11797
n       after commit
11798
11798
4       after commit
11799
11799
5       after commit
11800
 
set autocommit=1;
 
11800
set @@autocommit = 1;
11801
11801
insert into t1 values (6);
11802
11802
insert into t1 values (4);
11803
11803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11806
11806
4
11807
11807
5
11808
11808
6
11809
 
set autocommit=0;
 
11809
set @@autocommit = 0;
11810
11810
DROP TABLE t1;
11811
11811
631;
11812
 
create table t1 (n int not null primary key) ;
11813
 
set autocommit=0;
 
11812
create table t1 (n int not null primary key);
 
11813
set @@autocommit = 0;
11814
11814
insert into t1 values (4);
11815
11815
rollback;
11816
11816
select n, "after rollback" from t1;
11829
11829
n       after commit
11830
11830
4       after commit
11831
11831
5       after commit
11832
 
set autocommit=1;
 
11832
set @@autocommit = 1;
11833
11833
insert into t1 values (6);
11834
11834
insert into t1 values (4);
11835
11835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11838
11838
4
11839
11839
5
11840
11840
6
11841
 
set autocommit=0;
 
11841
set @@autocommit = 0;
11842
11842
DROP TABLE t1;
11843
11843
630;
11844
 
create table t1 (n int not null primary key) ;
11845
 
set autocommit=0;
 
11844
create table t1 (n int not null primary key);
 
11845
set @@autocommit = 0;
11846
11846
insert into t1 values (4);
11847
11847
rollback;
11848
11848
select n, "after rollback" from t1;
11861
11861
n       after commit
11862
11862
4       after commit
11863
11863
5       after commit
11864
 
set autocommit=1;
 
11864
set @@autocommit = 1;
11865
11865
insert into t1 values (6);
11866
11866
insert into t1 values (4);
11867
11867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11870
11870
4
11871
11871
5
11872
11872
6
11873
 
set autocommit=0;
 
11873
set @@autocommit = 0;
11874
11874
DROP TABLE t1;
11875
11875
629;
11876
 
create table t1 (n int not null primary key) ;
11877
 
set autocommit=0;
 
11876
create table t1 (n int not null primary key);
 
11877
set @@autocommit = 0;
11878
11878
insert into t1 values (4);
11879
11879
rollback;
11880
11880
select n, "after rollback" from t1;
11893
11893
n       after commit
11894
11894
4       after commit
11895
11895
5       after commit
11896
 
set autocommit=1;
 
11896
set @@autocommit = 1;
11897
11897
insert into t1 values (6);
11898
11898
insert into t1 values (4);
11899
11899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11902
11902
4
11903
11903
5
11904
11904
6
11905
 
set autocommit=0;
 
11905
set @@autocommit = 0;
11906
11906
DROP TABLE t1;
11907
11907
628;
11908
 
create table t1 (n int not null primary key) ;
11909
 
set autocommit=0;
 
11908
create table t1 (n int not null primary key);
 
11909
set @@autocommit = 0;
11910
11910
insert into t1 values (4);
11911
11911
rollback;
11912
11912
select n, "after rollback" from t1;
11925
11925
n       after commit
11926
11926
4       after commit
11927
11927
5       after commit
11928
 
set autocommit=1;
 
11928
set @@autocommit = 1;
11929
11929
insert into t1 values (6);
11930
11930
insert into t1 values (4);
11931
11931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11934
11934
4
11935
11935
5
11936
11936
6
11937
 
set autocommit=0;
 
11937
set @@autocommit = 0;
11938
11938
DROP TABLE t1;
11939
11939
627;
11940
 
create table t1 (n int not null primary key) ;
11941
 
set autocommit=0;
 
11940
create table t1 (n int not null primary key);
 
11941
set @@autocommit = 0;
11942
11942
insert into t1 values (4);
11943
11943
rollback;
11944
11944
select n, "after rollback" from t1;
11957
11957
n       after commit
11958
11958
4       after commit
11959
11959
5       after commit
11960
 
set autocommit=1;
 
11960
set @@autocommit = 1;
11961
11961
insert into t1 values (6);
11962
11962
insert into t1 values (4);
11963
11963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11966
11966
4
11967
11967
5
11968
11968
6
11969
 
set autocommit=0;
 
11969
set @@autocommit = 0;
11970
11970
DROP TABLE t1;
11971
11971
626;
11972
 
create table t1 (n int not null primary key) ;
11973
 
set autocommit=0;
 
11972
create table t1 (n int not null primary key);
 
11973
set @@autocommit = 0;
11974
11974
insert into t1 values (4);
11975
11975
rollback;
11976
11976
select n, "after rollback" from t1;
11989
11989
n       after commit
11990
11990
4       after commit
11991
11991
5       after commit
11992
 
set autocommit=1;
 
11992
set @@autocommit = 1;
11993
11993
insert into t1 values (6);
11994
11994
insert into t1 values (4);
11995
11995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
11998
11998
4
11999
11999
5
12000
12000
6
12001
 
set autocommit=0;
 
12001
set @@autocommit = 0;
12002
12002
DROP TABLE t1;
12003
12003
625;
12004
 
create table t1 (n int not null primary key) ;
12005
 
set autocommit=0;
 
12004
create table t1 (n int not null primary key);
 
12005
set @@autocommit = 0;
12006
12006
insert into t1 values (4);
12007
12007
rollback;
12008
12008
select n, "after rollback" from t1;
12021
12021
n       after commit
12022
12022
4       after commit
12023
12023
5       after commit
12024
 
set autocommit=1;
 
12024
set @@autocommit = 1;
12025
12025
insert into t1 values (6);
12026
12026
insert into t1 values (4);
12027
12027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12030
12030
4
12031
12031
5
12032
12032
6
12033
 
set autocommit=0;
 
12033
set @@autocommit = 0;
12034
12034
DROP TABLE t1;
12035
12035
624;
12036
 
create table t1 (n int not null primary key) ;
12037
 
set autocommit=0;
 
12036
create table t1 (n int not null primary key);
 
12037
set @@autocommit = 0;
12038
12038
insert into t1 values (4);
12039
12039
rollback;
12040
12040
select n, "after rollback" from t1;
12053
12053
n       after commit
12054
12054
4       after commit
12055
12055
5       after commit
12056
 
set autocommit=1;
 
12056
set @@autocommit = 1;
12057
12057
insert into t1 values (6);
12058
12058
insert into t1 values (4);
12059
12059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12062
12062
4
12063
12063
5
12064
12064
6
12065
 
set autocommit=0;
 
12065
set @@autocommit = 0;
12066
12066
DROP TABLE t1;
12067
12067
623;
12068
 
create table t1 (n int not null primary key) ;
12069
 
set autocommit=0;
 
12068
create table t1 (n int not null primary key);
 
12069
set @@autocommit = 0;
12070
12070
insert into t1 values (4);
12071
12071
rollback;
12072
12072
select n, "after rollback" from t1;
12085
12085
n       after commit
12086
12086
4       after commit
12087
12087
5       after commit
12088
 
set autocommit=1;
 
12088
set @@autocommit = 1;
12089
12089
insert into t1 values (6);
12090
12090
insert into t1 values (4);
12091
12091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12094
12094
4
12095
12095
5
12096
12096
6
12097
 
set autocommit=0;
 
12097
set @@autocommit = 0;
12098
12098
DROP TABLE t1;
12099
12099
622;
12100
 
create table t1 (n int not null primary key) ;
12101
 
set autocommit=0;
 
12100
create table t1 (n int not null primary key);
 
12101
set @@autocommit = 0;
12102
12102
insert into t1 values (4);
12103
12103
rollback;
12104
12104
select n, "after rollback" from t1;
12117
12117
n       after commit
12118
12118
4       after commit
12119
12119
5       after commit
12120
 
set autocommit=1;
 
12120
set @@autocommit = 1;
12121
12121
insert into t1 values (6);
12122
12122
insert into t1 values (4);
12123
12123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12126
12126
4
12127
12127
5
12128
12128
6
12129
 
set autocommit=0;
 
12129
set @@autocommit = 0;
12130
12130
DROP TABLE t1;
12131
12131
621;
12132
 
create table t1 (n int not null primary key) ;
12133
 
set autocommit=0;
 
12132
create table t1 (n int not null primary key);
 
12133
set @@autocommit = 0;
12134
12134
insert into t1 values (4);
12135
12135
rollback;
12136
12136
select n, "after rollback" from t1;
12149
12149
n       after commit
12150
12150
4       after commit
12151
12151
5       after commit
12152
 
set autocommit=1;
 
12152
set @@autocommit = 1;
12153
12153
insert into t1 values (6);
12154
12154
insert into t1 values (4);
12155
12155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12158
12158
4
12159
12159
5
12160
12160
6
12161
 
set autocommit=0;
 
12161
set @@autocommit = 0;
12162
12162
DROP TABLE t1;
12163
12163
620;
12164
 
create table t1 (n int not null primary key) ;
12165
 
set autocommit=0;
 
12164
create table t1 (n int not null primary key);
 
12165
set @@autocommit = 0;
12166
12166
insert into t1 values (4);
12167
12167
rollback;
12168
12168
select n, "after rollback" from t1;
12181
12181
n       after commit
12182
12182
4       after commit
12183
12183
5       after commit
12184
 
set autocommit=1;
 
12184
set @@autocommit = 1;
12185
12185
insert into t1 values (6);
12186
12186
insert into t1 values (4);
12187
12187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12190
12190
4
12191
12191
5
12192
12192
6
12193
 
set autocommit=0;
 
12193
set @@autocommit = 0;
12194
12194
DROP TABLE t1;
12195
12195
619;
12196
 
create table t1 (n int not null primary key) ;
12197
 
set autocommit=0;
 
12196
create table t1 (n int not null primary key);
 
12197
set @@autocommit = 0;
12198
12198
insert into t1 values (4);
12199
12199
rollback;
12200
12200
select n, "after rollback" from t1;
12213
12213
n       after commit
12214
12214
4       after commit
12215
12215
5       after commit
12216
 
set autocommit=1;
 
12216
set @@autocommit = 1;
12217
12217
insert into t1 values (6);
12218
12218
insert into t1 values (4);
12219
12219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12222
12222
4
12223
12223
5
12224
12224
6
12225
 
set autocommit=0;
 
12225
set @@autocommit = 0;
12226
12226
DROP TABLE t1;
12227
12227
618;
12228
 
create table t1 (n int not null primary key) ;
12229
 
set autocommit=0;
 
12228
create table t1 (n int not null primary key);
 
12229
set @@autocommit = 0;
12230
12230
insert into t1 values (4);
12231
12231
rollback;
12232
12232
select n, "after rollback" from t1;
12245
12245
n       after commit
12246
12246
4       after commit
12247
12247
5       after commit
12248
 
set autocommit=1;
 
12248
set @@autocommit = 1;
12249
12249
insert into t1 values (6);
12250
12250
insert into t1 values (4);
12251
12251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12254
12254
4
12255
12255
5
12256
12256
6
12257
 
set autocommit=0;
 
12257
set @@autocommit = 0;
12258
12258
DROP TABLE t1;
12259
12259
617;
12260
 
create table t1 (n int not null primary key) ;
12261
 
set autocommit=0;
 
12260
create table t1 (n int not null primary key);
 
12261
set @@autocommit = 0;
12262
12262
insert into t1 values (4);
12263
12263
rollback;
12264
12264
select n, "after rollback" from t1;
12277
12277
n       after commit
12278
12278
4       after commit
12279
12279
5       after commit
12280
 
set autocommit=1;
 
12280
set @@autocommit = 1;
12281
12281
insert into t1 values (6);
12282
12282
insert into t1 values (4);
12283
12283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12286
12286
4
12287
12287
5
12288
12288
6
12289
 
set autocommit=0;
 
12289
set @@autocommit = 0;
12290
12290
DROP TABLE t1;
12291
12291
616;
12292
 
create table t1 (n int not null primary key) ;
12293
 
set autocommit=0;
 
12292
create table t1 (n int not null primary key);
 
12293
set @@autocommit = 0;
12294
12294
insert into t1 values (4);
12295
12295
rollback;
12296
12296
select n, "after rollback" from t1;
12309
12309
n       after commit
12310
12310
4       after commit
12311
12311
5       after commit
12312
 
set autocommit=1;
 
12312
set @@autocommit = 1;
12313
12313
insert into t1 values (6);
12314
12314
insert into t1 values (4);
12315
12315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12318
12318
4
12319
12319
5
12320
12320
6
12321
 
set autocommit=0;
 
12321
set @@autocommit = 0;
12322
12322
DROP TABLE t1;
12323
12323
615;
12324
 
create table t1 (n int not null primary key) ;
12325
 
set autocommit=0;
 
12324
create table t1 (n int not null primary key);
 
12325
set @@autocommit = 0;
12326
12326
insert into t1 values (4);
12327
12327
rollback;
12328
12328
select n, "after rollback" from t1;
12341
12341
n       after commit
12342
12342
4       after commit
12343
12343
5       after commit
12344
 
set autocommit=1;
 
12344
set @@autocommit = 1;
12345
12345
insert into t1 values (6);
12346
12346
insert into t1 values (4);
12347
12347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12350
12350
4
12351
12351
5
12352
12352
6
12353
 
set autocommit=0;
 
12353
set @@autocommit = 0;
12354
12354
DROP TABLE t1;
12355
12355
614;
12356
 
create table t1 (n int not null primary key) ;
12357
 
set autocommit=0;
 
12356
create table t1 (n int not null primary key);
 
12357
set @@autocommit = 0;
12358
12358
insert into t1 values (4);
12359
12359
rollback;
12360
12360
select n, "after rollback" from t1;
12373
12373
n       after commit
12374
12374
4       after commit
12375
12375
5       after commit
12376
 
set autocommit=1;
 
12376
set @@autocommit = 1;
12377
12377
insert into t1 values (6);
12378
12378
insert into t1 values (4);
12379
12379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12382
12382
4
12383
12383
5
12384
12384
6
12385
 
set autocommit=0;
 
12385
set @@autocommit = 0;
12386
12386
DROP TABLE t1;
12387
12387
613;
12388
 
create table t1 (n int not null primary key) ;
12389
 
set autocommit=0;
 
12388
create table t1 (n int not null primary key);
 
12389
set @@autocommit = 0;
12390
12390
insert into t1 values (4);
12391
12391
rollback;
12392
12392
select n, "after rollback" from t1;
12405
12405
n       after commit
12406
12406
4       after commit
12407
12407
5       after commit
12408
 
set autocommit=1;
 
12408
set @@autocommit = 1;
12409
12409
insert into t1 values (6);
12410
12410
insert into t1 values (4);
12411
12411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12414
12414
4
12415
12415
5
12416
12416
6
12417
 
set autocommit=0;
 
12417
set @@autocommit = 0;
12418
12418
DROP TABLE t1;
12419
12419
612;
12420
 
create table t1 (n int not null primary key) ;
12421
 
set autocommit=0;
 
12420
create table t1 (n int not null primary key);
 
12421
set @@autocommit = 0;
12422
12422
insert into t1 values (4);
12423
12423
rollback;
12424
12424
select n, "after rollback" from t1;
12437
12437
n       after commit
12438
12438
4       after commit
12439
12439
5       after commit
12440
 
set autocommit=1;
 
12440
set @@autocommit = 1;
12441
12441
insert into t1 values (6);
12442
12442
insert into t1 values (4);
12443
12443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12446
12446
4
12447
12447
5
12448
12448
6
12449
 
set autocommit=0;
 
12449
set @@autocommit = 0;
12450
12450
DROP TABLE t1;
12451
12451
611;
12452
 
create table t1 (n int not null primary key) ;
12453
 
set autocommit=0;
 
12452
create table t1 (n int not null primary key);
 
12453
set @@autocommit = 0;
12454
12454
insert into t1 values (4);
12455
12455
rollback;
12456
12456
select n, "after rollback" from t1;
12469
12469
n       after commit
12470
12470
4       after commit
12471
12471
5       after commit
12472
 
set autocommit=1;
 
12472
set @@autocommit = 1;
12473
12473
insert into t1 values (6);
12474
12474
insert into t1 values (4);
12475
12475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12478
12478
4
12479
12479
5
12480
12480
6
12481
 
set autocommit=0;
 
12481
set @@autocommit = 0;
12482
12482
DROP TABLE t1;
12483
12483
610;
12484
 
create table t1 (n int not null primary key) ;
12485
 
set autocommit=0;
 
12484
create table t1 (n int not null primary key);
 
12485
set @@autocommit = 0;
12486
12486
insert into t1 values (4);
12487
12487
rollback;
12488
12488
select n, "after rollback" from t1;
12501
12501
n       after commit
12502
12502
4       after commit
12503
12503
5       after commit
12504
 
set autocommit=1;
 
12504
set @@autocommit = 1;
12505
12505
insert into t1 values (6);
12506
12506
insert into t1 values (4);
12507
12507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12510
12510
4
12511
12511
5
12512
12512
6
12513
 
set autocommit=0;
 
12513
set @@autocommit = 0;
12514
12514
DROP TABLE t1;
12515
12515
609;
12516
 
create table t1 (n int not null primary key) ;
12517
 
set autocommit=0;
 
12516
create table t1 (n int not null primary key);
 
12517
set @@autocommit = 0;
12518
12518
insert into t1 values (4);
12519
12519
rollback;
12520
12520
select n, "after rollback" from t1;
12533
12533
n       after commit
12534
12534
4       after commit
12535
12535
5       after commit
12536
 
set autocommit=1;
 
12536
set @@autocommit = 1;
12537
12537
insert into t1 values (6);
12538
12538
insert into t1 values (4);
12539
12539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12542
12542
4
12543
12543
5
12544
12544
6
12545
 
set autocommit=0;
 
12545
set @@autocommit = 0;
12546
12546
DROP TABLE t1;
12547
12547
608;
12548
 
create table t1 (n int not null primary key) ;
12549
 
set autocommit=0;
 
12548
create table t1 (n int not null primary key);
 
12549
set @@autocommit = 0;
12550
12550
insert into t1 values (4);
12551
12551
rollback;
12552
12552
select n, "after rollback" from t1;
12565
12565
n       after commit
12566
12566
4       after commit
12567
12567
5       after commit
12568
 
set autocommit=1;
 
12568
set @@autocommit = 1;
12569
12569
insert into t1 values (6);
12570
12570
insert into t1 values (4);
12571
12571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12574
12574
4
12575
12575
5
12576
12576
6
12577
 
set autocommit=0;
 
12577
set @@autocommit = 0;
12578
12578
DROP TABLE t1;
12579
12579
607;
12580
 
create table t1 (n int not null primary key) ;
12581
 
set autocommit=0;
 
12580
create table t1 (n int not null primary key);
 
12581
set @@autocommit = 0;
12582
12582
insert into t1 values (4);
12583
12583
rollback;
12584
12584
select n, "after rollback" from t1;
12597
12597
n       after commit
12598
12598
4       after commit
12599
12599
5       after commit
12600
 
set autocommit=1;
 
12600
set @@autocommit = 1;
12601
12601
insert into t1 values (6);
12602
12602
insert into t1 values (4);
12603
12603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12606
12606
4
12607
12607
5
12608
12608
6
12609
 
set autocommit=0;
 
12609
set @@autocommit = 0;
12610
12610
DROP TABLE t1;
12611
12611
606;
12612
 
create table t1 (n int not null primary key) ;
12613
 
set autocommit=0;
 
12612
create table t1 (n int not null primary key);
 
12613
set @@autocommit = 0;
12614
12614
insert into t1 values (4);
12615
12615
rollback;
12616
12616
select n, "after rollback" from t1;
12629
12629
n       after commit
12630
12630
4       after commit
12631
12631
5       after commit
12632
 
set autocommit=1;
 
12632
set @@autocommit = 1;
12633
12633
insert into t1 values (6);
12634
12634
insert into t1 values (4);
12635
12635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12638
12638
4
12639
12639
5
12640
12640
6
12641
 
set autocommit=0;
 
12641
set @@autocommit = 0;
12642
12642
DROP TABLE t1;
12643
12643
605;
12644
 
create table t1 (n int not null primary key) ;
12645
 
set autocommit=0;
 
12644
create table t1 (n int not null primary key);
 
12645
set @@autocommit = 0;
12646
12646
insert into t1 values (4);
12647
12647
rollback;
12648
12648
select n, "after rollback" from t1;
12661
12661
n       after commit
12662
12662
4       after commit
12663
12663
5       after commit
12664
 
set autocommit=1;
 
12664
set @@autocommit = 1;
12665
12665
insert into t1 values (6);
12666
12666
insert into t1 values (4);
12667
12667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12670
12670
4
12671
12671
5
12672
12672
6
12673
 
set autocommit=0;
 
12673
set @@autocommit = 0;
12674
12674
DROP TABLE t1;
12675
12675
604;
12676
 
create table t1 (n int not null primary key) ;
12677
 
set autocommit=0;
 
12676
create table t1 (n int not null primary key);
 
12677
set @@autocommit = 0;
12678
12678
insert into t1 values (4);
12679
12679
rollback;
12680
12680
select n, "after rollback" from t1;
12693
12693
n       after commit
12694
12694
4       after commit
12695
12695
5       after commit
12696
 
set autocommit=1;
 
12696
set @@autocommit = 1;
12697
12697
insert into t1 values (6);
12698
12698
insert into t1 values (4);
12699
12699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12702
12702
4
12703
12703
5
12704
12704
6
12705
 
set autocommit=0;
 
12705
set @@autocommit = 0;
12706
12706
DROP TABLE t1;
12707
12707
603;
12708
 
create table t1 (n int not null primary key) ;
12709
 
set autocommit=0;
 
12708
create table t1 (n int not null primary key);
 
12709
set @@autocommit = 0;
12710
12710
insert into t1 values (4);
12711
12711
rollback;
12712
12712
select n, "after rollback" from t1;
12725
12725
n       after commit
12726
12726
4       after commit
12727
12727
5       after commit
12728
 
set autocommit=1;
 
12728
set @@autocommit = 1;
12729
12729
insert into t1 values (6);
12730
12730
insert into t1 values (4);
12731
12731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12734
12734
4
12735
12735
5
12736
12736
6
12737
 
set autocommit=0;
 
12737
set @@autocommit = 0;
12738
12738
DROP TABLE t1;
12739
12739
602;
12740
 
create table t1 (n int not null primary key) ;
12741
 
set autocommit=0;
 
12740
create table t1 (n int not null primary key);
 
12741
set @@autocommit = 0;
12742
12742
insert into t1 values (4);
12743
12743
rollback;
12744
12744
select n, "after rollback" from t1;
12757
12757
n       after commit
12758
12758
4       after commit
12759
12759
5       after commit
12760
 
set autocommit=1;
 
12760
set @@autocommit = 1;
12761
12761
insert into t1 values (6);
12762
12762
insert into t1 values (4);
12763
12763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12766
12766
4
12767
12767
5
12768
12768
6
12769
 
set autocommit=0;
 
12769
set @@autocommit = 0;
12770
12770
DROP TABLE t1;
12771
12771
601;
12772
 
create table t1 (n int not null primary key) ;
12773
 
set autocommit=0;
 
12772
create table t1 (n int not null primary key);
 
12773
set @@autocommit = 0;
12774
12774
insert into t1 values (4);
12775
12775
rollback;
12776
12776
select n, "after rollback" from t1;
12789
12789
n       after commit
12790
12790
4       after commit
12791
12791
5       after commit
12792
 
set autocommit=1;
 
12792
set @@autocommit = 1;
12793
12793
insert into t1 values (6);
12794
12794
insert into t1 values (4);
12795
12795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12798
12798
4
12799
12799
5
12800
12800
6
12801
 
set autocommit=0;
 
12801
set @@autocommit = 0;
12802
12802
DROP TABLE t1;
12803
12803
600;
12804
 
create table t1 (n int not null primary key) ;
12805
 
set autocommit=0;
 
12804
create table t1 (n int not null primary key);
 
12805
set @@autocommit = 0;
12806
12806
insert into t1 values (4);
12807
12807
rollback;
12808
12808
select n, "after rollback" from t1;
12821
12821
n       after commit
12822
12822
4       after commit
12823
12823
5       after commit
12824
 
set autocommit=1;
 
12824
set @@autocommit = 1;
12825
12825
insert into t1 values (6);
12826
12826
insert into t1 values (4);
12827
12827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12830
12830
4
12831
12831
5
12832
12832
6
12833
 
set autocommit=0;
 
12833
set @@autocommit = 0;
12834
12834
DROP TABLE t1;
12835
12835
599;
12836
 
create table t1 (n int not null primary key) ;
12837
 
set autocommit=0;
 
12836
create table t1 (n int not null primary key);
 
12837
set @@autocommit = 0;
12838
12838
insert into t1 values (4);
12839
12839
rollback;
12840
12840
select n, "after rollback" from t1;
12853
12853
n       after commit
12854
12854
4       after commit
12855
12855
5       after commit
12856
 
set autocommit=1;
 
12856
set @@autocommit = 1;
12857
12857
insert into t1 values (6);
12858
12858
insert into t1 values (4);
12859
12859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12862
12862
4
12863
12863
5
12864
12864
6
12865
 
set autocommit=0;
 
12865
set @@autocommit = 0;
12866
12866
DROP TABLE t1;
12867
12867
598;
12868
 
create table t1 (n int not null primary key) ;
12869
 
set autocommit=0;
 
12868
create table t1 (n int not null primary key);
 
12869
set @@autocommit = 0;
12870
12870
insert into t1 values (4);
12871
12871
rollback;
12872
12872
select n, "after rollback" from t1;
12885
12885
n       after commit
12886
12886
4       after commit
12887
12887
5       after commit
12888
 
set autocommit=1;
 
12888
set @@autocommit = 1;
12889
12889
insert into t1 values (6);
12890
12890
insert into t1 values (4);
12891
12891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12894
12894
4
12895
12895
5
12896
12896
6
12897
 
set autocommit=0;
 
12897
set @@autocommit = 0;
12898
12898
DROP TABLE t1;
12899
12899
597;
12900
 
create table t1 (n int not null primary key) ;
12901
 
set autocommit=0;
 
12900
create table t1 (n int not null primary key);
 
12901
set @@autocommit = 0;
12902
12902
insert into t1 values (4);
12903
12903
rollback;
12904
12904
select n, "after rollback" from t1;
12917
12917
n       after commit
12918
12918
4       after commit
12919
12919
5       after commit
12920
 
set autocommit=1;
 
12920
set @@autocommit = 1;
12921
12921
insert into t1 values (6);
12922
12922
insert into t1 values (4);
12923
12923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12926
12926
4
12927
12927
5
12928
12928
6
12929
 
set autocommit=0;
 
12929
set @@autocommit = 0;
12930
12930
DROP TABLE t1;
12931
12931
596;
12932
 
create table t1 (n int not null primary key) ;
12933
 
set autocommit=0;
 
12932
create table t1 (n int not null primary key);
 
12933
set @@autocommit = 0;
12934
12934
insert into t1 values (4);
12935
12935
rollback;
12936
12936
select n, "after rollback" from t1;
12949
12949
n       after commit
12950
12950
4       after commit
12951
12951
5       after commit
12952
 
set autocommit=1;
 
12952
set @@autocommit = 1;
12953
12953
insert into t1 values (6);
12954
12954
insert into t1 values (4);
12955
12955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12958
12958
4
12959
12959
5
12960
12960
6
12961
 
set autocommit=0;
 
12961
set @@autocommit = 0;
12962
12962
DROP TABLE t1;
12963
12963
595;
12964
 
create table t1 (n int not null primary key) ;
12965
 
set autocommit=0;
 
12964
create table t1 (n int not null primary key);
 
12965
set @@autocommit = 0;
12966
12966
insert into t1 values (4);
12967
12967
rollback;
12968
12968
select n, "after rollback" from t1;
12981
12981
n       after commit
12982
12982
4       after commit
12983
12983
5       after commit
12984
 
set autocommit=1;
 
12984
set @@autocommit = 1;
12985
12985
insert into t1 values (6);
12986
12986
insert into t1 values (4);
12987
12987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
12990
12990
4
12991
12991
5
12992
12992
6
12993
 
set autocommit=0;
 
12993
set @@autocommit = 0;
12994
12994
DROP TABLE t1;
12995
12995
594;
12996
 
create table t1 (n int not null primary key) ;
12997
 
set autocommit=0;
 
12996
create table t1 (n int not null primary key);
 
12997
set @@autocommit = 0;
12998
12998
insert into t1 values (4);
12999
12999
rollback;
13000
13000
select n, "after rollback" from t1;
13013
13013
n       after commit
13014
13014
4       after commit
13015
13015
5       after commit
13016
 
set autocommit=1;
 
13016
set @@autocommit = 1;
13017
13017
insert into t1 values (6);
13018
13018
insert into t1 values (4);
13019
13019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13022
13022
4
13023
13023
5
13024
13024
6
13025
 
set autocommit=0;
 
13025
set @@autocommit = 0;
13026
13026
DROP TABLE t1;
13027
13027
593;
13028
 
create table t1 (n int not null primary key) ;
13029
 
set autocommit=0;
 
13028
create table t1 (n int not null primary key);
 
13029
set @@autocommit = 0;
13030
13030
insert into t1 values (4);
13031
13031
rollback;
13032
13032
select n, "after rollback" from t1;
13045
13045
n       after commit
13046
13046
4       after commit
13047
13047
5       after commit
13048
 
set autocommit=1;
 
13048
set @@autocommit = 1;
13049
13049
insert into t1 values (6);
13050
13050
insert into t1 values (4);
13051
13051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13054
13054
4
13055
13055
5
13056
13056
6
13057
 
set autocommit=0;
 
13057
set @@autocommit = 0;
13058
13058
DROP TABLE t1;
13059
13059
592;
13060
 
create table t1 (n int not null primary key) ;
13061
 
set autocommit=0;
 
13060
create table t1 (n int not null primary key);
 
13061
set @@autocommit = 0;
13062
13062
insert into t1 values (4);
13063
13063
rollback;
13064
13064
select n, "after rollback" from t1;
13077
13077
n       after commit
13078
13078
4       after commit
13079
13079
5       after commit
13080
 
set autocommit=1;
 
13080
set @@autocommit = 1;
13081
13081
insert into t1 values (6);
13082
13082
insert into t1 values (4);
13083
13083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13086
13086
4
13087
13087
5
13088
13088
6
13089
 
set autocommit=0;
 
13089
set @@autocommit = 0;
13090
13090
DROP TABLE t1;
13091
13091
591;
13092
 
create table t1 (n int not null primary key) ;
13093
 
set autocommit=0;
 
13092
create table t1 (n int not null primary key);
 
13093
set @@autocommit = 0;
13094
13094
insert into t1 values (4);
13095
13095
rollback;
13096
13096
select n, "after rollback" from t1;
13109
13109
n       after commit
13110
13110
4       after commit
13111
13111
5       after commit
13112
 
set autocommit=1;
 
13112
set @@autocommit = 1;
13113
13113
insert into t1 values (6);
13114
13114
insert into t1 values (4);
13115
13115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13118
13118
4
13119
13119
5
13120
13120
6
13121
 
set autocommit=0;
 
13121
set @@autocommit = 0;
13122
13122
DROP TABLE t1;
13123
13123
590;
13124
 
create table t1 (n int not null primary key) ;
13125
 
set autocommit=0;
 
13124
create table t1 (n int not null primary key);
 
13125
set @@autocommit = 0;
13126
13126
insert into t1 values (4);
13127
13127
rollback;
13128
13128
select n, "after rollback" from t1;
13141
13141
n       after commit
13142
13142
4       after commit
13143
13143
5       after commit
13144
 
set autocommit=1;
 
13144
set @@autocommit = 1;
13145
13145
insert into t1 values (6);
13146
13146
insert into t1 values (4);
13147
13147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13150
13150
4
13151
13151
5
13152
13152
6
13153
 
set autocommit=0;
 
13153
set @@autocommit = 0;
13154
13154
DROP TABLE t1;
13155
13155
589;
13156
 
create table t1 (n int not null primary key) ;
13157
 
set autocommit=0;
 
13156
create table t1 (n int not null primary key);
 
13157
set @@autocommit = 0;
13158
13158
insert into t1 values (4);
13159
13159
rollback;
13160
13160
select n, "after rollback" from t1;
13173
13173
n       after commit
13174
13174
4       after commit
13175
13175
5       after commit
13176
 
set autocommit=1;
 
13176
set @@autocommit = 1;
13177
13177
insert into t1 values (6);
13178
13178
insert into t1 values (4);
13179
13179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13182
13182
4
13183
13183
5
13184
13184
6
13185
 
set autocommit=0;
 
13185
set @@autocommit = 0;
13186
13186
DROP TABLE t1;
13187
13187
588;
13188
 
create table t1 (n int not null primary key) ;
13189
 
set autocommit=0;
 
13188
create table t1 (n int not null primary key);
 
13189
set @@autocommit = 0;
13190
13190
insert into t1 values (4);
13191
13191
rollback;
13192
13192
select n, "after rollback" from t1;
13205
13205
n       after commit
13206
13206
4       after commit
13207
13207
5       after commit
13208
 
set autocommit=1;
 
13208
set @@autocommit = 1;
13209
13209
insert into t1 values (6);
13210
13210
insert into t1 values (4);
13211
13211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13214
13214
4
13215
13215
5
13216
13216
6
13217
 
set autocommit=0;
 
13217
set @@autocommit = 0;
13218
13218
DROP TABLE t1;
13219
13219
587;
13220
 
create table t1 (n int not null primary key) ;
13221
 
set autocommit=0;
 
13220
create table t1 (n int not null primary key);
 
13221
set @@autocommit = 0;
13222
13222
insert into t1 values (4);
13223
13223
rollback;
13224
13224
select n, "after rollback" from t1;
13237
13237
n       after commit
13238
13238
4       after commit
13239
13239
5       after commit
13240
 
set autocommit=1;
 
13240
set @@autocommit = 1;
13241
13241
insert into t1 values (6);
13242
13242
insert into t1 values (4);
13243
13243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13246
13246
4
13247
13247
5
13248
13248
6
13249
 
set autocommit=0;
 
13249
set @@autocommit = 0;
13250
13250
DROP TABLE t1;
13251
13251
586;
13252
 
create table t1 (n int not null primary key) ;
13253
 
set autocommit=0;
 
13252
create table t1 (n int not null primary key);
 
13253
set @@autocommit = 0;
13254
13254
insert into t1 values (4);
13255
13255
rollback;
13256
13256
select n, "after rollback" from t1;
13269
13269
n       after commit
13270
13270
4       after commit
13271
13271
5       after commit
13272
 
set autocommit=1;
 
13272
set @@autocommit = 1;
13273
13273
insert into t1 values (6);
13274
13274
insert into t1 values (4);
13275
13275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13278
13278
4
13279
13279
5
13280
13280
6
13281
 
set autocommit=0;
 
13281
set @@autocommit = 0;
13282
13282
DROP TABLE t1;
13283
13283
585;
13284
 
create table t1 (n int not null primary key) ;
13285
 
set autocommit=0;
 
13284
create table t1 (n int not null primary key);
 
13285
set @@autocommit = 0;
13286
13286
insert into t1 values (4);
13287
13287
rollback;
13288
13288
select n, "after rollback" from t1;
13301
13301
n       after commit
13302
13302
4       after commit
13303
13303
5       after commit
13304
 
set autocommit=1;
 
13304
set @@autocommit = 1;
13305
13305
insert into t1 values (6);
13306
13306
insert into t1 values (4);
13307
13307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13310
13310
4
13311
13311
5
13312
13312
6
13313
 
set autocommit=0;
 
13313
set @@autocommit = 0;
13314
13314
DROP TABLE t1;
13315
13315
584;
13316
 
create table t1 (n int not null primary key) ;
13317
 
set autocommit=0;
 
13316
create table t1 (n int not null primary key);
 
13317
set @@autocommit = 0;
13318
13318
insert into t1 values (4);
13319
13319
rollback;
13320
13320
select n, "after rollback" from t1;
13333
13333
n       after commit
13334
13334
4       after commit
13335
13335
5       after commit
13336
 
set autocommit=1;
 
13336
set @@autocommit = 1;
13337
13337
insert into t1 values (6);
13338
13338
insert into t1 values (4);
13339
13339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13342
13342
4
13343
13343
5
13344
13344
6
13345
 
set autocommit=0;
 
13345
set @@autocommit = 0;
13346
13346
DROP TABLE t1;
13347
13347
583;
13348
 
create table t1 (n int not null primary key) ;
13349
 
set autocommit=0;
 
13348
create table t1 (n int not null primary key);
 
13349
set @@autocommit = 0;
13350
13350
insert into t1 values (4);
13351
13351
rollback;
13352
13352
select n, "after rollback" from t1;
13365
13365
n       after commit
13366
13366
4       after commit
13367
13367
5       after commit
13368
 
set autocommit=1;
 
13368
set @@autocommit = 1;
13369
13369
insert into t1 values (6);
13370
13370
insert into t1 values (4);
13371
13371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13374
13374
4
13375
13375
5
13376
13376
6
13377
 
set autocommit=0;
 
13377
set @@autocommit = 0;
13378
13378
DROP TABLE t1;
13379
13379
582;
13380
 
create table t1 (n int not null primary key) ;
13381
 
set autocommit=0;
 
13380
create table t1 (n int not null primary key);
 
13381
set @@autocommit = 0;
13382
13382
insert into t1 values (4);
13383
13383
rollback;
13384
13384
select n, "after rollback" from t1;
13397
13397
n       after commit
13398
13398
4       after commit
13399
13399
5       after commit
13400
 
set autocommit=1;
 
13400
set @@autocommit = 1;
13401
13401
insert into t1 values (6);
13402
13402
insert into t1 values (4);
13403
13403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13406
13406
4
13407
13407
5
13408
13408
6
13409
 
set autocommit=0;
 
13409
set @@autocommit = 0;
13410
13410
DROP TABLE t1;
13411
13411
581;
13412
 
create table t1 (n int not null primary key) ;
13413
 
set autocommit=0;
 
13412
create table t1 (n int not null primary key);
 
13413
set @@autocommit = 0;
13414
13414
insert into t1 values (4);
13415
13415
rollback;
13416
13416
select n, "after rollback" from t1;
13429
13429
n       after commit
13430
13430
4       after commit
13431
13431
5       after commit
13432
 
set autocommit=1;
 
13432
set @@autocommit = 1;
13433
13433
insert into t1 values (6);
13434
13434
insert into t1 values (4);
13435
13435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13438
13438
4
13439
13439
5
13440
13440
6
13441
 
set autocommit=0;
 
13441
set @@autocommit = 0;
13442
13442
DROP TABLE t1;
13443
13443
580;
13444
 
create table t1 (n int not null primary key) ;
13445
 
set autocommit=0;
 
13444
create table t1 (n int not null primary key);
 
13445
set @@autocommit = 0;
13446
13446
insert into t1 values (4);
13447
13447
rollback;
13448
13448
select n, "after rollback" from t1;
13461
13461
n       after commit
13462
13462
4       after commit
13463
13463
5       after commit
13464
 
set autocommit=1;
 
13464
set @@autocommit = 1;
13465
13465
insert into t1 values (6);
13466
13466
insert into t1 values (4);
13467
13467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13470
13470
4
13471
13471
5
13472
13472
6
13473
 
set autocommit=0;
 
13473
set @@autocommit = 0;
13474
13474
DROP TABLE t1;
13475
13475
579;
13476
 
create table t1 (n int not null primary key) ;
13477
 
set autocommit=0;
 
13476
create table t1 (n int not null primary key);
 
13477
set @@autocommit = 0;
13478
13478
insert into t1 values (4);
13479
13479
rollback;
13480
13480
select n, "after rollback" from t1;
13493
13493
n       after commit
13494
13494
4       after commit
13495
13495
5       after commit
13496
 
set autocommit=1;
 
13496
set @@autocommit = 1;
13497
13497
insert into t1 values (6);
13498
13498
insert into t1 values (4);
13499
13499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13502
13502
4
13503
13503
5
13504
13504
6
13505
 
set autocommit=0;
 
13505
set @@autocommit = 0;
13506
13506
DROP TABLE t1;
13507
13507
578;
13508
 
create table t1 (n int not null primary key) ;
13509
 
set autocommit=0;
 
13508
create table t1 (n int not null primary key);
 
13509
set @@autocommit = 0;
13510
13510
insert into t1 values (4);
13511
13511
rollback;
13512
13512
select n, "after rollback" from t1;
13525
13525
n       after commit
13526
13526
4       after commit
13527
13527
5       after commit
13528
 
set autocommit=1;
 
13528
set @@autocommit = 1;
13529
13529
insert into t1 values (6);
13530
13530
insert into t1 values (4);
13531
13531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13534
13534
4
13535
13535
5
13536
13536
6
13537
 
set autocommit=0;
 
13537
set @@autocommit = 0;
13538
13538
DROP TABLE t1;
13539
13539
577;
13540
 
create table t1 (n int not null primary key) ;
13541
 
set autocommit=0;
 
13540
create table t1 (n int not null primary key);
 
13541
set @@autocommit = 0;
13542
13542
insert into t1 values (4);
13543
13543
rollback;
13544
13544
select n, "after rollback" from t1;
13557
13557
n       after commit
13558
13558
4       after commit
13559
13559
5       after commit
13560
 
set autocommit=1;
 
13560
set @@autocommit = 1;
13561
13561
insert into t1 values (6);
13562
13562
insert into t1 values (4);
13563
13563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13566
13566
4
13567
13567
5
13568
13568
6
13569
 
set autocommit=0;
 
13569
set @@autocommit = 0;
13570
13570
DROP TABLE t1;
13571
13571
576;
13572
 
create table t1 (n int not null primary key) ;
13573
 
set autocommit=0;
 
13572
create table t1 (n int not null primary key);
 
13573
set @@autocommit = 0;
13574
13574
insert into t1 values (4);
13575
13575
rollback;
13576
13576
select n, "after rollback" from t1;
13589
13589
n       after commit
13590
13590
4       after commit
13591
13591
5       after commit
13592
 
set autocommit=1;
 
13592
set @@autocommit = 1;
13593
13593
insert into t1 values (6);
13594
13594
insert into t1 values (4);
13595
13595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13598
13598
4
13599
13599
5
13600
13600
6
13601
 
set autocommit=0;
 
13601
set @@autocommit = 0;
13602
13602
DROP TABLE t1;
13603
13603
575;
13604
 
create table t1 (n int not null primary key) ;
13605
 
set autocommit=0;
 
13604
create table t1 (n int not null primary key);
 
13605
set @@autocommit = 0;
13606
13606
insert into t1 values (4);
13607
13607
rollback;
13608
13608
select n, "after rollback" from t1;
13621
13621
n       after commit
13622
13622
4       after commit
13623
13623
5       after commit
13624
 
set autocommit=1;
 
13624
set @@autocommit = 1;
13625
13625
insert into t1 values (6);
13626
13626
insert into t1 values (4);
13627
13627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13630
13630
4
13631
13631
5
13632
13632
6
13633
 
set autocommit=0;
 
13633
set @@autocommit = 0;
13634
13634
DROP TABLE t1;
13635
13635
574;
13636
 
create table t1 (n int not null primary key) ;
13637
 
set autocommit=0;
 
13636
create table t1 (n int not null primary key);
 
13637
set @@autocommit = 0;
13638
13638
insert into t1 values (4);
13639
13639
rollback;
13640
13640
select n, "after rollback" from t1;
13653
13653
n       after commit
13654
13654
4       after commit
13655
13655
5       after commit
13656
 
set autocommit=1;
 
13656
set @@autocommit = 1;
13657
13657
insert into t1 values (6);
13658
13658
insert into t1 values (4);
13659
13659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13662
13662
4
13663
13663
5
13664
13664
6
13665
 
set autocommit=0;
 
13665
set @@autocommit = 0;
13666
13666
DROP TABLE t1;
13667
13667
573;
13668
 
create table t1 (n int not null primary key) ;
13669
 
set autocommit=0;
 
13668
create table t1 (n int not null primary key);
 
13669
set @@autocommit = 0;
13670
13670
insert into t1 values (4);
13671
13671
rollback;
13672
13672
select n, "after rollback" from t1;
13685
13685
n       after commit
13686
13686
4       after commit
13687
13687
5       after commit
13688
 
set autocommit=1;
 
13688
set @@autocommit = 1;
13689
13689
insert into t1 values (6);
13690
13690
insert into t1 values (4);
13691
13691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13694
13694
4
13695
13695
5
13696
13696
6
13697
 
set autocommit=0;
 
13697
set @@autocommit = 0;
13698
13698
DROP TABLE t1;
13699
13699
572;
13700
 
create table t1 (n int not null primary key) ;
13701
 
set autocommit=0;
 
13700
create table t1 (n int not null primary key);
 
13701
set @@autocommit = 0;
13702
13702
insert into t1 values (4);
13703
13703
rollback;
13704
13704
select n, "after rollback" from t1;
13717
13717
n       after commit
13718
13718
4       after commit
13719
13719
5       after commit
13720
 
set autocommit=1;
 
13720
set @@autocommit = 1;
13721
13721
insert into t1 values (6);
13722
13722
insert into t1 values (4);
13723
13723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13726
13726
4
13727
13727
5
13728
13728
6
13729
 
set autocommit=0;
 
13729
set @@autocommit = 0;
13730
13730
DROP TABLE t1;
13731
13731
571;
13732
 
create table t1 (n int not null primary key) ;
13733
 
set autocommit=0;
 
13732
create table t1 (n int not null primary key);
 
13733
set @@autocommit = 0;
13734
13734
insert into t1 values (4);
13735
13735
rollback;
13736
13736
select n, "after rollback" from t1;
13749
13749
n       after commit
13750
13750
4       after commit
13751
13751
5       after commit
13752
 
set autocommit=1;
 
13752
set @@autocommit = 1;
13753
13753
insert into t1 values (6);
13754
13754
insert into t1 values (4);
13755
13755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13758
13758
4
13759
13759
5
13760
13760
6
13761
 
set autocommit=0;
 
13761
set @@autocommit = 0;
13762
13762
DROP TABLE t1;
13763
13763
570;
13764
 
create table t1 (n int not null primary key) ;
13765
 
set autocommit=0;
 
13764
create table t1 (n int not null primary key);
 
13765
set @@autocommit = 0;
13766
13766
insert into t1 values (4);
13767
13767
rollback;
13768
13768
select n, "after rollback" from t1;
13781
13781
n       after commit
13782
13782
4       after commit
13783
13783
5       after commit
13784
 
set autocommit=1;
 
13784
set @@autocommit = 1;
13785
13785
insert into t1 values (6);
13786
13786
insert into t1 values (4);
13787
13787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13790
13790
4
13791
13791
5
13792
13792
6
13793
 
set autocommit=0;
 
13793
set @@autocommit = 0;
13794
13794
DROP TABLE t1;
13795
13795
569;
13796
 
create table t1 (n int not null primary key) ;
13797
 
set autocommit=0;
 
13796
create table t1 (n int not null primary key);
 
13797
set @@autocommit = 0;
13798
13798
insert into t1 values (4);
13799
13799
rollback;
13800
13800
select n, "after rollback" from t1;
13813
13813
n       after commit
13814
13814
4       after commit
13815
13815
5       after commit
13816
 
set autocommit=1;
 
13816
set @@autocommit = 1;
13817
13817
insert into t1 values (6);
13818
13818
insert into t1 values (4);
13819
13819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13822
13822
4
13823
13823
5
13824
13824
6
13825
 
set autocommit=0;
 
13825
set @@autocommit = 0;
13826
13826
DROP TABLE t1;
13827
13827
568;
13828
 
create table t1 (n int not null primary key) ;
13829
 
set autocommit=0;
 
13828
create table t1 (n int not null primary key);
 
13829
set @@autocommit = 0;
13830
13830
insert into t1 values (4);
13831
13831
rollback;
13832
13832
select n, "after rollback" from t1;
13845
13845
n       after commit
13846
13846
4       after commit
13847
13847
5       after commit
13848
 
set autocommit=1;
 
13848
set @@autocommit = 1;
13849
13849
insert into t1 values (6);
13850
13850
insert into t1 values (4);
13851
13851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13854
13854
4
13855
13855
5
13856
13856
6
13857
 
set autocommit=0;
 
13857
set @@autocommit = 0;
13858
13858
DROP TABLE t1;
13859
13859
567;
13860
 
create table t1 (n int not null primary key) ;
13861
 
set autocommit=0;
 
13860
create table t1 (n int not null primary key);
 
13861
set @@autocommit = 0;
13862
13862
insert into t1 values (4);
13863
13863
rollback;
13864
13864
select n, "after rollback" from t1;
13877
13877
n       after commit
13878
13878
4       after commit
13879
13879
5       after commit
13880
 
set autocommit=1;
 
13880
set @@autocommit = 1;
13881
13881
insert into t1 values (6);
13882
13882
insert into t1 values (4);
13883
13883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13886
13886
4
13887
13887
5
13888
13888
6
13889
 
set autocommit=0;
 
13889
set @@autocommit = 0;
13890
13890
DROP TABLE t1;
13891
13891
566;
13892
 
create table t1 (n int not null primary key) ;
13893
 
set autocommit=0;
 
13892
create table t1 (n int not null primary key);
 
13893
set @@autocommit = 0;
13894
13894
insert into t1 values (4);
13895
13895
rollback;
13896
13896
select n, "after rollback" from t1;
13909
13909
n       after commit
13910
13910
4       after commit
13911
13911
5       after commit
13912
 
set autocommit=1;
 
13912
set @@autocommit = 1;
13913
13913
insert into t1 values (6);
13914
13914
insert into t1 values (4);
13915
13915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13918
13918
4
13919
13919
5
13920
13920
6
13921
 
set autocommit=0;
 
13921
set @@autocommit = 0;
13922
13922
DROP TABLE t1;
13923
13923
565;
13924
 
create table t1 (n int not null primary key) ;
13925
 
set autocommit=0;
 
13924
create table t1 (n int not null primary key);
 
13925
set @@autocommit = 0;
13926
13926
insert into t1 values (4);
13927
13927
rollback;
13928
13928
select n, "after rollback" from t1;
13941
13941
n       after commit
13942
13942
4       after commit
13943
13943
5       after commit
13944
 
set autocommit=1;
 
13944
set @@autocommit = 1;
13945
13945
insert into t1 values (6);
13946
13946
insert into t1 values (4);
13947
13947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13950
13950
4
13951
13951
5
13952
13952
6
13953
 
set autocommit=0;
 
13953
set @@autocommit = 0;
13954
13954
DROP TABLE t1;
13955
13955
564;
13956
 
create table t1 (n int not null primary key) ;
13957
 
set autocommit=0;
 
13956
create table t1 (n int not null primary key);
 
13957
set @@autocommit = 0;
13958
13958
insert into t1 values (4);
13959
13959
rollback;
13960
13960
select n, "after rollback" from t1;
13973
13973
n       after commit
13974
13974
4       after commit
13975
13975
5       after commit
13976
 
set autocommit=1;
 
13976
set @@autocommit = 1;
13977
13977
insert into t1 values (6);
13978
13978
insert into t1 values (4);
13979
13979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
13982
13982
4
13983
13983
5
13984
13984
6
13985
 
set autocommit=0;
 
13985
set @@autocommit = 0;
13986
13986
DROP TABLE t1;
13987
13987
563;
13988
 
create table t1 (n int not null primary key) ;
13989
 
set autocommit=0;
 
13988
create table t1 (n int not null primary key);
 
13989
set @@autocommit = 0;
13990
13990
insert into t1 values (4);
13991
13991
rollback;
13992
13992
select n, "after rollback" from t1;
14005
14005
n       after commit
14006
14006
4       after commit
14007
14007
5       after commit
14008
 
set autocommit=1;
 
14008
set @@autocommit = 1;
14009
14009
insert into t1 values (6);
14010
14010
insert into t1 values (4);
14011
14011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14014
14014
4
14015
14015
5
14016
14016
6
14017
 
set autocommit=0;
 
14017
set @@autocommit = 0;
14018
14018
DROP TABLE t1;
14019
14019
562;
14020
 
create table t1 (n int not null primary key) ;
14021
 
set autocommit=0;
 
14020
create table t1 (n int not null primary key);
 
14021
set @@autocommit = 0;
14022
14022
insert into t1 values (4);
14023
14023
rollback;
14024
14024
select n, "after rollback" from t1;
14037
14037
n       after commit
14038
14038
4       after commit
14039
14039
5       after commit
14040
 
set autocommit=1;
 
14040
set @@autocommit = 1;
14041
14041
insert into t1 values (6);
14042
14042
insert into t1 values (4);
14043
14043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14046
14046
4
14047
14047
5
14048
14048
6
14049
 
set autocommit=0;
 
14049
set @@autocommit = 0;
14050
14050
DROP TABLE t1;
14051
14051
561;
14052
 
create table t1 (n int not null primary key) ;
14053
 
set autocommit=0;
 
14052
create table t1 (n int not null primary key);
 
14053
set @@autocommit = 0;
14054
14054
insert into t1 values (4);
14055
14055
rollback;
14056
14056
select n, "after rollback" from t1;
14069
14069
n       after commit
14070
14070
4       after commit
14071
14071
5       after commit
14072
 
set autocommit=1;
 
14072
set @@autocommit = 1;
14073
14073
insert into t1 values (6);
14074
14074
insert into t1 values (4);
14075
14075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14078
14078
4
14079
14079
5
14080
14080
6
14081
 
set autocommit=0;
 
14081
set @@autocommit = 0;
14082
14082
DROP TABLE t1;
14083
14083
560;
14084
 
create table t1 (n int not null primary key) ;
14085
 
set autocommit=0;
 
14084
create table t1 (n int not null primary key);
 
14085
set @@autocommit = 0;
14086
14086
insert into t1 values (4);
14087
14087
rollback;
14088
14088
select n, "after rollback" from t1;
14101
14101
n       after commit
14102
14102
4       after commit
14103
14103
5       after commit
14104
 
set autocommit=1;
 
14104
set @@autocommit = 1;
14105
14105
insert into t1 values (6);
14106
14106
insert into t1 values (4);
14107
14107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14110
14110
4
14111
14111
5
14112
14112
6
14113
 
set autocommit=0;
 
14113
set @@autocommit = 0;
14114
14114
DROP TABLE t1;
14115
14115
559;
14116
 
create table t1 (n int not null primary key) ;
14117
 
set autocommit=0;
 
14116
create table t1 (n int not null primary key);
 
14117
set @@autocommit = 0;
14118
14118
insert into t1 values (4);
14119
14119
rollback;
14120
14120
select n, "after rollback" from t1;
14133
14133
n       after commit
14134
14134
4       after commit
14135
14135
5       after commit
14136
 
set autocommit=1;
 
14136
set @@autocommit = 1;
14137
14137
insert into t1 values (6);
14138
14138
insert into t1 values (4);
14139
14139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14142
14142
4
14143
14143
5
14144
14144
6
14145
 
set autocommit=0;
 
14145
set @@autocommit = 0;
14146
14146
DROP TABLE t1;
14147
14147
558;
14148
 
create table t1 (n int not null primary key) ;
14149
 
set autocommit=0;
 
14148
create table t1 (n int not null primary key);
 
14149
set @@autocommit = 0;
14150
14150
insert into t1 values (4);
14151
14151
rollback;
14152
14152
select n, "after rollback" from t1;
14165
14165
n       after commit
14166
14166
4       after commit
14167
14167
5       after commit
14168
 
set autocommit=1;
 
14168
set @@autocommit = 1;
14169
14169
insert into t1 values (6);
14170
14170
insert into t1 values (4);
14171
14171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14174
14174
4
14175
14175
5
14176
14176
6
14177
 
set autocommit=0;
 
14177
set @@autocommit = 0;
14178
14178
DROP TABLE t1;
14179
14179
557;
14180
 
create table t1 (n int not null primary key) ;
14181
 
set autocommit=0;
 
14180
create table t1 (n int not null primary key);
 
14181
set @@autocommit = 0;
14182
14182
insert into t1 values (4);
14183
14183
rollback;
14184
14184
select n, "after rollback" from t1;
14197
14197
n       after commit
14198
14198
4       after commit
14199
14199
5       after commit
14200
 
set autocommit=1;
 
14200
set @@autocommit = 1;
14201
14201
insert into t1 values (6);
14202
14202
insert into t1 values (4);
14203
14203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14206
14206
4
14207
14207
5
14208
14208
6
14209
 
set autocommit=0;
 
14209
set @@autocommit = 0;
14210
14210
DROP TABLE t1;
14211
14211
556;
14212
 
create table t1 (n int not null primary key) ;
14213
 
set autocommit=0;
 
14212
create table t1 (n int not null primary key);
 
14213
set @@autocommit = 0;
14214
14214
insert into t1 values (4);
14215
14215
rollback;
14216
14216
select n, "after rollback" from t1;
14229
14229
n       after commit
14230
14230
4       after commit
14231
14231
5       after commit
14232
 
set autocommit=1;
 
14232
set @@autocommit = 1;
14233
14233
insert into t1 values (6);
14234
14234
insert into t1 values (4);
14235
14235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14238
14238
4
14239
14239
5
14240
14240
6
14241
 
set autocommit=0;
 
14241
set @@autocommit = 0;
14242
14242
DROP TABLE t1;
14243
14243
555;
14244
 
create table t1 (n int not null primary key) ;
14245
 
set autocommit=0;
 
14244
create table t1 (n int not null primary key);
 
14245
set @@autocommit = 0;
14246
14246
insert into t1 values (4);
14247
14247
rollback;
14248
14248
select n, "after rollback" from t1;
14261
14261
n       after commit
14262
14262
4       after commit
14263
14263
5       after commit
14264
 
set autocommit=1;
 
14264
set @@autocommit = 1;
14265
14265
insert into t1 values (6);
14266
14266
insert into t1 values (4);
14267
14267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14270
14270
4
14271
14271
5
14272
14272
6
14273
 
set autocommit=0;
 
14273
set @@autocommit = 0;
14274
14274
DROP TABLE t1;
14275
14275
554;
14276
 
create table t1 (n int not null primary key) ;
14277
 
set autocommit=0;
 
14276
create table t1 (n int not null primary key);
 
14277
set @@autocommit = 0;
14278
14278
insert into t1 values (4);
14279
14279
rollback;
14280
14280
select n, "after rollback" from t1;
14293
14293
n       after commit
14294
14294
4       after commit
14295
14295
5       after commit
14296
 
set autocommit=1;
 
14296
set @@autocommit = 1;
14297
14297
insert into t1 values (6);
14298
14298
insert into t1 values (4);
14299
14299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14302
14302
4
14303
14303
5
14304
14304
6
14305
 
set autocommit=0;
 
14305
set @@autocommit = 0;
14306
14306
DROP TABLE t1;
14307
14307
553;
14308
 
create table t1 (n int not null primary key) ;
14309
 
set autocommit=0;
 
14308
create table t1 (n int not null primary key);
 
14309
set @@autocommit = 0;
14310
14310
insert into t1 values (4);
14311
14311
rollback;
14312
14312
select n, "after rollback" from t1;
14325
14325
n       after commit
14326
14326
4       after commit
14327
14327
5       after commit
14328
 
set autocommit=1;
 
14328
set @@autocommit = 1;
14329
14329
insert into t1 values (6);
14330
14330
insert into t1 values (4);
14331
14331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14334
14334
4
14335
14335
5
14336
14336
6
14337
 
set autocommit=0;
 
14337
set @@autocommit = 0;
14338
14338
DROP TABLE t1;
14339
14339
552;
14340
 
create table t1 (n int not null primary key) ;
14341
 
set autocommit=0;
 
14340
create table t1 (n int not null primary key);
 
14341
set @@autocommit = 0;
14342
14342
insert into t1 values (4);
14343
14343
rollback;
14344
14344
select n, "after rollback" from t1;
14357
14357
n       after commit
14358
14358
4       after commit
14359
14359
5       after commit
14360
 
set autocommit=1;
 
14360
set @@autocommit = 1;
14361
14361
insert into t1 values (6);
14362
14362
insert into t1 values (4);
14363
14363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14366
14366
4
14367
14367
5
14368
14368
6
14369
 
set autocommit=0;
 
14369
set @@autocommit = 0;
14370
14370
DROP TABLE t1;
14371
14371
551;
14372
 
create table t1 (n int not null primary key) ;
14373
 
set autocommit=0;
 
14372
create table t1 (n int not null primary key);
 
14373
set @@autocommit = 0;
14374
14374
insert into t1 values (4);
14375
14375
rollback;
14376
14376
select n, "after rollback" from t1;
14389
14389
n       after commit
14390
14390
4       after commit
14391
14391
5       after commit
14392
 
set autocommit=1;
 
14392
set @@autocommit = 1;
14393
14393
insert into t1 values (6);
14394
14394
insert into t1 values (4);
14395
14395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14398
14398
4
14399
14399
5
14400
14400
6
14401
 
set autocommit=0;
 
14401
set @@autocommit = 0;
14402
14402
DROP TABLE t1;
14403
14403
550;
14404
 
create table t1 (n int not null primary key) ;
14405
 
set autocommit=0;
 
14404
create table t1 (n int not null primary key);
 
14405
set @@autocommit = 0;
14406
14406
insert into t1 values (4);
14407
14407
rollback;
14408
14408
select n, "after rollback" from t1;
14421
14421
n       after commit
14422
14422
4       after commit
14423
14423
5       after commit
14424
 
set autocommit=1;
 
14424
set @@autocommit = 1;
14425
14425
insert into t1 values (6);
14426
14426
insert into t1 values (4);
14427
14427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14430
14430
4
14431
14431
5
14432
14432
6
14433
 
set autocommit=0;
 
14433
set @@autocommit = 0;
14434
14434
DROP TABLE t1;
14435
14435
549;
14436
 
create table t1 (n int not null primary key) ;
14437
 
set autocommit=0;
 
14436
create table t1 (n int not null primary key);
 
14437
set @@autocommit = 0;
14438
14438
insert into t1 values (4);
14439
14439
rollback;
14440
14440
select n, "after rollback" from t1;
14453
14453
n       after commit
14454
14454
4       after commit
14455
14455
5       after commit
14456
 
set autocommit=1;
 
14456
set @@autocommit = 1;
14457
14457
insert into t1 values (6);
14458
14458
insert into t1 values (4);
14459
14459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14462
14462
4
14463
14463
5
14464
14464
6
14465
 
set autocommit=0;
 
14465
set @@autocommit = 0;
14466
14466
DROP TABLE t1;
14467
14467
548;
14468
 
create table t1 (n int not null primary key) ;
14469
 
set autocommit=0;
 
14468
create table t1 (n int not null primary key);
 
14469
set @@autocommit = 0;
14470
14470
insert into t1 values (4);
14471
14471
rollback;
14472
14472
select n, "after rollback" from t1;
14485
14485
n       after commit
14486
14486
4       after commit
14487
14487
5       after commit
14488
 
set autocommit=1;
 
14488
set @@autocommit = 1;
14489
14489
insert into t1 values (6);
14490
14490
insert into t1 values (4);
14491
14491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14494
14494
4
14495
14495
5
14496
14496
6
14497
 
set autocommit=0;
 
14497
set @@autocommit = 0;
14498
14498
DROP TABLE t1;
14499
14499
547;
14500
 
create table t1 (n int not null primary key) ;
14501
 
set autocommit=0;
 
14500
create table t1 (n int not null primary key);
 
14501
set @@autocommit = 0;
14502
14502
insert into t1 values (4);
14503
14503
rollback;
14504
14504
select n, "after rollback" from t1;
14517
14517
n       after commit
14518
14518
4       after commit
14519
14519
5       after commit
14520
 
set autocommit=1;
 
14520
set @@autocommit = 1;
14521
14521
insert into t1 values (6);
14522
14522
insert into t1 values (4);
14523
14523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14526
14526
4
14527
14527
5
14528
14528
6
14529
 
set autocommit=0;
 
14529
set @@autocommit = 0;
14530
14530
DROP TABLE t1;
14531
14531
546;
14532
 
create table t1 (n int not null primary key) ;
14533
 
set autocommit=0;
 
14532
create table t1 (n int not null primary key);
 
14533
set @@autocommit = 0;
14534
14534
insert into t1 values (4);
14535
14535
rollback;
14536
14536
select n, "after rollback" from t1;
14549
14549
n       after commit
14550
14550
4       after commit
14551
14551
5       after commit
14552
 
set autocommit=1;
 
14552
set @@autocommit = 1;
14553
14553
insert into t1 values (6);
14554
14554
insert into t1 values (4);
14555
14555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14558
14558
4
14559
14559
5
14560
14560
6
14561
 
set autocommit=0;
 
14561
set @@autocommit = 0;
14562
14562
DROP TABLE t1;
14563
14563
545;
14564
 
create table t1 (n int not null primary key) ;
14565
 
set autocommit=0;
 
14564
create table t1 (n int not null primary key);
 
14565
set @@autocommit = 0;
14566
14566
insert into t1 values (4);
14567
14567
rollback;
14568
14568
select n, "after rollback" from t1;
14581
14581
n       after commit
14582
14582
4       after commit
14583
14583
5       after commit
14584
 
set autocommit=1;
 
14584
set @@autocommit = 1;
14585
14585
insert into t1 values (6);
14586
14586
insert into t1 values (4);
14587
14587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14590
14590
4
14591
14591
5
14592
14592
6
14593
 
set autocommit=0;
 
14593
set @@autocommit = 0;
14594
14594
DROP TABLE t1;
14595
14595
544;
14596
 
create table t1 (n int not null primary key) ;
14597
 
set autocommit=0;
 
14596
create table t1 (n int not null primary key);
 
14597
set @@autocommit = 0;
14598
14598
insert into t1 values (4);
14599
14599
rollback;
14600
14600
select n, "after rollback" from t1;
14613
14613
n       after commit
14614
14614
4       after commit
14615
14615
5       after commit
14616
 
set autocommit=1;
 
14616
set @@autocommit = 1;
14617
14617
insert into t1 values (6);
14618
14618
insert into t1 values (4);
14619
14619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14622
14622
4
14623
14623
5
14624
14624
6
14625
 
set autocommit=0;
 
14625
set @@autocommit = 0;
14626
14626
DROP TABLE t1;
14627
14627
543;
14628
 
create table t1 (n int not null primary key) ;
14629
 
set autocommit=0;
 
14628
create table t1 (n int not null primary key);
 
14629
set @@autocommit = 0;
14630
14630
insert into t1 values (4);
14631
14631
rollback;
14632
14632
select n, "after rollback" from t1;
14645
14645
n       after commit
14646
14646
4       after commit
14647
14647
5       after commit
14648
 
set autocommit=1;
 
14648
set @@autocommit = 1;
14649
14649
insert into t1 values (6);
14650
14650
insert into t1 values (4);
14651
14651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14654
14654
4
14655
14655
5
14656
14656
6
14657
 
set autocommit=0;
 
14657
set @@autocommit = 0;
14658
14658
DROP TABLE t1;
14659
14659
542;
14660
 
create table t1 (n int not null primary key) ;
14661
 
set autocommit=0;
 
14660
create table t1 (n int not null primary key);
 
14661
set @@autocommit = 0;
14662
14662
insert into t1 values (4);
14663
14663
rollback;
14664
14664
select n, "after rollback" from t1;
14677
14677
n       after commit
14678
14678
4       after commit
14679
14679
5       after commit
14680
 
set autocommit=1;
 
14680
set @@autocommit = 1;
14681
14681
insert into t1 values (6);
14682
14682
insert into t1 values (4);
14683
14683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14686
14686
4
14687
14687
5
14688
14688
6
14689
 
set autocommit=0;
 
14689
set @@autocommit = 0;
14690
14690
DROP TABLE t1;
14691
14691
541;
14692
 
create table t1 (n int not null primary key) ;
14693
 
set autocommit=0;
 
14692
create table t1 (n int not null primary key);
 
14693
set @@autocommit = 0;
14694
14694
insert into t1 values (4);
14695
14695
rollback;
14696
14696
select n, "after rollback" from t1;
14709
14709
n       after commit
14710
14710
4       after commit
14711
14711
5       after commit
14712
 
set autocommit=1;
 
14712
set @@autocommit = 1;
14713
14713
insert into t1 values (6);
14714
14714
insert into t1 values (4);
14715
14715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14718
14718
4
14719
14719
5
14720
14720
6
14721
 
set autocommit=0;
 
14721
set @@autocommit = 0;
14722
14722
DROP TABLE t1;
14723
14723
540;
14724
 
create table t1 (n int not null primary key) ;
14725
 
set autocommit=0;
 
14724
create table t1 (n int not null primary key);
 
14725
set @@autocommit = 0;
14726
14726
insert into t1 values (4);
14727
14727
rollback;
14728
14728
select n, "after rollback" from t1;
14741
14741
n       after commit
14742
14742
4       after commit
14743
14743
5       after commit
14744
 
set autocommit=1;
 
14744
set @@autocommit = 1;
14745
14745
insert into t1 values (6);
14746
14746
insert into t1 values (4);
14747
14747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14750
14750
4
14751
14751
5
14752
14752
6
14753
 
set autocommit=0;
 
14753
set @@autocommit = 0;
14754
14754
DROP TABLE t1;
14755
14755
539;
14756
 
create table t1 (n int not null primary key) ;
14757
 
set autocommit=0;
 
14756
create table t1 (n int not null primary key);
 
14757
set @@autocommit = 0;
14758
14758
insert into t1 values (4);
14759
14759
rollback;
14760
14760
select n, "after rollback" from t1;
14773
14773
n       after commit
14774
14774
4       after commit
14775
14775
5       after commit
14776
 
set autocommit=1;
 
14776
set @@autocommit = 1;
14777
14777
insert into t1 values (6);
14778
14778
insert into t1 values (4);
14779
14779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14782
14782
4
14783
14783
5
14784
14784
6
14785
 
set autocommit=0;
 
14785
set @@autocommit = 0;
14786
14786
DROP TABLE t1;
14787
14787
538;
14788
 
create table t1 (n int not null primary key) ;
14789
 
set autocommit=0;
 
14788
create table t1 (n int not null primary key);
 
14789
set @@autocommit = 0;
14790
14790
insert into t1 values (4);
14791
14791
rollback;
14792
14792
select n, "after rollback" from t1;
14805
14805
n       after commit
14806
14806
4       after commit
14807
14807
5       after commit
14808
 
set autocommit=1;
 
14808
set @@autocommit = 1;
14809
14809
insert into t1 values (6);
14810
14810
insert into t1 values (4);
14811
14811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14814
14814
4
14815
14815
5
14816
14816
6
14817
 
set autocommit=0;
 
14817
set @@autocommit = 0;
14818
14818
DROP TABLE t1;
14819
14819
537;
14820
 
create table t1 (n int not null primary key) ;
14821
 
set autocommit=0;
 
14820
create table t1 (n int not null primary key);
 
14821
set @@autocommit = 0;
14822
14822
insert into t1 values (4);
14823
14823
rollback;
14824
14824
select n, "after rollback" from t1;
14837
14837
n       after commit
14838
14838
4       after commit
14839
14839
5       after commit
14840
 
set autocommit=1;
 
14840
set @@autocommit = 1;
14841
14841
insert into t1 values (6);
14842
14842
insert into t1 values (4);
14843
14843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14846
14846
4
14847
14847
5
14848
14848
6
14849
 
set autocommit=0;
 
14849
set @@autocommit = 0;
14850
14850
DROP TABLE t1;
14851
14851
536;
14852
 
create table t1 (n int not null primary key) ;
14853
 
set autocommit=0;
 
14852
create table t1 (n int not null primary key);
 
14853
set @@autocommit = 0;
14854
14854
insert into t1 values (4);
14855
14855
rollback;
14856
14856
select n, "after rollback" from t1;
14869
14869
n       after commit
14870
14870
4       after commit
14871
14871
5       after commit
14872
 
set autocommit=1;
 
14872
set @@autocommit = 1;
14873
14873
insert into t1 values (6);
14874
14874
insert into t1 values (4);
14875
14875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14878
14878
4
14879
14879
5
14880
14880
6
14881
 
set autocommit=0;
 
14881
set @@autocommit = 0;
14882
14882
DROP TABLE t1;
14883
14883
535;
14884
 
create table t1 (n int not null primary key) ;
14885
 
set autocommit=0;
 
14884
create table t1 (n int not null primary key);
 
14885
set @@autocommit = 0;
14886
14886
insert into t1 values (4);
14887
14887
rollback;
14888
14888
select n, "after rollback" from t1;
14901
14901
n       after commit
14902
14902
4       after commit
14903
14903
5       after commit
14904
 
set autocommit=1;
 
14904
set @@autocommit = 1;
14905
14905
insert into t1 values (6);
14906
14906
insert into t1 values (4);
14907
14907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14910
14910
4
14911
14911
5
14912
14912
6
14913
 
set autocommit=0;
 
14913
set @@autocommit = 0;
14914
14914
DROP TABLE t1;
14915
14915
534;
14916
 
create table t1 (n int not null primary key) ;
14917
 
set autocommit=0;
 
14916
create table t1 (n int not null primary key);
 
14917
set @@autocommit = 0;
14918
14918
insert into t1 values (4);
14919
14919
rollback;
14920
14920
select n, "after rollback" from t1;
14933
14933
n       after commit
14934
14934
4       after commit
14935
14935
5       after commit
14936
 
set autocommit=1;
 
14936
set @@autocommit = 1;
14937
14937
insert into t1 values (6);
14938
14938
insert into t1 values (4);
14939
14939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14942
14942
4
14943
14943
5
14944
14944
6
14945
 
set autocommit=0;
 
14945
set @@autocommit = 0;
14946
14946
DROP TABLE t1;
14947
14947
533;
14948
 
create table t1 (n int not null primary key) ;
14949
 
set autocommit=0;
 
14948
create table t1 (n int not null primary key);
 
14949
set @@autocommit = 0;
14950
14950
insert into t1 values (4);
14951
14951
rollback;
14952
14952
select n, "after rollback" from t1;
14965
14965
n       after commit
14966
14966
4       after commit
14967
14967
5       after commit
14968
 
set autocommit=1;
 
14968
set @@autocommit = 1;
14969
14969
insert into t1 values (6);
14970
14970
insert into t1 values (4);
14971
14971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
14974
14974
4
14975
14975
5
14976
14976
6
14977
 
set autocommit=0;
 
14977
set @@autocommit = 0;
14978
14978
DROP TABLE t1;
14979
14979
532;
14980
 
create table t1 (n int not null primary key) ;
14981
 
set autocommit=0;
 
14980
create table t1 (n int not null primary key);
 
14981
set @@autocommit = 0;
14982
14982
insert into t1 values (4);
14983
14983
rollback;
14984
14984
select n, "after rollback" from t1;
14997
14997
n       after commit
14998
14998
4       after commit
14999
14999
5       after commit
15000
 
set autocommit=1;
 
15000
set @@autocommit = 1;
15001
15001
insert into t1 values (6);
15002
15002
insert into t1 values (4);
15003
15003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15006
15006
4
15007
15007
5
15008
15008
6
15009
 
set autocommit=0;
 
15009
set @@autocommit = 0;
15010
15010
DROP TABLE t1;
15011
15011
531;
15012
 
create table t1 (n int not null primary key) ;
15013
 
set autocommit=0;
 
15012
create table t1 (n int not null primary key);
 
15013
set @@autocommit = 0;
15014
15014
insert into t1 values (4);
15015
15015
rollback;
15016
15016
select n, "after rollback" from t1;
15029
15029
n       after commit
15030
15030
4       after commit
15031
15031
5       after commit
15032
 
set autocommit=1;
 
15032
set @@autocommit = 1;
15033
15033
insert into t1 values (6);
15034
15034
insert into t1 values (4);
15035
15035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15038
15038
4
15039
15039
5
15040
15040
6
15041
 
set autocommit=0;
 
15041
set @@autocommit = 0;
15042
15042
DROP TABLE t1;
15043
15043
530;
15044
 
create table t1 (n int not null primary key) ;
15045
 
set autocommit=0;
 
15044
create table t1 (n int not null primary key);
 
15045
set @@autocommit = 0;
15046
15046
insert into t1 values (4);
15047
15047
rollback;
15048
15048
select n, "after rollback" from t1;
15061
15061
n       after commit
15062
15062
4       after commit
15063
15063
5       after commit
15064
 
set autocommit=1;
 
15064
set @@autocommit = 1;
15065
15065
insert into t1 values (6);
15066
15066
insert into t1 values (4);
15067
15067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15070
15070
4
15071
15071
5
15072
15072
6
15073
 
set autocommit=0;
 
15073
set @@autocommit = 0;
15074
15074
DROP TABLE t1;
15075
15075
529;
15076
 
create table t1 (n int not null primary key) ;
15077
 
set autocommit=0;
 
15076
create table t1 (n int not null primary key);
 
15077
set @@autocommit = 0;
15078
15078
insert into t1 values (4);
15079
15079
rollback;
15080
15080
select n, "after rollback" from t1;
15093
15093
n       after commit
15094
15094
4       after commit
15095
15095
5       after commit
15096
 
set autocommit=1;
 
15096
set @@autocommit = 1;
15097
15097
insert into t1 values (6);
15098
15098
insert into t1 values (4);
15099
15099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15102
15102
4
15103
15103
5
15104
15104
6
15105
 
set autocommit=0;
 
15105
set @@autocommit = 0;
15106
15106
DROP TABLE t1;
15107
15107
528;
15108
 
create table t1 (n int not null primary key) ;
15109
 
set autocommit=0;
 
15108
create table t1 (n int not null primary key);
 
15109
set @@autocommit = 0;
15110
15110
insert into t1 values (4);
15111
15111
rollback;
15112
15112
select n, "after rollback" from t1;
15125
15125
n       after commit
15126
15126
4       after commit
15127
15127
5       after commit
15128
 
set autocommit=1;
 
15128
set @@autocommit = 1;
15129
15129
insert into t1 values (6);
15130
15130
insert into t1 values (4);
15131
15131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15134
15134
4
15135
15135
5
15136
15136
6
15137
 
set autocommit=0;
 
15137
set @@autocommit = 0;
15138
15138
DROP TABLE t1;
15139
15139
527;
15140
 
create table t1 (n int not null primary key) ;
15141
 
set autocommit=0;
 
15140
create table t1 (n int not null primary key);
 
15141
set @@autocommit = 0;
15142
15142
insert into t1 values (4);
15143
15143
rollback;
15144
15144
select n, "after rollback" from t1;
15157
15157
n       after commit
15158
15158
4       after commit
15159
15159
5       after commit
15160
 
set autocommit=1;
 
15160
set @@autocommit = 1;
15161
15161
insert into t1 values (6);
15162
15162
insert into t1 values (4);
15163
15163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15166
15166
4
15167
15167
5
15168
15168
6
15169
 
set autocommit=0;
 
15169
set @@autocommit = 0;
15170
15170
DROP TABLE t1;
15171
15171
526;
15172
 
create table t1 (n int not null primary key) ;
15173
 
set autocommit=0;
 
15172
create table t1 (n int not null primary key);
 
15173
set @@autocommit = 0;
15174
15174
insert into t1 values (4);
15175
15175
rollback;
15176
15176
select n, "after rollback" from t1;
15189
15189
n       after commit
15190
15190
4       after commit
15191
15191
5       after commit
15192
 
set autocommit=1;
 
15192
set @@autocommit = 1;
15193
15193
insert into t1 values (6);
15194
15194
insert into t1 values (4);
15195
15195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15198
15198
4
15199
15199
5
15200
15200
6
15201
 
set autocommit=0;
 
15201
set @@autocommit = 0;
15202
15202
DROP TABLE t1;
15203
15203
525;
15204
 
create table t1 (n int not null primary key) ;
15205
 
set autocommit=0;
 
15204
create table t1 (n int not null primary key);
 
15205
set @@autocommit = 0;
15206
15206
insert into t1 values (4);
15207
15207
rollback;
15208
15208
select n, "after rollback" from t1;
15221
15221
n       after commit
15222
15222
4       after commit
15223
15223
5       after commit
15224
 
set autocommit=1;
 
15224
set @@autocommit = 1;
15225
15225
insert into t1 values (6);
15226
15226
insert into t1 values (4);
15227
15227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15230
15230
4
15231
15231
5
15232
15232
6
15233
 
set autocommit=0;
 
15233
set @@autocommit = 0;
15234
15234
DROP TABLE t1;
15235
15235
524;
15236
 
create table t1 (n int not null primary key) ;
15237
 
set autocommit=0;
 
15236
create table t1 (n int not null primary key);
 
15237
set @@autocommit = 0;
15238
15238
insert into t1 values (4);
15239
15239
rollback;
15240
15240
select n, "after rollback" from t1;
15253
15253
n       after commit
15254
15254
4       after commit
15255
15255
5       after commit
15256
 
set autocommit=1;
 
15256
set @@autocommit = 1;
15257
15257
insert into t1 values (6);
15258
15258
insert into t1 values (4);
15259
15259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15262
15262
4
15263
15263
5
15264
15264
6
15265
 
set autocommit=0;
 
15265
set @@autocommit = 0;
15266
15266
DROP TABLE t1;
15267
15267
523;
15268
 
create table t1 (n int not null primary key) ;
15269
 
set autocommit=0;
 
15268
create table t1 (n int not null primary key);
 
15269
set @@autocommit = 0;
15270
15270
insert into t1 values (4);
15271
15271
rollback;
15272
15272
select n, "after rollback" from t1;
15285
15285
n       after commit
15286
15286
4       after commit
15287
15287
5       after commit
15288
 
set autocommit=1;
 
15288
set @@autocommit = 1;
15289
15289
insert into t1 values (6);
15290
15290
insert into t1 values (4);
15291
15291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15294
15294
4
15295
15295
5
15296
15296
6
15297
 
set autocommit=0;
 
15297
set @@autocommit = 0;
15298
15298
DROP TABLE t1;
15299
15299
522;
15300
 
create table t1 (n int not null primary key) ;
15301
 
set autocommit=0;
 
15300
create table t1 (n int not null primary key);
 
15301
set @@autocommit = 0;
15302
15302
insert into t1 values (4);
15303
15303
rollback;
15304
15304
select n, "after rollback" from t1;
15317
15317
n       after commit
15318
15318
4       after commit
15319
15319
5       after commit
15320
 
set autocommit=1;
 
15320
set @@autocommit = 1;
15321
15321
insert into t1 values (6);
15322
15322
insert into t1 values (4);
15323
15323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15326
15326
4
15327
15327
5
15328
15328
6
15329
 
set autocommit=0;
 
15329
set @@autocommit = 0;
15330
15330
DROP TABLE t1;
15331
15331
521;
15332
 
create table t1 (n int not null primary key) ;
15333
 
set autocommit=0;
 
15332
create table t1 (n int not null primary key);
 
15333
set @@autocommit = 0;
15334
15334
insert into t1 values (4);
15335
15335
rollback;
15336
15336
select n, "after rollback" from t1;
15349
15349
n       after commit
15350
15350
4       after commit
15351
15351
5       after commit
15352
 
set autocommit=1;
 
15352
set @@autocommit = 1;
15353
15353
insert into t1 values (6);
15354
15354
insert into t1 values (4);
15355
15355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15358
15358
4
15359
15359
5
15360
15360
6
15361
 
set autocommit=0;
 
15361
set @@autocommit = 0;
15362
15362
DROP TABLE t1;
15363
15363
520;
15364
 
create table t1 (n int not null primary key) ;
15365
 
set autocommit=0;
 
15364
create table t1 (n int not null primary key);
 
15365
set @@autocommit = 0;
15366
15366
insert into t1 values (4);
15367
15367
rollback;
15368
15368
select n, "after rollback" from t1;
15381
15381
n       after commit
15382
15382
4       after commit
15383
15383
5       after commit
15384
 
set autocommit=1;
 
15384
set @@autocommit = 1;
15385
15385
insert into t1 values (6);
15386
15386
insert into t1 values (4);
15387
15387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15390
15390
4
15391
15391
5
15392
15392
6
15393
 
set autocommit=0;
 
15393
set @@autocommit = 0;
15394
15394
DROP TABLE t1;
15395
15395
519;
15396
 
create table t1 (n int not null primary key) ;
15397
 
set autocommit=0;
 
15396
create table t1 (n int not null primary key);
 
15397
set @@autocommit = 0;
15398
15398
insert into t1 values (4);
15399
15399
rollback;
15400
15400
select n, "after rollback" from t1;
15413
15413
n       after commit
15414
15414
4       after commit
15415
15415
5       after commit
15416
 
set autocommit=1;
 
15416
set @@autocommit = 1;
15417
15417
insert into t1 values (6);
15418
15418
insert into t1 values (4);
15419
15419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15422
15422
4
15423
15423
5
15424
15424
6
15425
 
set autocommit=0;
 
15425
set @@autocommit = 0;
15426
15426
DROP TABLE t1;
15427
15427
518;
15428
 
create table t1 (n int not null primary key) ;
15429
 
set autocommit=0;
 
15428
create table t1 (n int not null primary key);
 
15429
set @@autocommit = 0;
15430
15430
insert into t1 values (4);
15431
15431
rollback;
15432
15432
select n, "after rollback" from t1;
15445
15445
n       after commit
15446
15446
4       after commit
15447
15447
5       after commit
15448
 
set autocommit=1;
 
15448
set @@autocommit = 1;
15449
15449
insert into t1 values (6);
15450
15450
insert into t1 values (4);
15451
15451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15454
15454
4
15455
15455
5
15456
15456
6
15457
 
set autocommit=0;
 
15457
set @@autocommit = 0;
15458
15458
DROP TABLE t1;
15459
15459
517;
15460
 
create table t1 (n int not null primary key) ;
15461
 
set autocommit=0;
 
15460
create table t1 (n int not null primary key);
 
15461
set @@autocommit = 0;
15462
15462
insert into t1 values (4);
15463
15463
rollback;
15464
15464
select n, "after rollback" from t1;
15477
15477
n       after commit
15478
15478
4       after commit
15479
15479
5       after commit
15480
 
set autocommit=1;
 
15480
set @@autocommit = 1;
15481
15481
insert into t1 values (6);
15482
15482
insert into t1 values (4);
15483
15483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15486
15486
4
15487
15487
5
15488
15488
6
15489
 
set autocommit=0;
 
15489
set @@autocommit = 0;
15490
15490
DROP TABLE t1;
15491
15491
516;
15492
 
create table t1 (n int not null primary key) ;
15493
 
set autocommit=0;
 
15492
create table t1 (n int not null primary key);
 
15493
set @@autocommit = 0;
15494
15494
insert into t1 values (4);
15495
15495
rollback;
15496
15496
select n, "after rollback" from t1;
15509
15509
n       after commit
15510
15510
4       after commit
15511
15511
5       after commit
15512
 
set autocommit=1;
 
15512
set @@autocommit = 1;
15513
15513
insert into t1 values (6);
15514
15514
insert into t1 values (4);
15515
15515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15518
15518
4
15519
15519
5
15520
15520
6
15521
 
set autocommit=0;
 
15521
set @@autocommit = 0;
15522
15522
DROP TABLE t1;
15523
15523
515;
15524
 
create table t1 (n int not null primary key) ;
15525
 
set autocommit=0;
 
15524
create table t1 (n int not null primary key);
 
15525
set @@autocommit = 0;
15526
15526
insert into t1 values (4);
15527
15527
rollback;
15528
15528
select n, "after rollback" from t1;
15541
15541
n       after commit
15542
15542
4       after commit
15543
15543
5       after commit
15544
 
set autocommit=1;
 
15544
set @@autocommit = 1;
15545
15545
insert into t1 values (6);
15546
15546
insert into t1 values (4);
15547
15547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15550
15550
4
15551
15551
5
15552
15552
6
15553
 
set autocommit=0;
 
15553
set @@autocommit = 0;
15554
15554
DROP TABLE t1;
15555
15555
514;
15556
 
create table t1 (n int not null primary key) ;
15557
 
set autocommit=0;
 
15556
create table t1 (n int not null primary key);
 
15557
set @@autocommit = 0;
15558
15558
insert into t1 values (4);
15559
15559
rollback;
15560
15560
select n, "after rollback" from t1;
15573
15573
n       after commit
15574
15574
4       after commit
15575
15575
5       after commit
15576
 
set autocommit=1;
 
15576
set @@autocommit = 1;
15577
15577
insert into t1 values (6);
15578
15578
insert into t1 values (4);
15579
15579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15582
15582
4
15583
15583
5
15584
15584
6
15585
 
set autocommit=0;
 
15585
set @@autocommit = 0;
15586
15586
DROP TABLE t1;
15587
15587
513;
15588
 
create table t1 (n int not null primary key) ;
15589
 
set autocommit=0;
 
15588
create table t1 (n int not null primary key);
 
15589
set @@autocommit = 0;
15590
15590
insert into t1 values (4);
15591
15591
rollback;
15592
15592
select n, "after rollback" from t1;
15605
15605
n       after commit
15606
15606
4       after commit
15607
15607
5       after commit
15608
 
set autocommit=1;
 
15608
set @@autocommit = 1;
15609
15609
insert into t1 values (6);
15610
15610
insert into t1 values (4);
15611
15611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15614
15614
4
15615
15615
5
15616
15616
6
15617
 
set autocommit=0;
 
15617
set @@autocommit = 0;
15618
15618
DROP TABLE t1;
15619
15619
512;
15620
 
create table t1 (n int not null primary key) ;
15621
 
set autocommit=0;
 
15620
create table t1 (n int not null primary key);
 
15621
set @@autocommit = 0;
15622
15622
insert into t1 values (4);
15623
15623
rollback;
15624
15624
select n, "after rollback" from t1;
15637
15637
n       after commit
15638
15638
4       after commit
15639
15639
5       after commit
15640
 
set autocommit=1;
 
15640
set @@autocommit = 1;
15641
15641
insert into t1 values (6);
15642
15642
insert into t1 values (4);
15643
15643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15646
15646
4
15647
15647
5
15648
15648
6
15649
 
set autocommit=0;
 
15649
set @@autocommit = 0;
15650
15650
DROP TABLE t1;
15651
15651
511;
15652
 
create table t1 (n int not null primary key) ;
15653
 
set autocommit=0;
 
15652
create table t1 (n int not null primary key);
 
15653
set @@autocommit = 0;
15654
15654
insert into t1 values (4);
15655
15655
rollback;
15656
15656
select n, "after rollback" from t1;
15669
15669
n       after commit
15670
15670
4       after commit
15671
15671
5       after commit
15672
 
set autocommit=1;
 
15672
set @@autocommit = 1;
15673
15673
insert into t1 values (6);
15674
15674
insert into t1 values (4);
15675
15675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15678
15678
4
15679
15679
5
15680
15680
6
15681
 
set autocommit=0;
 
15681
set @@autocommit = 0;
15682
15682
DROP TABLE t1;
15683
15683
510;
15684
 
create table t1 (n int not null primary key) ;
15685
 
set autocommit=0;
 
15684
create table t1 (n int not null primary key);
 
15685
set @@autocommit = 0;
15686
15686
insert into t1 values (4);
15687
15687
rollback;
15688
15688
select n, "after rollback" from t1;
15701
15701
n       after commit
15702
15702
4       after commit
15703
15703
5       after commit
15704
 
set autocommit=1;
 
15704
set @@autocommit = 1;
15705
15705
insert into t1 values (6);
15706
15706
insert into t1 values (4);
15707
15707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15710
15710
4
15711
15711
5
15712
15712
6
15713
 
set autocommit=0;
 
15713
set @@autocommit = 0;
15714
15714
DROP TABLE t1;
15715
15715
509;
15716
 
create table t1 (n int not null primary key) ;
15717
 
set autocommit=0;
 
15716
create table t1 (n int not null primary key);
 
15717
set @@autocommit = 0;
15718
15718
insert into t1 values (4);
15719
15719
rollback;
15720
15720
select n, "after rollback" from t1;
15733
15733
n       after commit
15734
15734
4       after commit
15735
15735
5       after commit
15736
 
set autocommit=1;
 
15736
set @@autocommit = 1;
15737
15737
insert into t1 values (6);
15738
15738
insert into t1 values (4);
15739
15739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15742
15742
4
15743
15743
5
15744
15744
6
15745
 
set autocommit=0;
 
15745
set @@autocommit = 0;
15746
15746
DROP TABLE t1;
15747
15747
508;
15748
 
create table t1 (n int not null primary key) ;
15749
 
set autocommit=0;
 
15748
create table t1 (n int not null primary key);
 
15749
set @@autocommit = 0;
15750
15750
insert into t1 values (4);
15751
15751
rollback;
15752
15752
select n, "after rollback" from t1;
15765
15765
n       after commit
15766
15766
4       after commit
15767
15767
5       after commit
15768
 
set autocommit=1;
 
15768
set @@autocommit = 1;
15769
15769
insert into t1 values (6);
15770
15770
insert into t1 values (4);
15771
15771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15774
15774
4
15775
15775
5
15776
15776
6
15777
 
set autocommit=0;
 
15777
set @@autocommit = 0;
15778
15778
DROP TABLE t1;
15779
15779
507;
15780
 
create table t1 (n int not null primary key) ;
15781
 
set autocommit=0;
 
15780
create table t1 (n int not null primary key);
 
15781
set @@autocommit = 0;
15782
15782
insert into t1 values (4);
15783
15783
rollback;
15784
15784
select n, "after rollback" from t1;
15797
15797
n       after commit
15798
15798
4       after commit
15799
15799
5       after commit
15800
 
set autocommit=1;
 
15800
set @@autocommit = 1;
15801
15801
insert into t1 values (6);
15802
15802
insert into t1 values (4);
15803
15803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15806
15806
4
15807
15807
5
15808
15808
6
15809
 
set autocommit=0;
 
15809
set @@autocommit = 0;
15810
15810
DROP TABLE t1;
15811
15811
506;
15812
 
create table t1 (n int not null primary key) ;
15813
 
set autocommit=0;
 
15812
create table t1 (n int not null primary key);
 
15813
set @@autocommit = 0;
15814
15814
insert into t1 values (4);
15815
15815
rollback;
15816
15816
select n, "after rollback" from t1;
15829
15829
n       after commit
15830
15830
4       after commit
15831
15831
5       after commit
15832
 
set autocommit=1;
 
15832
set @@autocommit = 1;
15833
15833
insert into t1 values (6);
15834
15834
insert into t1 values (4);
15835
15835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15838
15838
4
15839
15839
5
15840
15840
6
15841
 
set autocommit=0;
 
15841
set @@autocommit = 0;
15842
15842
DROP TABLE t1;
15843
15843
505;
15844
 
create table t1 (n int not null primary key) ;
15845
 
set autocommit=0;
 
15844
create table t1 (n int not null primary key);
 
15845
set @@autocommit = 0;
15846
15846
insert into t1 values (4);
15847
15847
rollback;
15848
15848
select n, "after rollback" from t1;
15861
15861
n       after commit
15862
15862
4       after commit
15863
15863
5       after commit
15864
 
set autocommit=1;
 
15864
set @@autocommit = 1;
15865
15865
insert into t1 values (6);
15866
15866
insert into t1 values (4);
15867
15867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15870
15870
4
15871
15871
5
15872
15872
6
15873
 
set autocommit=0;
 
15873
set @@autocommit = 0;
15874
15874
DROP TABLE t1;
15875
15875
504;
15876
 
create table t1 (n int not null primary key) ;
15877
 
set autocommit=0;
 
15876
create table t1 (n int not null primary key);
 
15877
set @@autocommit = 0;
15878
15878
insert into t1 values (4);
15879
15879
rollback;
15880
15880
select n, "after rollback" from t1;
15893
15893
n       after commit
15894
15894
4       after commit
15895
15895
5       after commit
15896
 
set autocommit=1;
 
15896
set @@autocommit = 1;
15897
15897
insert into t1 values (6);
15898
15898
insert into t1 values (4);
15899
15899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15902
15902
4
15903
15903
5
15904
15904
6
15905
 
set autocommit=0;
 
15905
set @@autocommit = 0;
15906
15906
DROP TABLE t1;
15907
15907
503;
15908
 
create table t1 (n int not null primary key) ;
15909
 
set autocommit=0;
 
15908
create table t1 (n int not null primary key);
 
15909
set @@autocommit = 0;
15910
15910
insert into t1 values (4);
15911
15911
rollback;
15912
15912
select n, "after rollback" from t1;
15925
15925
n       after commit
15926
15926
4       after commit
15927
15927
5       after commit
15928
 
set autocommit=1;
 
15928
set @@autocommit = 1;
15929
15929
insert into t1 values (6);
15930
15930
insert into t1 values (4);
15931
15931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15934
15934
4
15935
15935
5
15936
15936
6
15937
 
set autocommit=0;
 
15937
set @@autocommit = 0;
15938
15938
DROP TABLE t1;
15939
15939
502;
15940
 
create table t1 (n int not null primary key) ;
15941
 
set autocommit=0;
 
15940
create table t1 (n int not null primary key);
 
15941
set @@autocommit = 0;
15942
15942
insert into t1 values (4);
15943
15943
rollback;
15944
15944
select n, "after rollback" from t1;
15957
15957
n       after commit
15958
15958
4       after commit
15959
15959
5       after commit
15960
 
set autocommit=1;
 
15960
set @@autocommit = 1;
15961
15961
insert into t1 values (6);
15962
15962
insert into t1 values (4);
15963
15963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15966
15966
4
15967
15967
5
15968
15968
6
15969
 
set autocommit=0;
 
15969
set @@autocommit = 0;
15970
15970
DROP TABLE t1;
15971
15971
501;
15972
 
create table t1 (n int not null primary key) ;
15973
 
set autocommit=0;
 
15972
create table t1 (n int not null primary key);
 
15973
set @@autocommit = 0;
15974
15974
insert into t1 values (4);
15975
15975
rollback;
15976
15976
select n, "after rollback" from t1;
15989
15989
n       after commit
15990
15990
4       after commit
15991
15991
5       after commit
15992
 
set autocommit=1;
 
15992
set @@autocommit = 1;
15993
15993
insert into t1 values (6);
15994
15994
insert into t1 values (4);
15995
15995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
15998
15998
4
15999
15999
5
16000
16000
6
16001
 
set autocommit=0;
 
16001
set @@autocommit = 0;
16002
16002
DROP TABLE t1;
16003
16003
500;
16004
 
create table t1 (n int not null primary key) ;
16005
 
set autocommit=0;
 
16004
create table t1 (n int not null primary key);
 
16005
set @@autocommit = 0;
16006
16006
insert into t1 values (4);
16007
16007
rollback;
16008
16008
select n, "after rollback" from t1;
16021
16021
n       after commit
16022
16022
4       after commit
16023
16023
5       after commit
16024
 
set autocommit=1;
 
16024
set @@autocommit = 1;
16025
16025
insert into t1 values (6);
16026
16026
insert into t1 values (4);
16027
16027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16030
16030
4
16031
16031
5
16032
16032
6
16033
 
set autocommit=0;
 
16033
set @@autocommit = 0;
16034
16034
DROP TABLE t1;
16035
16035
499;
16036
 
create table t1 (n int not null primary key) ;
16037
 
set autocommit=0;
 
16036
create table t1 (n int not null primary key);
 
16037
set @@autocommit = 0;
16038
16038
insert into t1 values (4);
16039
16039
rollback;
16040
16040
select n, "after rollback" from t1;
16053
16053
n       after commit
16054
16054
4       after commit
16055
16055
5       after commit
16056
 
set autocommit=1;
 
16056
set @@autocommit = 1;
16057
16057
insert into t1 values (6);
16058
16058
insert into t1 values (4);
16059
16059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16062
16062
4
16063
16063
5
16064
16064
6
16065
 
set autocommit=0;
 
16065
set @@autocommit = 0;
16066
16066
DROP TABLE t1;
16067
16067
498;
16068
 
create table t1 (n int not null primary key) ;
16069
 
set autocommit=0;
 
16068
create table t1 (n int not null primary key);
 
16069
set @@autocommit = 0;
16070
16070
insert into t1 values (4);
16071
16071
rollback;
16072
16072
select n, "after rollback" from t1;
16085
16085
n       after commit
16086
16086
4       after commit
16087
16087
5       after commit
16088
 
set autocommit=1;
 
16088
set @@autocommit = 1;
16089
16089
insert into t1 values (6);
16090
16090
insert into t1 values (4);
16091
16091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16094
16094
4
16095
16095
5
16096
16096
6
16097
 
set autocommit=0;
 
16097
set @@autocommit = 0;
16098
16098
DROP TABLE t1;
16099
16099
497;
16100
 
create table t1 (n int not null primary key) ;
16101
 
set autocommit=0;
 
16100
create table t1 (n int not null primary key);
 
16101
set @@autocommit = 0;
16102
16102
insert into t1 values (4);
16103
16103
rollback;
16104
16104
select n, "after rollback" from t1;
16117
16117
n       after commit
16118
16118
4       after commit
16119
16119
5       after commit
16120
 
set autocommit=1;
 
16120
set @@autocommit = 1;
16121
16121
insert into t1 values (6);
16122
16122
insert into t1 values (4);
16123
16123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16126
16126
4
16127
16127
5
16128
16128
6
16129
 
set autocommit=0;
 
16129
set @@autocommit = 0;
16130
16130
DROP TABLE t1;
16131
16131
496;
16132
 
create table t1 (n int not null primary key) ;
16133
 
set autocommit=0;
 
16132
create table t1 (n int not null primary key);
 
16133
set @@autocommit = 0;
16134
16134
insert into t1 values (4);
16135
16135
rollback;
16136
16136
select n, "after rollback" from t1;
16149
16149
n       after commit
16150
16150
4       after commit
16151
16151
5       after commit
16152
 
set autocommit=1;
 
16152
set @@autocommit = 1;
16153
16153
insert into t1 values (6);
16154
16154
insert into t1 values (4);
16155
16155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16158
16158
4
16159
16159
5
16160
16160
6
16161
 
set autocommit=0;
 
16161
set @@autocommit = 0;
16162
16162
DROP TABLE t1;
16163
16163
495;
16164
 
create table t1 (n int not null primary key) ;
16165
 
set autocommit=0;
 
16164
create table t1 (n int not null primary key);
 
16165
set @@autocommit = 0;
16166
16166
insert into t1 values (4);
16167
16167
rollback;
16168
16168
select n, "after rollback" from t1;
16181
16181
n       after commit
16182
16182
4       after commit
16183
16183
5       after commit
16184
 
set autocommit=1;
 
16184
set @@autocommit = 1;
16185
16185
insert into t1 values (6);
16186
16186
insert into t1 values (4);
16187
16187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16190
16190
4
16191
16191
5
16192
16192
6
16193
 
set autocommit=0;
 
16193
set @@autocommit = 0;
16194
16194
DROP TABLE t1;
16195
16195
494;
16196
 
create table t1 (n int not null primary key) ;
16197
 
set autocommit=0;
 
16196
create table t1 (n int not null primary key);
 
16197
set @@autocommit = 0;
16198
16198
insert into t1 values (4);
16199
16199
rollback;
16200
16200
select n, "after rollback" from t1;
16213
16213
n       after commit
16214
16214
4       after commit
16215
16215
5       after commit
16216
 
set autocommit=1;
 
16216
set @@autocommit = 1;
16217
16217
insert into t1 values (6);
16218
16218
insert into t1 values (4);
16219
16219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16222
16222
4
16223
16223
5
16224
16224
6
16225
 
set autocommit=0;
 
16225
set @@autocommit = 0;
16226
16226
DROP TABLE t1;
16227
16227
493;
16228
 
create table t1 (n int not null primary key) ;
16229
 
set autocommit=0;
 
16228
create table t1 (n int not null primary key);
 
16229
set @@autocommit = 0;
16230
16230
insert into t1 values (4);
16231
16231
rollback;
16232
16232
select n, "after rollback" from t1;
16245
16245
n       after commit
16246
16246
4       after commit
16247
16247
5       after commit
16248
 
set autocommit=1;
 
16248
set @@autocommit = 1;
16249
16249
insert into t1 values (6);
16250
16250
insert into t1 values (4);
16251
16251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16254
16254
4
16255
16255
5
16256
16256
6
16257
 
set autocommit=0;
 
16257
set @@autocommit = 0;
16258
16258
DROP TABLE t1;
16259
16259
492;
16260
 
create table t1 (n int not null primary key) ;
16261
 
set autocommit=0;
 
16260
create table t1 (n int not null primary key);
 
16261
set @@autocommit = 0;
16262
16262
insert into t1 values (4);
16263
16263
rollback;
16264
16264
select n, "after rollback" from t1;
16277
16277
n       after commit
16278
16278
4       after commit
16279
16279
5       after commit
16280
 
set autocommit=1;
 
16280
set @@autocommit = 1;
16281
16281
insert into t1 values (6);
16282
16282
insert into t1 values (4);
16283
16283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16286
16286
4
16287
16287
5
16288
16288
6
16289
 
set autocommit=0;
 
16289
set @@autocommit = 0;
16290
16290
DROP TABLE t1;
16291
16291
491;
16292
 
create table t1 (n int not null primary key) ;
16293
 
set autocommit=0;
 
16292
create table t1 (n int not null primary key);
 
16293
set @@autocommit = 0;
16294
16294
insert into t1 values (4);
16295
16295
rollback;
16296
16296
select n, "after rollback" from t1;
16309
16309
n       after commit
16310
16310
4       after commit
16311
16311
5       after commit
16312
 
set autocommit=1;
 
16312
set @@autocommit = 1;
16313
16313
insert into t1 values (6);
16314
16314
insert into t1 values (4);
16315
16315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16318
16318
4
16319
16319
5
16320
16320
6
16321
 
set autocommit=0;
 
16321
set @@autocommit = 0;
16322
16322
DROP TABLE t1;
16323
16323
490;
16324
 
create table t1 (n int not null primary key) ;
16325
 
set autocommit=0;
 
16324
create table t1 (n int not null primary key);
 
16325
set @@autocommit = 0;
16326
16326
insert into t1 values (4);
16327
16327
rollback;
16328
16328
select n, "after rollback" from t1;
16341
16341
n       after commit
16342
16342
4       after commit
16343
16343
5       after commit
16344
 
set autocommit=1;
 
16344
set @@autocommit = 1;
16345
16345
insert into t1 values (6);
16346
16346
insert into t1 values (4);
16347
16347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16350
16350
4
16351
16351
5
16352
16352
6
16353
 
set autocommit=0;
 
16353
set @@autocommit = 0;
16354
16354
DROP TABLE t1;
16355
16355
489;
16356
 
create table t1 (n int not null primary key) ;
16357
 
set autocommit=0;
 
16356
create table t1 (n int not null primary key);
 
16357
set @@autocommit = 0;
16358
16358
insert into t1 values (4);
16359
16359
rollback;
16360
16360
select n, "after rollback" from t1;
16373
16373
n       after commit
16374
16374
4       after commit
16375
16375
5       after commit
16376
 
set autocommit=1;
 
16376
set @@autocommit = 1;
16377
16377
insert into t1 values (6);
16378
16378
insert into t1 values (4);
16379
16379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16382
16382
4
16383
16383
5
16384
16384
6
16385
 
set autocommit=0;
 
16385
set @@autocommit = 0;
16386
16386
DROP TABLE t1;
16387
16387
488;
16388
 
create table t1 (n int not null primary key) ;
16389
 
set autocommit=0;
 
16388
create table t1 (n int not null primary key);
 
16389
set @@autocommit = 0;
16390
16390
insert into t1 values (4);
16391
16391
rollback;
16392
16392
select n, "after rollback" from t1;
16405
16405
n       after commit
16406
16406
4       after commit
16407
16407
5       after commit
16408
 
set autocommit=1;
 
16408
set @@autocommit = 1;
16409
16409
insert into t1 values (6);
16410
16410
insert into t1 values (4);
16411
16411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16414
16414
4
16415
16415
5
16416
16416
6
16417
 
set autocommit=0;
 
16417
set @@autocommit = 0;
16418
16418
DROP TABLE t1;
16419
16419
487;
16420
 
create table t1 (n int not null primary key) ;
16421
 
set autocommit=0;
 
16420
create table t1 (n int not null primary key);
 
16421
set @@autocommit = 0;
16422
16422
insert into t1 values (4);
16423
16423
rollback;
16424
16424
select n, "after rollback" from t1;
16437
16437
n       after commit
16438
16438
4       after commit
16439
16439
5       after commit
16440
 
set autocommit=1;
 
16440
set @@autocommit = 1;
16441
16441
insert into t1 values (6);
16442
16442
insert into t1 values (4);
16443
16443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16446
16446
4
16447
16447
5
16448
16448
6
16449
 
set autocommit=0;
 
16449
set @@autocommit = 0;
16450
16450
DROP TABLE t1;
16451
16451
486;
16452
 
create table t1 (n int not null primary key) ;
16453
 
set autocommit=0;
 
16452
create table t1 (n int not null primary key);
 
16453
set @@autocommit = 0;
16454
16454
insert into t1 values (4);
16455
16455
rollback;
16456
16456
select n, "after rollback" from t1;
16469
16469
n       after commit
16470
16470
4       after commit
16471
16471
5       after commit
16472
 
set autocommit=1;
 
16472
set @@autocommit = 1;
16473
16473
insert into t1 values (6);
16474
16474
insert into t1 values (4);
16475
16475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16478
16478
4
16479
16479
5
16480
16480
6
16481
 
set autocommit=0;
 
16481
set @@autocommit = 0;
16482
16482
DROP TABLE t1;
16483
16483
485;
16484
 
create table t1 (n int not null primary key) ;
16485
 
set autocommit=0;
 
16484
create table t1 (n int not null primary key);
 
16485
set @@autocommit = 0;
16486
16486
insert into t1 values (4);
16487
16487
rollback;
16488
16488
select n, "after rollback" from t1;
16501
16501
n       after commit
16502
16502
4       after commit
16503
16503
5       after commit
16504
 
set autocommit=1;
 
16504
set @@autocommit = 1;
16505
16505
insert into t1 values (6);
16506
16506
insert into t1 values (4);
16507
16507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16510
16510
4
16511
16511
5
16512
16512
6
16513
 
set autocommit=0;
 
16513
set @@autocommit = 0;
16514
16514
DROP TABLE t1;
16515
16515
484;
16516
 
create table t1 (n int not null primary key) ;
16517
 
set autocommit=0;
 
16516
create table t1 (n int not null primary key);
 
16517
set @@autocommit = 0;
16518
16518
insert into t1 values (4);
16519
16519
rollback;
16520
16520
select n, "after rollback" from t1;
16533
16533
n       after commit
16534
16534
4       after commit
16535
16535
5       after commit
16536
 
set autocommit=1;
 
16536
set @@autocommit = 1;
16537
16537
insert into t1 values (6);
16538
16538
insert into t1 values (4);
16539
16539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16542
16542
4
16543
16543
5
16544
16544
6
16545
 
set autocommit=0;
 
16545
set @@autocommit = 0;
16546
16546
DROP TABLE t1;
16547
16547
483;
16548
 
create table t1 (n int not null primary key) ;
16549
 
set autocommit=0;
 
16548
create table t1 (n int not null primary key);
 
16549
set @@autocommit = 0;
16550
16550
insert into t1 values (4);
16551
16551
rollback;
16552
16552
select n, "after rollback" from t1;
16565
16565
n       after commit
16566
16566
4       after commit
16567
16567
5       after commit
16568
 
set autocommit=1;
 
16568
set @@autocommit = 1;
16569
16569
insert into t1 values (6);
16570
16570
insert into t1 values (4);
16571
16571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16574
16574
4
16575
16575
5
16576
16576
6
16577
 
set autocommit=0;
 
16577
set @@autocommit = 0;
16578
16578
DROP TABLE t1;
16579
16579
482;
16580
 
create table t1 (n int not null primary key) ;
16581
 
set autocommit=0;
 
16580
create table t1 (n int not null primary key);
 
16581
set @@autocommit = 0;
16582
16582
insert into t1 values (4);
16583
16583
rollback;
16584
16584
select n, "after rollback" from t1;
16597
16597
n       after commit
16598
16598
4       after commit
16599
16599
5       after commit
16600
 
set autocommit=1;
 
16600
set @@autocommit = 1;
16601
16601
insert into t1 values (6);
16602
16602
insert into t1 values (4);
16603
16603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16606
16606
4
16607
16607
5
16608
16608
6
16609
 
set autocommit=0;
 
16609
set @@autocommit = 0;
16610
16610
DROP TABLE t1;
16611
16611
481;
16612
 
create table t1 (n int not null primary key) ;
16613
 
set autocommit=0;
 
16612
create table t1 (n int not null primary key);
 
16613
set @@autocommit = 0;
16614
16614
insert into t1 values (4);
16615
16615
rollback;
16616
16616
select n, "after rollback" from t1;
16629
16629
n       after commit
16630
16630
4       after commit
16631
16631
5       after commit
16632
 
set autocommit=1;
 
16632
set @@autocommit = 1;
16633
16633
insert into t1 values (6);
16634
16634
insert into t1 values (4);
16635
16635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16638
16638
4
16639
16639
5
16640
16640
6
16641
 
set autocommit=0;
 
16641
set @@autocommit = 0;
16642
16642
DROP TABLE t1;
16643
16643
480;
16644
 
create table t1 (n int not null primary key) ;
16645
 
set autocommit=0;
 
16644
create table t1 (n int not null primary key);
 
16645
set @@autocommit = 0;
16646
16646
insert into t1 values (4);
16647
16647
rollback;
16648
16648
select n, "after rollback" from t1;
16661
16661
n       after commit
16662
16662
4       after commit
16663
16663
5       after commit
16664
 
set autocommit=1;
 
16664
set @@autocommit = 1;
16665
16665
insert into t1 values (6);
16666
16666
insert into t1 values (4);
16667
16667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16670
16670
4
16671
16671
5
16672
16672
6
16673
 
set autocommit=0;
 
16673
set @@autocommit = 0;
16674
16674
DROP TABLE t1;
16675
16675
479;
16676
 
create table t1 (n int not null primary key) ;
16677
 
set autocommit=0;
 
16676
create table t1 (n int not null primary key);
 
16677
set @@autocommit = 0;
16678
16678
insert into t1 values (4);
16679
16679
rollback;
16680
16680
select n, "after rollback" from t1;
16693
16693
n       after commit
16694
16694
4       after commit
16695
16695
5       after commit
16696
 
set autocommit=1;
 
16696
set @@autocommit = 1;
16697
16697
insert into t1 values (6);
16698
16698
insert into t1 values (4);
16699
16699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16702
16702
4
16703
16703
5
16704
16704
6
16705
 
set autocommit=0;
 
16705
set @@autocommit = 0;
16706
16706
DROP TABLE t1;
16707
16707
478;
16708
 
create table t1 (n int not null primary key) ;
16709
 
set autocommit=0;
 
16708
create table t1 (n int not null primary key);
 
16709
set @@autocommit = 0;
16710
16710
insert into t1 values (4);
16711
16711
rollback;
16712
16712
select n, "after rollback" from t1;
16725
16725
n       after commit
16726
16726
4       after commit
16727
16727
5       after commit
16728
 
set autocommit=1;
 
16728
set @@autocommit = 1;
16729
16729
insert into t1 values (6);
16730
16730
insert into t1 values (4);
16731
16731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16734
16734
4
16735
16735
5
16736
16736
6
16737
 
set autocommit=0;
 
16737
set @@autocommit = 0;
16738
16738
DROP TABLE t1;
16739
16739
477;
16740
 
create table t1 (n int not null primary key) ;
16741
 
set autocommit=0;
 
16740
create table t1 (n int not null primary key);
 
16741
set @@autocommit = 0;
16742
16742
insert into t1 values (4);
16743
16743
rollback;
16744
16744
select n, "after rollback" from t1;
16757
16757
n       after commit
16758
16758
4       after commit
16759
16759
5       after commit
16760
 
set autocommit=1;
 
16760
set @@autocommit = 1;
16761
16761
insert into t1 values (6);
16762
16762
insert into t1 values (4);
16763
16763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16766
16766
4
16767
16767
5
16768
16768
6
16769
 
set autocommit=0;
 
16769
set @@autocommit = 0;
16770
16770
DROP TABLE t1;
16771
16771
476;
16772
 
create table t1 (n int not null primary key) ;
16773
 
set autocommit=0;
 
16772
create table t1 (n int not null primary key);
 
16773
set @@autocommit = 0;
16774
16774
insert into t1 values (4);
16775
16775
rollback;
16776
16776
select n, "after rollback" from t1;
16789
16789
n       after commit
16790
16790
4       after commit
16791
16791
5       after commit
16792
 
set autocommit=1;
 
16792
set @@autocommit = 1;
16793
16793
insert into t1 values (6);
16794
16794
insert into t1 values (4);
16795
16795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16798
16798
4
16799
16799
5
16800
16800
6
16801
 
set autocommit=0;
 
16801
set @@autocommit = 0;
16802
16802
DROP TABLE t1;
16803
16803
475;
16804
 
create table t1 (n int not null primary key) ;
16805
 
set autocommit=0;
 
16804
create table t1 (n int not null primary key);
 
16805
set @@autocommit = 0;
16806
16806
insert into t1 values (4);
16807
16807
rollback;
16808
16808
select n, "after rollback" from t1;
16821
16821
n       after commit
16822
16822
4       after commit
16823
16823
5       after commit
16824
 
set autocommit=1;
 
16824
set @@autocommit = 1;
16825
16825
insert into t1 values (6);
16826
16826
insert into t1 values (4);
16827
16827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16830
16830
4
16831
16831
5
16832
16832
6
16833
 
set autocommit=0;
 
16833
set @@autocommit = 0;
16834
16834
DROP TABLE t1;
16835
16835
474;
16836
 
create table t1 (n int not null primary key) ;
16837
 
set autocommit=0;
 
16836
create table t1 (n int not null primary key);
 
16837
set @@autocommit = 0;
16838
16838
insert into t1 values (4);
16839
16839
rollback;
16840
16840
select n, "after rollback" from t1;
16853
16853
n       after commit
16854
16854
4       after commit
16855
16855
5       after commit
16856
 
set autocommit=1;
 
16856
set @@autocommit = 1;
16857
16857
insert into t1 values (6);
16858
16858
insert into t1 values (4);
16859
16859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16862
16862
4
16863
16863
5
16864
16864
6
16865
 
set autocommit=0;
 
16865
set @@autocommit = 0;
16866
16866
DROP TABLE t1;
16867
16867
473;
16868
 
create table t1 (n int not null primary key) ;
16869
 
set autocommit=0;
 
16868
create table t1 (n int not null primary key);
 
16869
set @@autocommit = 0;
16870
16870
insert into t1 values (4);
16871
16871
rollback;
16872
16872
select n, "after rollback" from t1;
16885
16885
n       after commit
16886
16886
4       after commit
16887
16887
5       after commit
16888
 
set autocommit=1;
 
16888
set @@autocommit = 1;
16889
16889
insert into t1 values (6);
16890
16890
insert into t1 values (4);
16891
16891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16894
16894
4
16895
16895
5
16896
16896
6
16897
 
set autocommit=0;
 
16897
set @@autocommit = 0;
16898
16898
DROP TABLE t1;
16899
16899
472;
16900
 
create table t1 (n int not null primary key) ;
16901
 
set autocommit=0;
 
16900
create table t1 (n int not null primary key);
 
16901
set @@autocommit = 0;
16902
16902
insert into t1 values (4);
16903
16903
rollback;
16904
16904
select n, "after rollback" from t1;
16917
16917
n       after commit
16918
16918
4       after commit
16919
16919
5       after commit
16920
 
set autocommit=1;
 
16920
set @@autocommit = 1;
16921
16921
insert into t1 values (6);
16922
16922
insert into t1 values (4);
16923
16923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16926
16926
4
16927
16927
5
16928
16928
6
16929
 
set autocommit=0;
 
16929
set @@autocommit = 0;
16930
16930
DROP TABLE t1;
16931
16931
471;
16932
 
create table t1 (n int not null primary key) ;
16933
 
set autocommit=0;
 
16932
create table t1 (n int not null primary key);
 
16933
set @@autocommit = 0;
16934
16934
insert into t1 values (4);
16935
16935
rollback;
16936
16936
select n, "after rollback" from t1;
16949
16949
n       after commit
16950
16950
4       after commit
16951
16951
5       after commit
16952
 
set autocommit=1;
 
16952
set @@autocommit = 1;
16953
16953
insert into t1 values (6);
16954
16954
insert into t1 values (4);
16955
16955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16958
16958
4
16959
16959
5
16960
16960
6
16961
 
set autocommit=0;
 
16961
set @@autocommit = 0;
16962
16962
DROP TABLE t1;
16963
16963
470;
16964
 
create table t1 (n int not null primary key) ;
16965
 
set autocommit=0;
 
16964
create table t1 (n int not null primary key);
 
16965
set @@autocommit = 0;
16966
16966
insert into t1 values (4);
16967
16967
rollback;
16968
16968
select n, "after rollback" from t1;
16981
16981
n       after commit
16982
16982
4       after commit
16983
16983
5       after commit
16984
 
set autocommit=1;
 
16984
set @@autocommit = 1;
16985
16985
insert into t1 values (6);
16986
16986
insert into t1 values (4);
16987
16987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
16990
16990
4
16991
16991
5
16992
16992
6
16993
 
set autocommit=0;
 
16993
set @@autocommit = 0;
16994
16994
DROP TABLE t1;
16995
16995
469;
16996
 
create table t1 (n int not null primary key) ;
16997
 
set autocommit=0;
 
16996
create table t1 (n int not null primary key);
 
16997
set @@autocommit = 0;
16998
16998
insert into t1 values (4);
16999
16999
rollback;
17000
17000
select n, "after rollback" from t1;
17013
17013
n       after commit
17014
17014
4       after commit
17015
17015
5       after commit
17016
 
set autocommit=1;
 
17016
set @@autocommit = 1;
17017
17017
insert into t1 values (6);
17018
17018
insert into t1 values (4);
17019
17019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17022
17022
4
17023
17023
5
17024
17024
6
17025
 
set autocommit=0;
 
17025
set @@autocommit = 0;
17026
17026
DROP TABLE t1;
17027
17027
468;
17028
 
create table t1 (n int not null primary key) ;
17029
 
set autocommit=0;
 
17028
create table t1 (n int not null primary key);
 
17029
set @@autocommit = 0;
17030
17030
insert into t1 values (4);
17031
17031
rollback;
17032
17032
select n, "after rollback" from t1;
17045
17045
n       after commit
17046
17046
4       after commit
17047
17047
5       after commit
17048
 
set autocommit=1;
 
17048
set @@autocommit = 1;
17049
17049
insert into t1 values (6);
17050
17050
insert into t1 values (4);
17051
17051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17054
17054
4
17055
17055
5
17056
17056
6
17057
 
set autocommit=0;
 
17057
set @@autocommit = 0;
17058
17058
DROP TABLE t1;
17059
17059
467;
17060
 
create table t1 (n int not null primary key) ;
17061
 
set autocommit=0;
 
17060
create table t1 (n int not null primary key);
 
17061
set @@autocommit = 0;
17062
17062
insert into t1 values (4);
17063
17063
rollback;
17064
17064
select n, "after rollback" from t1;
17077
17077
n       after commit
17078
17078
4       after commit
17079
17079
5       after commit
17080
 
set autocommit=1;
 
17080
set @@autocommit = 1;
17081
17081
insert into t1 values (6);
17082
17082
insert into t1 values (4);
17083
17083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17086
17086
4
17087
17087
5
17088
17088
6
17089
 
set autocommit=0;
 
17089
set @@autocommit = 0;
17090
17090
DROP TABLE t1;
17091
17091
466;
17092
 
create table t1 (n int not null primary key) ;
17093
 
set autocommit=0;
 
17092
create table t1 (n int not null primary key);
 
17093
set @@autocommit = 0;
17094
17094
insert into t1 values (4);
17095
17095
rollback;
17096
17096
select n, "after rollback" from t1;
17109
17109
n       after commit
17110
17110
4       after commit
17111
17111
5       after commit
17112
 
set autocommit=1;
 
17112
set @@autocommit = 1;
17113
17113
insert into t1 values (6);
17114
17114
insert into t1 values (4);
17115
17115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17118
17118
4
17119
17119
5
17120
17120
6
17121
 
set autocommit=0;
 
17121
set @@autocommit = 0;
17122
17122
DROP TABLE t1;
17123
17123
465;
17124
 
create table t1 (n int not null primary key) ;
17125
 
set autocommit=0;
 
17124
create table t1 (n int not null primary key);
 
17125
set @@autocommit = 0;
17126
17126
insert into t1 values (4);
17127
17127
rollback;
17128
17128
select n, "after rollback" from t1;
17141
17141
n       after commit
17142
17142
4       after commit
17143
17143
5       after commit
17144
 
set autocommit=1;
 
17144
set @@autocommit = 1;
17145
17145
insert into t1 values (6);
17146
17146
insert into t1 values (4);
17147
17147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17150
17150
4
17151
17151
5
17152
17152
6
17153
 
set autocommit=0;
 
17153
set @@autocommit = 0;
17154
17154
DROP TABLE t1;
17155
17155
464;
17156
 
create table t1 (n int not null primary key) ;
17157
 
set autocommit=0;
 
17156
create table t1 (n int not null primary key);
 
17157
set @@autocommit = 0;
17158
17158
insert into t1 values (4);
17159
17159
rollback;
17160
17160
select n, "after rollback" from t1;
17173
17173
n       after commit
17174
17174
4       after commit
17175
17175
5       after commit
17176
 
set autocommit=1;
 
17176
set @@autocommit = 1;
17177
17177
insert into t1 values (6);
17178
17178
insert into t1 values (4);
17179
17179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17182
17182
4
17183
17183
5
17184
17184
6
17185
 
set autocommit=0;
 
17185
set @@autocommit = 0;
17186
17186
DROP TABLE t1;
17187
17187
463;
17188
 
create table t1 (n int not null primary key) ;
17189
 
set autocommit=0;
 
17188
create table t1 (n int not null primary key);
 
17189
set @@autocommit = 0;
17190
17190
insert into t1 values (4);
17191
17191
rollback;
17192
17192
select n, "after rollback" from t1;
17205
17205
n       after commit
17206
17206
4       after commit
17207
17207
5       after commit
17208
 
set autocommit=1;
 
17208
set @@autocommit = 1;
17209
17209
insert into t1 values (6);
17210
17210
insert into t1 values (4);
17211
17211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17214
17214
4
17215
17215
5
17216
17216
6
17217
 
set autocommit=0;
 
17217
set @@autocommit = 0;
17218
17218
DROP TABLE t1;
17219
17219
462;
17220
 
create table t1 (n int not null primary key) ;
17221
 
set autocommit=0;
 
17220
create table t1 (n int not null primary key);
 
17221
set @@autocommit = 0;
17222
17222
insert into t1 values (4);
17223
17223
rollback;
17224
17224
select n, "after rollback" from t1;
17237
17237
n       after commit
17238
17238
4       after commit
17239
17239
5       after commit
17240
 
set autocommit=1;
 
17240
set @@autocommit = 1;
17241
17241
insert into t1 values (6);
17242
17242
insert into t1 values (4);
17243
17243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17246
17246
4
17247
17247
5
17248
17248
6
17249
 
set autocommit=0;
 
17249
set @@autocommit = 0;
17250
17250
DROP TABLE t1;
17251
17251
461;
17252
 
create table t1 (n int not null primary key) ;
17253
 
set autocommit=0;
 
17252
create table t1 (n int not null primary key);
 
17253
set @@autocommit = 0;
17254
17254
insert into t1 values (4);
17255
17255
rollback;
17256
17256
select n, "after rollback" from t1;
17269
17269
n       after commit
17270
17270
4       after commit
17271
17271
5       after commit
17272
 
set autocommit=1;
 
17272
set @@autocommit = 1;
17273
17273
insert into t1 values (6);
17274
17274
insert into t1 values (4);
17275
17275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17278
17278
4
17279
17279
5
17280
17280
6
17281
 
set autocommit=0;
 
17281
set @@autocommit = 0;
17282
17282
DROP TABLE t1;
17283
17283
460;
17284
 
create table t1 (n int not null primary key) ;
17285
 
set autocommit=0;
 
17284
create table t1 (n int not null primary key);
 
17285
set @@autocommit = 0;
17286
17286
insert into t1 values (4);
17287
17287
rollback;
17288
17288
select n, "after rollback" from t1;
17301
17301
n       after commit
17302
17302
4       after commit
17303
17303
5       after commit
17304
 
set autocommit=1;
 
17304
set @@autocommit = 1;
17305
17305
insert into t1 values (6);
17306
17306
insert into t1 values (4);
17307
17307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17310
17310
4
17311
17311
5
17312
17312
6
17313
 
set autocommit=0;
 
17313
set @@autocommit = 0;
17314
17314
DROP TABLE t1;
17315
17315
459;
17316
 
create table t1 (n int not null primary key) ;
17317
 
set autocommit=0;
 
17316
create table t1 (n int not null primary key);
 
17317
set @@autocommit = 0;
17318
17318
insert into t1 values (4);
17319
17319
rollback;
17320
17320
select n, "after rollback" from t1;
17333
17333
n       after commit
17334
17334
4       after commit
17335
17335
5       after commit
17336
 
set autocommit=1;
 
17336
set @@autocommit = 1;
17337
17337
insert into t1 values (6);
17338
17338
insert into t1 values (4);
17339
17339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17342
17342
4
17343
17343
5
17344
17344
6
17345
 
set autocommit=0;
 
17345
set @@autocommit = 0;
17346
17346
DROP TABLE t1;
17347
17347
458;
17348
 
create table t1 (n int not null primary key) ;
17349
 
set autocommit=0;
 
17348
create table t1 (n int not null primary key);
 
17349
set @@autocommit = 0;
17350
17350
insert into t1 values (4);
17351
17351
rollback;
17352
17352
select n, "after rollback" from t1;
17365
17365
n       after commit
17366
17366
4       after commit
17367
17367
5       after commit
17368
 
set autocommit=1;
 
17368
set @@autocommit = 1;
17369
17369
insert into t1 values (6);
17370
17370
insert into t1 values (4);
17371
17371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17374
17374
4
17375
17375
5
17376
17376
6
17377
 
set autocommit=0;
 
17377
set @@autocommit = 0;
17378
17378
DROP TABLE t1;
17379
17379
457;
17380
 
create table t1 (n int not null primary key) ;
17381
 
set autocommit=0;
 
17380
create table t1 (n int not null primary key);
 
17381
set @@autocommit = 0;
17382
17382
insert into t1 values (4);
17383
17383
rollback;
17384
17384
select n, "after rollback" from t1;
17397
17397
n       after commit
17398
17398
4       after commit
17399
17399
5       after commit
17400
 
set autocommit=1;
 
17400
set @@autocommit = 1;
17401
17401
insert into t1 values (6);
17402
17402
insert into t1 values (4);
17403
17403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17406
17406
4
17407
17407
5
17408
17408
6
17409
 
set autocommit=0;
 
17409
set @@autocommit = 0;
17410
17410
DROP TABLE t1;
17411
17411
456;
17412
 
create table t1 (n int not null primary key) ;
17413
 
set autocommit=0;
 
17412
create table t1 (n int not null primary key);
 
17413
set @@autocommit = 0;
17414
17414
insert into t1 values (4);
17415
17415
rollback;
17416
17416
select n, "after rollback" from t1;
17429
17429
n       after commit
17430
17430
4       after commit
17431
17431
5       after commit
17432
 
set autocommit=1;
 
17432
set @@autocommit = 1;
17433
17433
insert into t1 values (6);
17434
17434
insert into t1 values (4);
17435
17435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17438
17438
4
17439
17439
5
17440
17440
6
17441
 
set autocommit=0;
 
17441
set @@autocommit = 0;
17442
17442
DROP TABLE t1;
17443
17443
455;
17444
 
create table t1 (n int not null primary key) ;
17445
 
set autocommit=0;
 
17444
create table t1 (n int not null primary key);
 
17445
set @@autocommit = 0;
17446
17446
insert into t1 values (4);
17447
17447
rollback;
17448
17448
select n, "after rollback" from t1;
17461
17461
n       after commit
17462
17462
4       after commit
17463
17463
5       after commit
17464
 
set autocommit=1;
 
17464
set @@autocommit = 1;
17465
17465
insert into t1 values (6);
17466
17466
insert into t1 values (4);
17467
17467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17470
17470
4
17471
17471
5
17472
17472
6
17473
 
set autocommit=0;
 
17473
set @@autocommit = 0;
17474
17474
DROP TABLE t1;
17475
17475
454;
17476
 
create table t1 (n int not null primary key) ;
17477
 
set autocommit=0;
 
17476
create table t1 (n int not null primary key);
 
17477
set @@autocommit = 0;
17478
17478
insert into t1 values (4);
17479
17479
rollback;
17480
17480
select n, "after rollback" from t1;
17493
17493
n       after commit
17494
17494
4       after commit
17495
17495
5       after commit
17496
 
set autocommit=1;
 
17496
set @@autocommit = 1;
17497
17497
insert into t1 values (6);
17498
17498
insert into t1 values (4);
17499
17499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17502
17502
4
17503
17503
5
17504
17504
6
17505
 
set autocommit=0;
 
17505
set @@autocommit = 0;
17506
17506
DROP TABLE t1;
17507
17507
453;
17508
 
create table t1 (n int not null primary key) ;
17509
 
set autocommit=0;
 
17508
create table t1 (n int not null primary key);
 
17509
set @@autocommit = 0;
17510
17510
insert into t1 values (4);
17511
17511
rollback;
17512
17512
select n, "after rollback" from t1;
17525
17525
n       after commit
17526
17526
4       after commit
17527
17527
5       after commit
17528
 
set autocommit=1;
 
17528
set @@autocommit = 1;
17529
17529
insert into t1 values (6);
17530
17530
insert into t1 values (4);
17531
17531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17534
17534
4
17535
17535
5
17536
17536
6
17537
 
set autocommit=0;
 
17537
set @@autocommit = 0;
17538
17538
DROP TABLE t1;
17539
17539
452;
17540
 
create table t1 (n int not null primary key) ;
17541
 
set autocommit=0;
 
17540
create table t1 (n int not null primary key);
 
17541
set @@autocommit = 0;
17542
17542
insert into t1 values (4);
17543
17543
rollback;
17544
17544
select n, "after rollback" from t1;
17557
17557
n       after commit
17558
17558
4       after commit
17559
17559
5       after commit
17560
 
set autocommit=1;
 
17560
set @@autocommit = 1;
17561
17561
insert into t1 values (6);
17562
17562
insert into t1 values (4);
17563
17563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17566
17566
4
17567
17567
5
17568
17568
6
17569
 
set autocommit=0;
 
17569
set @@autocommit = 0;
17570
17570
DROP TABLE t1;
17571
17571
451;
17572
 
create table t1 (n int not null primary key) ;
17573
 
set autocommit=0;
 
17572
create table t1 (n int not null primary key);
 
17573
set @@autocommit = 0;
17574
17574
insert into t1 values (4);
17575
17575
rollback;
17576
17576
select n, "after rollback" from t1;
17589
17589
n       after commit
17590
17590
4       after commit
17591
17591
5       after commit
17592
 
set autocommit=1;
 
17592
set @@autocommit = 1;
17593
17593
insert into t1 values (6);
17594
17594
insert into t1 values (4);
17595
17595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17598
17598
4
17599
17599
5
17600
17600
6
17601
 
set autocommit=0;
 
17601
set @@autocommit = 0;
17602
17602
DROP TABLE t1;
17603
17603
450;
17604
 
create table t1 (n int not null primary key) ;
17605
 
set autocommit=0;
 
17604
create table t1 (n int not null primary key);
 
17605
set @@autocommit = 0;
17606
17606
insert into t1 values (4);
17607
17607
rollback;
17608
17608
select n, "after rollback" from t1;
17621
17621
n       after commit
17622
17622
4       after commit
17623
17623
5       after commit
17624
 
set autocommit=1;
 
17624
set @@autocommit = 1;
17625
17625
insert into t1 values (6);
17626
17626
insert into t1 values (4);
17627
17627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17630
17630
4
17631
17631
5
17632
17632
6
17633
 
set autocommit=0;
 
17633
set @@autocommit = 0;
17634
17634
DROP TABLE t1;
17635
17635
449;
17636
 
create table t1 (n int not null primary key) ;
17637
 
set autocommit=0;
 
17636
create table t1 (n int not null primary key);
 
17637
set @@autocommit = 0;
17638
17638
insert into t1 values (4);
17639
17639
rollback;
17640
17640
select n, "after rollback" from t1;
17653
17653
n       after commit
17654
17654
4       after commit
17655
17655
5       after commit
17656
 
set autocommit=1;
 
17656
set @@autocommit = 1;
17657
17657
insert into t1 values (6);
17658
17658
insert into t1 values (4);
17659
17659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17662
17662
4
17663
17663
5
17664
17664
6
17665
 
set autocommit=0;
 
17665
set @@autocommit = 0;
17666
17666
DROP TABLE t1;
17667
17667
448;
17668
 
create table t1 (n int not null primary key) ;
17669
 
set autocommit=0;
 
17668
create table t1 (n int not null primary key);
 
17669
set @@autocommit = 0;
17670
17670
insert into t1 values (4);
17671
17671
rollback;
17672
17672
select n, "after rollback" from t1;
17685
17685
n       after commit
17686
17686
4       after commit
17687
17687
5       after commit
17688
 
set autocommit=1;
 
17688
set @@autocommit = 1;
17689
17689
insert into t1 values (6);
17690
17690
insert into t1 values (4);
17691
17691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17694
17694
4
17695
17695
5
17696
17696
6
17697
 
set autocommit=0;
 
17697
set @@autocommit = 0;
17698
17698
DROP TABLE t1;
17699
17699
447;
17700
 
create table t1 (n int not null primary key) ;
17701
 
set autocommit=0;
 
17700
create table t1 (n int not null primary key);
 
17701
set @@autocommit = 0;
17702
17702
insert into t1 values (4);
17703
17703
rollback;
17704
17704
select n, "after rollback" from t1;
17717
17717
n       after commit
17718
17718
4       after commit
17719
17719
5       after commit
17720
 
set autocommit=1;
 
17720
set @@autocommit = 1;
17721
17721
insert into t1 values (6);
17722
17722
insert into t1 values (4);
17723
17723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17726
17726
4
17727
17727
5
17728
17728
6
17729
 
set autocommit=0;
 
17729
set @@autocommit = 0;
17730
17730
DROP TABLE t1;
17731
17731
446;
17732
 
create table t1 (n int not null primary key) ;
17733
 
set autocommit=0;
 
17732
create table t1 (n int not null primary key);
 
17733
set @@autocommit = 0;
17734
17734
insert into t1 values (4);
17735
17735
rollback;
17736
17736
select n, "after rollback" from t1;
17749
17749
n       after commit
17750
17750
4       after commit
17751
17751
5       after commit
17752
 
set autocommit=1;
 
17752
set @@autocommit = 1;
17753
17753
insert into t1 values (6);
17754
17754
insert into t1 values (4);
17755
17755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17758
17758
4
17759
17759
5
17760
17760
6
17761
 
set autocommit=0;
 
17761
set @@autocommit = 0;
17762
17762
DROP TABLE t1;
17763
17763
445;
17764
 
create table t1 (n int not null primary key) ;
17765
 
set autocommit=0;
 
17764
create table t1 (n int not null primary key);
 
17765
set @@autocommit = 0;
17766
17766
insert into t1 values (4);
17767
17767
rollback;
17768
17768
select n, "after rollback" from t1;
17781
17781
n       after commit
17782
17782
4       after commit
17783
17783
5       after commit
17784
 
set autocommit=1;
 
17784
set @@autocommit = 1;
17785
17785
insert into t1 values (6);
17786
17786
insert into t1 values (4);
17787
17787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17790
17790
4
17791
17791
5
17792
17792
6
17793
 
set autocommit=0;
 
17793
set @@autocommit = 0;
17794
17794
DROP TABLE t1;
17795
17795
444;
17796
 
create table t1 (n int not null primary key) ;
17797
 
set autocommit=0;
 
17796
create table t1 (n int not null primary key);
 
17797
set @@autocommit = 0;
17798
17798
insert into t1 values (4);
17799
17799
rollback;
17800
17800
select n, "after rollback" from t1;
17813
17813
n       after commit
17814
17814
4       after commit
17815
17815
5       after commit
17816
 
set autocommit=1;
 
17816
set @@autocommit = 1;
17817
17817
insert into t1 values (6);
17818
17818
insert into t1 values (4);
17819
17819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17822
17822
4
17823
17823
5
17824
17824
6
17825
 
set autocommit=0;
 
17825
set @@autocommit = 0;
17826
17826
DROP TABLE t1;
17827
17827
443;
17828
 
create table t1 (n int not null primary key) ;
17829
 
set autocommit=0;
 
17828
create table t1 (n int not null primary key);
 
17829
set @@autocommit = 0;
17830
17830
insert into t1 values (4);
17831
17831
rollback;
17832
17832
select n, "after rollback" from t1;
17845
17845
n       after commit
17846
17846
4       after commit
17847
17847
5       after commit
17848
 
set autocommit=1;
 
17848
set @@autocommit = 1;
17849
17849
insert into t1 values (6);
17850
17850
insert into t1 values (4);
17851
17851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17854
17854
4
17855
17855
5
17856
17856
6
17857
 
set autocommit=0;
 
17857
set @@autocommit = 0;
17858
17858
DROP TABLE t1;
17859
17859
442;
17860
 
create table t1 (n int not null primary key) ;
17861
 
set autocommit=0;
 
17860
create table t1 (n int not null primary key);
 
17861
set @@autocommit = 0;
17862
17862
insert into t1 values (4);
17863
17863
rollback;
17864
17864
select n, "after rollback" from t1;
17877
17877
n       after commit
17878
17878
4       after commit
17879
17879
5       after commit
17880
 
set autocommit=1;
 
17880
set @@autocommit = 1;
17881
17881
insert into t1 values (6);
17882
17882
insert into t1 values (4);
17883
17883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17886
17886
4
17887
17887
5
17888
17888
6
17889
 
set autocommit=0;
 
17889
set @@autocommit = 0;
17890
17890
DROP TABLE t1;
17891
17891
441;
17892
 
create table t1 (n int not null primary key) ;
17893
 
set autocommit=0;
 
17892
create table t1 (n int not null primary key);
 
17893
set @@autocommit = 0;
17894
17894
insert into t1 values (4);
17895
17895
rollback;
17896
17896
select n, "after rollback" from t1;
17909
17909
n       after commit
17910
17910
4       after commit
17911
17911
5       after commit
17912
 
set autocommit=1;
 
17912
set @@autocommit = 1;
17913
17913
insert into t1 values (6);
17914
17914
insert into t1 values (4);
17915
17915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17918
17918
4
17919
17919
5
17920
17920
6
17921
 
set autocommit=0;
 
17921
set @@autocommit = 0;
17922
17922
DROP TABLE t1;
17923
17923
440;
17924
 
create table t1 (n int not null primary key) ;
17925
 
set autocommit=0;
 
17924
create table t1 (n int not null primary key);
 
17925
set @@autocommit = 0;
17926
17926
insert into t1 values (4);
17927
17927
rollback;
17928
17928
select n, "after rollback" from t1;
17941
17941
n       after commit
17942
17942
4       after commit
17943
17943
5       after commit
17944
 
set autocommit=1;
 
17944
set @@autocommit = 1;
17945
17945
insert into t1 values (6);
17946
17946
insert into t1 values (4);
17947
17947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17950
17950
4
17951
17951
5
17952
17952
6
17953
 
set autocommit=0;
 
17953
set @@autocommit = 0;
17954
17954
DROP TABLE t1;
17955
17955
439;
17956
 
create table t1 (n int not null primary key) ;
17957
 
set autocommit=0;
 
17956
create table t1 (n int not null primary key);
 
17957
set @@autocommit = 0;
17958
17958
insert into t1 values (4);
17959
17959
rollback;
17960
17960
select n, "after rollback" from t1;
17973
17973
n       after commit
17974
17974
4       after commit
17975
17975
5       after commit
17976
 
set autocommit=1;
 
17976
set @@autocommit = 1;
17977
17977
insert into t1 values (6);
17978
17978
insert into t1 values (4);
17979
17979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
17982
17982
4
17983
17983
5
17984
17984
6
17985
 
set autocommit=0;
 
17985
set @@autocommit = 0;
17986
17986
DROP TABLE t1;
17987
17987
438;
17988
 
create table t1 (n int not null primary key) ;
17989
 
set autocommit=0;
 
17988
create table t1 (n int not null primary key);
 
17989
set @@autocommit = 0;
17990
17990
insert into t1 values (4);
17991
17991
rollback;
17992
17992
select n, "after rollback" from t1;
18005
18005
n       after commit
18006
18006
4       after commit
18007
18007
5       after commit
18008
 
set autocommit=1;
 
18008
set @@autocommit = 1;
18009
18009
insert into t1 values (6);
18010
18010
insert into t1 values (4);
18011
18011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18014
18014
4
18015
18015
5
18016
18016
6
18017
 
set autocommit=0;
 
18017
set @@autocommit = 0;
18018
18018
DROP TABLE t1;
18019
18019
437;
18020
 
create table t1 (n int not null primary key) ;
18021
 
set autocommit=0;
 
18020
create table t1 (n int not null primary key);
 
18021
set @@autocommit = 0;
18022
18022
insert into t1 values (4);
18023
18023
rollback;
18024
18024
select n, "after rollback" from t1;
18037
18037
n       after commit
18038
18038
4       after commit
18039
18039
5       after commit
18040
 
set autocommit=1;
 
18040
set @@autocommit = 1;
18041
18041
insert into t1 values (6);
18042
18042
insert into t1 values (4);
18043
18043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18046
18046
4
18047
18047
5
18048
18048
6
18049
 
set autocommit=0;
 
18049
set @@autocommit = 0;
18050
18050
DROP TABLE t1;
18051
18051
436;
18052
 
create table t1 (n int not null primary key) ;
18053
 
set autocommit=0;
 
18052
create table t1 (n int not null primary key);
 
18053
set @@autocommit = 0;
18054
18054
insert into t1 values (4);
18055
18055
rollback;
18056
18056
select n, "after rollback" from t1;
18069
18069
n       after commit
18070
18070
4       after commit
18071
18071
5       after commit
18072
 
set autocommit=1;
 
18072
set @@autocommit = 1;
18073
18073
insert into t1 values (6);
18074
18074
insert into t1 values (4);
18075
18075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18078
18078
4
18079
18079
5
18080
18080
6
18081
 
set autocommit=0;
 
18081
set @@autocommit = 0;
18082
18082
DROP TABLE t1;
18083
18083
435;
18084
 
create table t1 (n int not null primary key) ;
18085
 
set autocommit=0;
 
18084
create table t1 (n int not null primary key);
 
18085
set @@autocommit = 0;
18086
18086
insert into t1 values (4);
18087
18087
rollback;
18088
18088
select n, "after rollback" from t1;
18101
18101
n       after commit
18102
18102
4       after commit
18103
18103
5       after commit
18104
 
set autocommit=1;
 
18104
set @@autocommit = 1;
18105
18105
insert into t1 values (6);
18106
18106
insert into t1 values (4);
18107
18107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18110
18110
4
18111
18111
5
18112
18112
6
18113
 
set autocommit=0;
 
18113
set @@autocommit = 0;
18114
18114
DROP TABLE t1;
18115
18115
434;
18116
 
create table t1 (n int not null primary key) ;
18117
 
set autocommit=0;
 
18116
create table t1 (n int not null primary key);
 
18117
set @@autocommit = 0;
18118
18118
insert into t1 values (4);
18119
18119
rollback;
18120
18120
select n, "after rollback" from t1;
18133
18133
n       after commit
18134
18134
4       after commit
18135
18135
5       after commit
18136
 
set autocommit=1;
 
18136
set @@autocommit = 1;
18137
18137
insert into t1 values (6);
18138
18138
insert into t1 values (4);
18139
18139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18142
18142
4
18143
18143
5
18144
18144
6
18145
 
set autocommit=0;
 
18145
set @@autocommit = 0;
18146
18146
DROP TABLE t1;
18147
18147
433;
18148
 
create table t1 (n int not null primary key) ;
18149
 
set autocommit=0;
 
18148
create table t1 (n int not null primary key);
 
18149
set @@autocommit = 0;
18150
18150
insert into t1 values (4);
18151
18151
rollback;
18152
18152
select n, "after rollback" from t1;
18165
18165
n       after commit
18166
18166
4       after commit
18167
18167
5       after commit
18168
 
set autocommit=1;
 
18168
set @@autocommit = 1;
18169
18169
insert into t1 values (6);
18170
18170
insert into t1 values (4);
18171
18171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18174
18174
4
18175
18175
5
18176
18176
6
18177
 
set autocommit=0;
 
18177
set @@autocommit = 0;
18178
18178
DROP TABLE t1;
18179
18179
432;
18180
 
create table t1 (n int not null primary key) ;
18181
 
set autocommit=0;
 
18180
create table t1 (n int not null primary key);
 
18181
set @@autocommit = 0;
18182
18182
insert into t1 values (4);
18183
18183
rollback;
18184
18184
select n, "after rollback" from t1;
18197
18197
n       after commit
18198
18198
4       after commit
18199
18199
5       after commit
18200
 
set autocommit=1;
 
18200
set @@autocommit = 1;
18201
18201
insert into t1 values (6);
18202
18202
insert into t1 values (4);
18203
18203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18206
18206
4
18207
18207
5
18208
18208
6
18209
 
set autocommit=0;
 
18209
set @@autocommit = 0;
18210
18210
DROP TABLE t1;
18211
18211
431;
18212
 
create table t1 (n int not null primary key) ;
18213
 
set autocommit=0;
 
18212
create table t1 (n int not null primary key);
 
18213
set @@autocommit = 0;
18214
18214
insert into t1 values (4);
18215
18215
rollback;
18216
18216
select n, "after rollback" from t1;
18229
18229
n       after commit
18230
18230
4       after commit
18231
18231
5       after commit
18232
 
set autocommit=1;
 
18232
set @@autocommit = 1;
18233
18233
insert into t1 values (6);
18234
18234
insert into t1 values (4);
18235
18235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18238
18238
4
18239
18239
5
18240
18240
6
18241
 
set autocommit=0;
 
18241
set @@autocommit = 0;
18242
18242
DROP TABLE t1;
18243
18243
430;
18244
 
create table t1 (n int not null primary key) ;
18245
 
set autocommit=0;
 
18244
create table t1 (n int not null primary key);
 
18245
set @@autocommit = 0;
18246
18246
insert into t1 values (4);
18247
18247
rollback;
18248
18248
select n, "after rollback" from t1;
18261
18261
n       after commit
18262
18262
4       after commit
18263
18263
5       after commit
18264
 
set autocommit=1;
 
18264
set @@autocommit = 1;
18265
18265
insert into t1 values (6);
18266
18266
insert into t1 values (4);
18267
18267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18270
18270
4
18271
18271
5
18272
18272
6
18273
 
set autocommit=0;
 
18273
set @@autocommit = 0;
18274
18274
DROP TABLE t1;
18275
18275
429;
18276
 
create table t1 (n int not null primary key) ;
18277
 
set autocommit=0;
 
18276
create table t1 (n int not null primary key);
 
18277
set @@autocommit = 0;
18278
18278
insert into t1 values (4);
18279
18279
rollback;
18280
18280
select n, "after rollback" from t1;
18293
18293
n       after commit
18294
18294
4       after commit
18295
18295
5       after commit
18296
 
set autocommit=1;
 
18296
set @@autocommit = 1;
18297
18297
insert into t1 values (6);
18298
18298
insert into t1 values (4);
18299
18299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18302
18302
4
18303
18303
5
18304
18304
6
18305
 
set autocommit=0;
 
18305
set @@autocommit = 0;
18306
18306
DROP TABLE t1;
18307
18307
428;
18308
 
create table t1 (n int not null primary key) ;
18309
 
set autocommit=0;
 
18308
create table t1 (n int not null primary key);
 
18309
set @@autocommit = 0;
18310
18310
insert into t1 values (4);
18311
18311
rollback;
18312
18312
select n, "after rollback" from t1;
18325
18325
n       after commit
18326
18326
4       after commit
18327
18327
5       after commit
18328
 
set autocommit=1;
 
18328
set @@autocommit = 1;
18329
18329
insert into t1 values (6);
18330
18330
insert into t1 values (4);
18331
18331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18334
18334
4
18335
18335
5
18336
18336
6
18337
 
set autocommit=0;
 
18337
set @@autocommit = 0;
18338
18338
DROP TABLE t1;
18339
18339
427;
18340
 
create table t1 (n int not null primary key) ;
18341
 
set autocommit=0;
 
18340
create table t1 (n int not null primary key);
 
18341
set @@autocommit = 0;
18342
18342
insert into t1 values (4);
18343
18343
rollback;
18344
18344
select n, "after rollback" from t1;
18357
18357
n       after commit
18358
18358
4       after commit
18359
18359
5       after commit
18360
 
set autocommit=1;
 
18360
set @@autocommit = 1;
18361
18361
insert into t1 values (6);
18362
18362
insert into t1 values (4);
18363
18363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18366
18366
4
18367
18367
5
18368
18368
6
18369
 
set autocommit=0;
 
18369
set @@autocommit = 0;
18370
18370
DROP TABLE t1;
18371
18371
426;
18372
 
create table t1 (n int not null primary key) ;
18373
 
set autocommit=0;
 
18372
create table t1 (n int not null primary key);
 
18373
set @@autocommit = 0;
18374
18374
insert into t1 values (4);
18375
18375
rollback;
18376
18376
select n, "after rollback" from t1;
18389
18389
n       after commit
18390
18390
4       after commit
18391
18391
5       after commit
18392
 
set autocommit=1;
 
18392
set @@autocommit = 1;
18393
18393
insert into t1 values (6);
18394
18394
insert into t1 values (4);
18395
18395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18398
18398
4
18399
18399
5
18400
18400
6
18401
 
set autocommit=0;
 
18401
set @@autocommit = 0;
18402
18402
DROP TABLE t1;
18403
18403
425;
18404
 
create table t1 (n int not null primary key) ;
18405
 
set autocommit=0;
 
18404
create table t1 (n int not null primary key);
 
18405
set @@autocommit = 0;
18406
18406
insert into t1 values (4);
18407
18407
rollback;
18408
18408
select n, "after rollback" from t1;
18421
18421
n       after commit
18422
18422
4       after commit
18423
18423
5       after commit
18424
 
set autocommit=1;
 
18424
set @@autocommit = 1;
18425
18425
insert into t1 values (6);
18426
18426
insert into t1 values (4);
18427
18427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18430
18430
4
18431
18431
5
18432
18432
6
18433
 
set autocommit=0;
 
18433
set @@autocommit = 0;
18434
18434
DROP TABLE t1;
18435
18435
424;
18436
 
create table t1 (n int not null primary key) ;
18437
 
set autocommit=0;
 
18436
create table t1 (n int not null primary key);
 
18437
set @@autocommit = 0;
18438
18438
insert into t1 values (4);
18439
18439
rollback;
18440
18440
select n, "after rollback" from t1;
18453
18453
n       after commit
18454
18454
4       after commit
18455
18455
5       after commit
18456
 
set autocommit=1;
 
18456
set @@autocommit = 1;
18457
18457
insert into t1 values (6);
18458
18458
insert into t1 values (4);
18459
18459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18462
18462
4
18463
18463
5
18464
18464
6
18465
 
set autocommit=0;
 
18465
set @@autocommit = 0;
18466
18466
DROP TABLE t1;
18467
18467
423;
18468
 
create table t1 (n int not null primary key) ;
18469
 
set autocommit=0;
 
18468
create table t1 (n int not null primary key);
 
18469
set @@autocommit = 0;
18470
18470
insert into t1 values (4);
18471
18471
rollback;
18472
18472
select n, "after rollback" from t1;
18485
18485
n       after commit
18486
18486
4       after commit
18487
18487
5       after commit
18488
 
set autocommit=1;
 
18488
set @@autocommit = 1;
18489
18489
insert into t1 values (6);
18490
18490
insert into t1 values (4);
18491
18491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18494
18494
4
18495
18495
5
18496
18496
6
18497
 
set autocommit=0;
 
18497
set @@autocommit = 0;
18498
18498
DROP TABLE t1;
18499
18499
422;
18500
 
create table t1 (n int not null primary key) ;
18501
 
set autocommit=0;
 
18500
create table t1 (n int not null primary key);
 
18501
set @@autocommit = 0;
18502
18502
insert into t1 values (4);
18503
18503
rollback;
18504
18504
select n, "after rollback" from t1;
18517
18517
n       after commit
18518
18518
4       after commit
18519
18519
5       after commit
18520
 
set autocommit=1;
 
18520
set @@autocommit = 1;
18521
18521
insert into t1 values (6);
18522
18522
insert into t1 values (4);
18523
18523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18526
18526
4
18527
18527
5
18528
18528
6
18529
 
set autocommit=0;
 
18529
set @@autocommit = 0;
18530
18530
DROP TABLE t1;
18531
18531
421;
18532
 
create table t1 (n int not null primary key) ;
18533
 
set autocommit=0;
 
18532
create table t1 (n int not null primary key);
 
18533
set @@autocommit = 0;
18534
18534
insert into t1 values (4);
18535
18535
rollback;
18536
18536
select n, "after rollback" from t1;
18549
18549
n       after commit
18550
18550
4       after commit
18551
18551
5       after commit
18552
 
set autocommit=1;
 
18552
set @@autocommit = 1;
18553
18553
insert into t1 values (6);
18554
18554
insert into t1 values (4);
18555
18555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18558
18558
4
18559
18559
5
18560
18560
6
18561
 
set autocommit=0;
 
18561
set @@autocommit = 0;
18562
18562
DROP TABLE t1;
18563
18563
420;
18564
 
create table t1 (n int not null primary key) ;
18565
 
set autocommit=0;
 
18564
create table t1 (n int not null primary key);
 
18565
set @@autocommit = 0;
18566
18566
insert into t1 values (4);
18567
18567
rollback;
18568
18568
select n, "after rollback" from t1;
18581
18581
n       after commit
18582
18582
4       after commit
18583
18583
5       after commit
18584
 
set autocommit=1;
 
18584
set @@autocommit = 1;
18585
18585
insert into t1 values (6);
18586
18586
insert into t1 values (4);
18587
18587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18590
18590
4
18591
18591
5
18592
18592
6
18593
 
set autocommit=0;
 
18593
set @@autocommit = 0;
18594
18594
DROP TABLE t1;
18595
18595
419;
18596
 
create table t1 (n int not null primary key) ;
18597
 
set autocommit=0;
 
18596
create table t1 (n int not null primary key);
 
18597
set @@autocommit = 0;
18598
18598
insert into t1 values (4);
18599
18599
rollback;
18600
18600
select n, "after rollback" from t1;
18613
18613
n       after commit
18614
18614
4       after commit
18615
18615
5       after commit
18616
 
set autocommit=1;
 
18616
set @@autocommit = 1;
18617
18617
insert into t1 values (6);
18618
18618
insert into t1 values (4);
18619
18619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18622
18622
4
18623
18623
5
18624
18624
6
18625
 
set autocommit=0;
 
18625
set @@autocommit = 0;
18626
18626
DROP TABLE t1;
18627
18627
418;
18628
 
create table t1 (n int not null primary key) ;
18629
 
set autocommit=0;
 
18628
create table t1 (n int not null primary key);
 
18629
set @@autocommit = 0;
18630
18630
insert into t1 values (4);
18631
18631
rollback;
18632
18632
select n, "after rollback" from t1;
18645
18645
n       after commit
18646
18646
4       after commit
18647
18647
5       after commit
18648
 
set autocommit=1;
 
18648
set @@autocommit = 1;
18649
18649
insert into t1 values (6);
18650
18650
insert into t1 values (4);
18651
18651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18654
18654
4
18655
18655
5
18656
18656
6
18657
 
set autocommit=0;
 
18657
set @@autocommit = 0;
18658
18658
DROP TABLE t1;
18659
18659
417;
18660
 
create table t1 (n int not null primary key) ;
18661
 
set autocommit=0;
 
18660
create table t1 (n int not null primary key);
 
18661
set @@autocommit = 0;
18662
18662
insert into t1 values (4);
18663
18663
rollback;
18664
18664
select n, "after rollback" from t1;
18677
18677
n       after commit
18678
18678
4       after commit
18679
18679
5       after commit
18680
 
set autocommit=1;
 
18680
set @@autocommit = 1;
18681
18681
insert into t1 values (6);
18682
18682
insert into t1 values (4);
18683
18683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18686
18686
4
18687
18687
5
18688
18688
6
18689
 
set autocommit=0;
 
18689
set @@autocommit = 0;
18690
18690
DROP TABLE t1;
18691
18691
416;
18692
 
create table t1 (n int not null primary key) ;
18693
 
set autocommit=0;
 
18692
create table t1 (n int not null primary key);
 
18693
set @@autocommit = 0;
18694
18694
insert into t1 values (4);
18695
18695
rollback;
18696
18696
select n, "after rollback" from t1;
18709
18709
n       after commit
18710
18710
4       after commit
18711
18711
5       after commit
18712
 
set autocommit=1;
 
18712
set @@autocommit = 1;
18713
18713
insert into t1 values (6);
18714
18714
insert into t1 values (4);
18715
18715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18718
18718
4
18719
18719
5
18720
18720
6
18721
 
set autocommit=0;
 
18721
set @@autocommit = 0;
18722
18722
DROP TABLE t1;
18723
18723
415;
18724
 
create table t1 (n int not null primary key) ;
18725
 
set autocommit=0;
 
18724
create table t1 (n int not null primary key);
 
18725
set @@autocommit = 0;
18726
18726
insert into t1 values (4);
18727
18727
rollback;
18728
18728
select n, "after rollback" from t1;
18741
18741
n       after commit
18742
18742
4       after commit
18743
18743
5       after commit
18744
 
set autocommit=1;
 
18744
set @@autocommit = 1;
18745
18745
insert into t1 values (6);
18746
18746
insert into t1 values (4);
18747
18747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18750
18750
4
18751
18751
5
18752
18752
6
18753
 
set autocommit=0;
 
18753
set @@autocommit = 0;
18754
18754
DROP TABLE t1;
18755
18755
414;
18756
 
create table t1 (n int not null primary key) ;
18757
 
set autocommit=0;
 
18756
create table t1 (n int not null primary key);
 
18757
set @@autocommit = 0;
18758
18758
insert into t1 values (4);
18759
18759
rollback;
18760
18760
select n, "after rollback" from t1;
18773
18773
n       after commit
18774
18774
4       after commit
18775
18775
5       after commit
18776
 
set autocommit=1;
 
18776
set @@autocommit = 1;
18777
18777
insert into t1 values (6);
18778
18778
insert into t1 values (4);
18779
18779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18782
18782
4
18783
18783
5
18784
18784
6
18785
 
set autocommit=0;
 
18785
set @@autocommit = 0;
18786
18786
DROP TABLE t1;
18787
18787
413;
18788
 
create table t1 (n int not null primary key) ;
18789
 
set autocommit=0;
 
18788
create table t1 (n int not null primary key);
 
18789
set @@autocommit = 0;
18790
18790
insert into t1 values (4);
18791
18791
rollback;
18792
18792
select n, "after rollback" from t1;
18805
18805
n       after commit
18806
18806
4       after commit
18807
18807
5       after commit
18808
 
set autocommit=1;
 
18808
set @@autocommit = 1;
18809
18809
insert into t1 values (6);
18810
18810
insert into t1 values (4);
18811
18811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18814
18814
4
18815
18815
5
18816
18816
6
18817
 
set autocommit=0;
 
18817
set @@autocommit = 0;
18818
18818
DROP TABLE t1;
18819
18819
412;
18820
 
create table t1 (n int not null primary key) ;
18821
 
set autocommit=0;
 
18820
create table t1 (n int not null primary key);
 
18821
set @@autocommit = 0;
18822
18822
insert into t1 values (4);
18823
18823
rollback;
18824
18824
select n, "after rollback" from t1;
18837
18837
n       after commit
18838
18838
4       after commit
18839
18839
5       after commit
18840
 
set autocommit=1;
 
18840
set @@autocommit = 1;
18841
18841
insert into t1 values (6);
18842
18842
insert into t1 values (4);
18843
18843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18846
18846
4
18847
18847
5
18848
18848
6
18849
 
set autocommit=0;
 
18849
set @@autocommit = 0;
18850
18850
DROP TABLE t1;
18851
18851
411;
18852
 
create table t1 (n int not null primary key) ;
18853
 
set autocommit=0;
 
18852
create table t1 (n int not null primary key);
 
18853
set @@autocommit = 0;
18854
18854
insert into t1 values (4);
18855
18855
rollback;
18856
18856
select n, "after rollback" from t1;
18869
18869
n       after commit
18870
18870
4       after commit
18871
18871
5       after commit
18872
 
set autocommit=1;
 
18872
set @@autocommit = 1;
18873
18873
insert into t1 values (6);
18874
18874
insert into t1 values (4);
18875
18875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18878
18878
4
18879
18879
5
18880
18880
6
18881
 
set autocommit=0;
 
18881
set @@autocommit = 0;
18882
18882
DROP TABLE t1;
18883
18883
410;
18884
 
create table t1 (n int not null primary key) ;
18885
 
set autocommit=0;
 
18884
create table t1 (n int not null primary key);
 
18885
set @@autocommit = 0;
18886
18886
insert into t1 values (4);
18887
18887
rollback;
18888
18888
select n, "after rollback" from t1;
18901
18901
n       after commit
18902
18902
4       after commit
18903
18903
5       after commit
18904
 
set autocommit=1;
 
18904
set @@autocommit = 1;
18905
18905
insert into t1 values (6);
18906
18906
insert into t1 values (4);
18907
18907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18910
18910
4
18911
18911
5
18912
18912
6
18913
 
set autocommit=0;
 
18913
set @@autocommit = 0;
18914
18914
DROP TABLE t1;
18915
18915
409;
18916
 
create table t1 (n int not null primary key) ;
18917
 
set autocommit=0;
 
18916
create table t1 (n int not null primary key);
 
18917
set @@autocommit = 0;
18918
18918
insert into t1 values (4);
18919
18919
rollback;
18920
18920
select n, "after rollback" from t1;
18933
18933
n       after commit
18934
18934
4       after commit
18935
18935
5       after commit
18936
 
set autocommit=1;
 
18936
set @@autocommit = 1;
18937
18937
insert into t1 values (6);
18938
18938
insert into t1 values (4);
18939
18939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18942
18942
4
18943
18943
5
18944
18944
6
18945
 
set autocommit=0;
 
18945
set @@autocommit = 0;
18946
18946
DROP TABLE t1;
18947
18947
408;
18948
 
create table t1 (n int not null primary key) ;
18949
 
set autocommit=0;
 
18948
create table t1 (n int not null primary key);
 
18949
set @@autocommit = 0;
18950
18950
insert into t1 values (4);
18951
18951
rollback;
18952
18952
select n, "after rollback" from t1;
18965
18965
n       after commit
18966
18966
4       after commit
18967
18967
5       after commit
18968
 
set autocommit=1;
 
18968
set @@autocommit = 1;
18969
18969
insert into t1 values (6);
18970
18970
insert into t1 values (4);
18971
18971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
18974
18974
4
18975
18975
5
18976
18976
6
18977
 
set autocommit=0;
 
18977
set @@autocommit = 0;
18978
18978
DROP TABLE t1;
18979
18979
407;
18980
 
create table t1 (n int not null primary key) ;
18981
 
set autocommit=0;
 
18980
create table t1 (n int not null primary key);
 
18981
set @@autocommit = 0;
18982
18982
insert into t1 values (4);
18983
18983
rollback;
18984
18984
select n, "after rollback" from t1;
18997
18997
n       after commit
18998
18998
4       after commit
18999
18999
5       after commit
19000
 
set autocommit=1;
 
19000
set @@autocommit = 1;
19001
19001
insert into t1 values (6);
19002
19002
insert into t1 values (4);
19003
19003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19006
19006
4
19007
19007
5
19008
19008
6
19009
 
set autocommit=0;
 
19009
set @@autocommit = 0;
19010
19010
DROP TABLE t1;
19011
19011
406;
19012
 
create table t1 (n int not null primary key) ;
19013
 
set autocommit=0;
 
19012
create table t1 (n int not null primary key);
 
19013
set @@autocommit = 0;
19014
19014
insert into t1 values (4);
19015
19015
rollback;
19016
19016
select n, "after rollback" from t1;
19029
19029
n       after commit
19030
19030
4       after commit
19031
19031
5       after commit
19032
 
set autocommit=1;
 
19032
set @@autocommit = 1;
19033
19033
insert into t1 values (6);
19034
19034
insert into t1 values (4);
19035
19035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19038
19038
4
19039
19039
5
19040
19040
6
19041
 
set autocommit=0;
 
19041
set @@autocommit = 0;
19042
19042
DROP TABLE t1;
19043
19043
405;
19044
 
create table t1 (n int not null primary key) ;
19045
 
set autocommit=0;
 
19044
create table t1 (n int not null primary key);
 
19045
set @@autocommit = 0;
19046
19046
insert into t1 values (4);
19047
19047
rollback;
19048
19048
select n, "after rollback" from t1;
19061
19061
n       after commit
19062
19062
4       after commit
19063
19063
5       after commit
19064
 
set autocommit=1;
 
19064
set @@autocommit = 1;
19065
19065
insert into t1 values (6);
19066
19066
insert into t1 values (4);
19067
19067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19070
19070
4
19071
19071
5
19072
19072
6
19073
 
set autocommit=0;
 
19073
set @@autocommit = 0;
19074
19074
DROP TABLE t1;
19075
19075
404;
19076
 
create table t1 (n int not null primary key) ;
19077
 
set autocommit=0;
 
19076
create table t1 (n int not null primary key);
 
19077
set @@autocommit = 0;
19078
19078
insert into t1 values (4);
19079
19079
rollback;
19080
19080
select n, "after rollback" from t1;
19093
19093
n       after commit
19094
19094
4       after commit
19095
19095
5       after commit
19096
 
set autocommit=1;
 
19096
set @@autocommit = 1;
19097
19097
insert into t1 values (6);
19098
19098
insert into t1 values (4);
19099
19099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19102
19102
4
19103
19103
5
19104
19104
6
19105
 
set autocommit=0;
 
19105
set @@autocommit = 0;
19106
19106
DROP TABLE t1;
19107
19107
403;
19108
 
create table t1 (n int not null primary key) ;
19109
 
set autocommit=0;
 
19108
create table t1 (n int not null primary key);
 
19109
set @@autocommit = 0;
19110
19110
insert into t1 values (4);
19111
19111
rollback;
19112
19112
select n, "after rollback" from t1;
19125
19125
n       after commit
19126
19126
4       after commit
19127
19127
5       after commit
19128
 
set autocommit=1;
 
19128
set @@autocommit = 1;
19129
19129
insert into t1 values (6);
19130
19130
insert into t1 values (4);
19131
19131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19134
19134
4
19135
19135
5
19136
19136
6
19137
 
set autocommit=0;
 
19137
set @@autocommit = 0;
19138
19138
DROP TABLE t1;
19139
19139
402;
19140
 
create table t1 (n int not null primary key) ;
19141
 
set autocommit=0;
 
19140
create table t1 (n int not null primary key);
 
19141
set @@autocommit = 0;
19142
19142
insert into t1 values (4);
19143
19143
rollback;
19144
19144
select n, "after rollback" from t1;
19157
19157
n       after commit
19158
19158
4       after commit
19159
19159
5       after commit
19160
 
set autocommit=1;
 
19160
set @@autocommit = 1;
19161
19161
insert into t1 values (6);
19162
19162
insert into t1 values (4);
19163
19163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19166
19166
4
19167
19167
5
19168
19168
6
19169
 
set autocommit=0;
 
19169
set @@autocommit = 0;
19170
19170
DROP TABLE t1;
19171
19171
401;
19172
 
create table t1 (n int not null primary key) ;
19173
 
set autocommit=0;
 
19172
create table t1 (n int not null primary key);
 
19173
set @@autocommit = 0;
19174
19174
insert into t1 values (4);
19175
19175
rollback;
19176
19176
select n, "after rollback" from t1;
19189
19189
n       after commit
19190
19190
4       after commit
19191
19191
5       after commit
19192
 
set autocommit=1;
 
19192
set @@autocommit = 1;
19193
19193
insert into t1 values (6);
19194
19194
insert into t1 values (4);
19195
19195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19198
19198
4
19199
19199
5
19200
19200
6
19201
 
set autocommit=0;
 
19201
set @@autocommit = 0;
19202
19202
DROP TABLE t1;
19203
19203
400;
19204
 
create table t1 (n int not null primary key) ;
19205
 
set autocommit=0;
 
19204
create table t1 (n int not null primary key);
 
19205
set @@autocommit = 0;
19206
19206
insert into t1 values (4);
19207
19207
rollback;
19208
19208
select n, "after rollback" from t1;
19221
19221
n       after commit
19222
19222
4       after commit
19223
19223
5       after commit
19224
 
set autocommit=1;
 
19224
set @@autocommit = 1;
19225
19225
insert into t1 values (6);
19226
19226
insert into t1 values (4);
19227
19227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19230
19230
4
19231
19231
5
19232
19232
6
19233
 
set autocommit=0;
 
19233
set @@autocommit = 0;
19234
19234
DROP TABLE t1;
19235
19235
399;
19236
 
create table t1 (n int not null primary key) ;
19237
 
set autocommit=0;
 
19236
create table t1 (n int not null primary key);
 
19237
set @@autocommit = 0;
19238
19238
insert into t1 values (4);
19239
19239
rollback;
19240
19240
select n, "after rollback" from t1;
19253
19253
n       after commit
19254
19254
4       after commit
19255
19255
5       after commit
19256
 
set autocommit=1;
 
19256
set @@autocommit = 1;
19257
19257
insert into t1 values (6);
19258
19258
insert into t1 values (4);
19259
19259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19262
19262
4
19263
19263
5
19264
19264
6
19265
 
set autocommit=0;
 
19265
set @@autocommit = 0;
19266
19266
DROP TABLE t1;
19267
19267
398;
19268
 
create table t1 (n int not null primary key) ;
19269
 
set autocommit=0;
 
19268
create table t1 (n int not null primary key);
 
19269
set @@autocommit = 0;
19270
19270
insert into t1 values (4);
19271
19271
rollback;
19272
19272
select n, "after rollback" from t1;
19285
19285
n       after commit
19286
19286
4       after commit
19287
19287
5       after commit
19288
 
set autocommit=1;
 
19288
set @@autocommit = 1;
19289
19289
insert into t1 values (6);
19290
19290
insert into t1 values (4);
19291
19291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19294
19294
4
19295
19295
5
19296
19296
6
19297
 
set autocommit=0;
 
19297
set @@autocommit = 0;
19298
19298
DROP TABLE t1;
19299
19299
397;
19300
 
create table t1 (n int not null primary key) ;
19301
 
set autocommit=0;
 
19300
create table t1 (n int not null primary key);
 
19301
set @@autocommit = 0;
19302
19302
insert into t1 values (4);
19303
19303
rollback;
19304
19304
select n, "after rollback" from t1;
19317
19317
n       after commit
19318
19318
4       after commit
19319
19319
5       after commit
19320
 
set autocommit=1;
 
19320
set @@autocommit = 1;
19321
19321
insert into t1 values (6);
19322
19322
insert into t1 values (4);
19323
19323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19326
19326
4
19327
19327
5
19328
19328
6
19329
 
set autocommit=0;
 
19329
set @@autocommit = 0;
19330
19330
DROP TABLE t1;
19331
19331
396;
19332
 
create table t1 (n int not null primary key) ;
19333
 
set autocommit=0;
 
19332
create table t1 (n int not null primary key);
 
19333
set @@autocommit = 0;
19334
19334
insert into t1 values (4);
19335
19335
rollback;
19336
19336
select n, "after rollback" from t1;
19349
19349
n       after commit
19350
19350
4       after commit
19351
19351
5       after commit
19352
 
set autocommit=1;
 
19352
set @@autocommit = 1;
19353
19353
insert into t1 values (6);
19354
19354
insert into t1 values (4);
19355
19355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19358
19358
4
19359
19359
5
19360
19360
6
19361
 
set autocommit=0;
 
19361
set @@autocommit = 0;
19362
19362
DROP TABLE t1;
19363
19363
395;
19364
 
create table t1 (n int not null primary key) ;
19365
 
set autocommit=0;
 
19364
create table t1 (n int not null primary key);
 
19365
set @@autocommit = 0;
19366
19366
insert into t1 values (4);
19367
19367
rollback;
19368
19368
select n, "after rollback" from t1;
19381
19381
n       after commit
19382
19382
4       after commit
19383
19383
5       after commit
19384
 
set autocommit=1;
 
19384
set @@autocommit = 1;
19385
19385
insert into t1 values (6);
19386
19386
insert into t1 values (4);
19387
19387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19390
19390
4
19391
19391
5
19392
19392
6
19393
 
set autocommit=0;
 
19393
set @@autocommit = 0;
19394
19394
DROP TABLE t1;
19395
19395
394;
19396
 
create table t1 (n int not null primary key) ;
19397
 
set autocommit=0;
 
19396
create table t1 (n int not null primary key);
 
19397
set @@autocommit = 0;
19398
19398
insert into t1 values (4);
19399
19399
rollback;
19400
19400
select n, "after rollback" from t1;
19413
19413
n       after commit
19414
19414
4       after commit
19415
19415
5       after commit
19416
 
set autocommit=1;
 
19416
set @@autocommit = 1;
19417
19417
insert into t1 values (6);
19418
19418
insert into t1 values (4);
19419
19419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19422
19422
4
19423
19423
5
19424
19424
6
19425
 
set autocommit=0;
 
19425
set @@autocommit = 0;
19426
19426
DROP TABLE t1;
19427
19427
393;
19428
 
create table t1 (n int not null primary key) ;
19429
 
set autocommit=0;
 
19428
create table t1 (n int not null primary key);
 
19429
set @@autocommit = 0;
19430
19430
insert into t1 values (4);
19431
19431
rollback;
19432
19432
select n, "after rollback" from t1;
19445
19445
n       after commit
19446
19446
4       after commit
19447
19447
5       after commit
19448
 
set autocommit=1;
 
19448
set @@autocommit = 1;
19449
19449
insert into t1 values (6);
19450
19450
insert into t1 values (4);
19451
19451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19454
19454
4
19455
19455
5
19456
19456
6
19457
 
set autocommit=0;
 
19457
set @@autocommit = 0;
19458
19458
DROP TABLE t1;
19459
19459
392;
19460
 
create table t1 (n int not null primary key) ;
19461
 
set autocommit=0;
 
19460
create table t1 (n int not null primary key);
 
19461
set @@autocommit = 0;
19462
19462
insert into t1 values (4);
19463
19463
rollback;
19464
19464
select n, "after rollback" from t1;
19477
19477
n       after commit
19478
19478
4       after commit
19479
19479
5       after commit
19480
 
set autocommit=1;
 
19480
set @@autocommit = 1;
19481
19481
insert into t1 values (6);
19482
19482
insert into t1 values (4);
19483
19483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19486
19486
4
19487
19487
5
19488
19488
6
19489
 
set autocommit=0;
 
19489
set @@autocommit = 0;
19490
19490
DROP TABLE t1;
19491
19491
391;
19492
 
create table t1 (n int not null primary key) ;
19493
 
set autocommit=0;
 
19492
create table t1 (n int not null primary key);
 
19493
set @@autocommit = 0;
19494
19494
insert into t1 values (4);
19495
19495
rollback;
19496
19496
select n, "after rollback" from t1;
19509
19509
n       after commit
19510
19510
4       after commit
19511
19511
5       after commit
19512
 
set autocommit=1;
 
19512
set @@autocommit = 1;
19513
19513
insert into t1 values (6);
19514
19514
insert into t1 values (4);
19515
19515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19518
19518
4
19519
19519
5
19520
19520
6
19521
 
set autocommit=0;
 
19521
set @@autocommit = 0;
19522
19522
DROP TABLE t1;
19523
19523
390;
19524
 
create table t1 (n int not null primary key) ;
19525
 
set autocommit=0;
 
19524
create table t1 (n int not null primary key);
 
19525
set @@autocommit = 0;
19526
19526
insert into t1 values (4);
19527
19527
rollback;
19528
19528
select n, "after rollback" from t1;
19541
19541
n       after commit
19542
19542
4       after commit
19543
19543
5       after commit
19544
 
set autocommit=1;
 
19544
set @@autocommit = 1;
19545
19545
insert into t1 values (6);
19546
19546
insert into t1 values (4);
19547
19547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19550
19550
4
19551
19551
5
19552
19552
6
19553
 
set autocommit=0;
 
19553
set @@autocommit = 0;
19554
19554
DROP TABLE t1;
19555
19555
389;
19556
 
create table t1 (n int not null primary key) ;
19557
 
set autocommit=0;
 
19556
create table t1 (n int not null primary key);
 
19557
set @@autocommit = 0;
19558
19558
insert into t1 values (4);
19559
19559
rollback;
19560
19560
select n, "after rollback" from t1;
19573
19573
n       after commit
19574
19574
4       after commit
19575
19575
5       after commit
19576
 
set autocommit=1;
 
19576
set @@autocommit = 1;
19577
19577
insert into t1 values (6);
19578
19578
insert into t1 values (4);
19579
19579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19582
19582
4
19583
19583
5
19584
19584
6
19585
 
set autocommit=0;
 
19585
set @@autocommit = 0;
19586
19586
DROP TABLE t1;
19587
19587
388;
19588
 
create table t1 (n int not null primary key) ;
19589
 
set autocommit=0;
 
19588
create table t1 (n int not null primary key);
 
19589
set @@autocommit = 0;
19590
19590
insert into t1 values (4);
19591
19591
rollback;
19592
19592
select n, "after rollback" from t1;
19605
19605
n       after commit
19606
19606
4       after commit
19607
19607
5       after commit
19608
 
set autocommit=1;
 
19608
set @@autocommit = 1;
19609
19609
insert into t1 values (6);
19610
19610
insert into t1 values (4);
19611
19611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19614
19614
4
19615
19615
5
19616
19616
6
19617
 
set autocommit=0;
 
19617
set @@autocommit = 0;
19618
19618
DROP TABLE t1;
19619
19619
387;
19620
 
create table t1 (n int not null primary key) ;
19621
 
set autocommit=0;
 
19620
create table t1 (n int not null primary key);
 
19621
set @@autocommit = 0;
19622
19622
insert into t1 values (4);
19623
19623
rollback;
19624
19624
select n, "after rollback" from t1;
19637
19637
n       after commit
19638
19638
4       after commit
19639
19639
5       after commit
19640
 
set autocommit=1;
 
19640
set @@autocommit = 1;
19641
19641
insert into t1 values (6);
19642
19642
insert into t1 values (4);
19643
19643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19646
19646
4
19647
19647
5
19648
19648
6
19649
 
set autocommit=0;
 
19649
set @@autocommit = 0;
19650
19650
DROP TABLE t1;
19651
19651
386;
19652
 
create table t1 (n int not null primary key) ;
19653
 
set autocommit=0;
 
19652
create table t1 (n int not null primary key);
 
19653
set @@autocommit = 0;
19654
19654
insert into t1 values (4);
19655
19655
rollback;
19656
19656
select n, "after rollback" from t1;
19669
19669
n       after commit
19670
19670
4       after commit
19671
19671
5       after commit
19672
 
set autocommit=1;
 
19672
set @@autocommit = 1;
19673
19673
insert into t1 values (6);
19674
19674
insert into t1 values (4);
19675
19675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19678
19678
4
19679
19679
5
19680
19680
6
19681
 
set autocommit=0;
 
19681
set @@autocommit = 0;
19682
19682
DROP TABLE t1;
19683
19683
385;
19684
 
create table t1 (n int not null primary key) ;
19685
 
set autocommit=0;
 
19684
create table t1 (n int not null primary key);
 
19685
set @@autocommit = 0;
19686
19686
insert into t1 values (4);
19687
19687
rollback;
19688
19688
select n, "after rollback" from t1;
19701
19701
n       after commit
19702
19702
4       after commit
19703
19703
5       after commit
19704
 
set autocommit=1;
 
19704
set @@autocommit = 1;
19705
19705
insert into t1 values (6);
19706
19706
insert into t1 values (4);
19707
19707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19710
19710
4
19711
19711
5
19712
19712
6
19713
 
set autocommit=0;
 
19713
set @@autocommit = 0;
19714
19714
DROP TABLE t1;
19715
19715
384;
19716
 
create table t1 (n int not null primary key) ;
19717
 
set autocommit=0;
 
19716
create table t1 (n int not null primary key);
 
19717
set @@autocommit = 0;
19718
19718
insert into t1 values (4);
19719
19719
rollback;
19720
19720
select n, "after rollback" from t1;
19733
19733
n       after commit
19734
19734
4       after commit
19735
19735
5       after commit
19736
 
set autocommit=1;
 
19736
set @@autocommit = 1;
19737
19737
insert into t1 values (6);
19738
19738
insert into t1 values (4);
19739
19739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19742
19742
4
19743
19743
5
19744
19744
6
19745
 
set autocommit=0;
 
19745
set @@autocommit = 0;
19746
19746
DROP TABLE t1;
19747
19747
383;
19748
 
create table t1 (n int not null primary key) ;
19749
 
set autocommit=0;
 
19748
create table t1 (n int not null primary key);
 
19749
set @@autocommit = 0;
19750
19750
insert into t1 values (4);
19751
19751
rollback;
19752
19752
select n, "after rollback" from t1;
19765
19765
n       after commit
19766
19766
4       after commit
19767
19767
5       after commit
19768
 
set autocommit=1;
 
19768
set @@autocommit = 1;
19769
19769
insert into t1 values (6);
19770
19770
insert into t1 values (4);
19771
19771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19774
19774
4
19775
19775
5
19776
19776
6
19777
 
set autocommit=0;
 
19777
set @@autocommit = 0;
19778
19778
DROP TABLE t1;
19779
19779
382;
19780
 
create table t1 (n int not null primary key) ;
19781
 
set autocommit=0;
 
19780
create table t1 (n int not null primary key);
 
19781
set @@autocommit = 0;
19782
19782
insert into t1 values (4);
19783
19783
rollback;
19784
19784
select n, "after rollback" from t1;
19797
19797
n       after commit
19798
19798
4       after commit
19799
19799
5       after commit
19800
 
set autocommit=1;
 
19800
set @@autocommit = 1;
19801
19801
insert into t1 values (6);
19802
19802
insert into t1 values (4);
19803
19803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19806
19806
4
19807
19807
5
19808
19808
6
19809
 
set autocommit=0;
 
19809
set @@autocommit = 0;
19810
19810
DROP TABLE t1;
19811
19811
381;
19812
 
create table t1 (n int not null primary key) ;
19813
 
set autocommit=0;
 
19812
create table t1 (n int not null primary key);
 
19813
set @@autocommit = 0;
19814
19814
insert into t1 values (4);
19815
19815
rollback;
19816
19816
select n, "after rollback" from t1;
19829
19829
n       after commit
19830
19830
4       after commit
19831
19831
5       after commit
19832
 
set autocommit=1;
 
19832
set @@autocommit = 1;
19833
19833
insert into t1 values (6);
19834
19834
insert into t1 values (4);
19835
19835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19838
19838
4
19839
19839
5
19840
19840
6
19841
 
set autocommit=0;
 
19841
set @@autocommit = 0;
19842
19842
DROP TABLE t1;
19843
19843
380;
19844
 
create table t1 (n int not null primary key) ;
19845
 
set autocommit=0;
 
19844
create table t1 (n int not null primary key);
 
19845
set @@autocommit = 0;
19846
19846
insert into t1 values (4);
19847
19847
rollback;
19848
19848
select n, "after rollback" from t1;
19861
19861
n       after commit
19862
19862
4       after commit
19863
19863
5       after commit
19864
 
set autocommit=1;
 
19864
set @@autocommit = 1;
19865
19865
insert into t1 values (6);
19866
19866
insert into t1 values (4);
19867
19867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19870
19870
4
19871
19871
5
19872
19872
6
19873
 
set autocommit=0;
 
19873
set @@autocommit = 0;
19874
19874
DROP TABLE t1;
19875
19875
379;
19876
 
create table t1 (n int not null primary key) ;
19877
 
set autocommit=0;
 
19876
create table t1 (n int not null primary key);
 
19877
set @@autocommit = 0;
19878
19878
insert into t1 values (4);
19879
19879
rollback;
19880
19880
select n, "after rollback" from t1;
19893
19893
n       after commit
19894
19894
4       after commit
19895
19895
5       after commit
19896
 
set autocommit=1;
 
19896
set @@autocommit = 1;
19897
19897
insert into t1 values (6);
19898
19898
insert into t1 values (4);
19899
19899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19902
19902
4
19903
19903
5
19904
19904
6
19905
 
set autocommit=0;
 
19905
set @@autocommit = 0;
19906
19906
DROP TABLE t1;
19907
19907
378;
19908
 
create table t1 (n int not null primary key) ;
19909
 
set autocommit=0;
 
19908
create table t1 (n int not null primary key);
 
19909
set @@autocommit = 0;
19910
19910
insert into t1 values (4);
19911
19911
rollback;
19912
19912
select n, "after rollback" from t1;
19925
19925
n       after commit
19926
19926
4       after commit
19927
19927
5       after commit
19928
 
set autocommit=1;
 
19928
set @@autocommit = 1;
19929
19929
insert into t1 values (6);
19930
19930
insert into t1 values (4);
19931
19931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19934
19934
4
19935
19935
5
19936
19936
6
19937
 
set autocommit=0;
 
19937
set @@autocommit = 0;
19938
19938
DROP TABLE t1;
19939
19939
377;
19940
 
create table t1 (n int not null primary key) ;
19941
 
set autocommit=0;
 
19940
create table t1 (n int not null primary key);
 
19941
set @@autocommit = 0;
19942
19942
insert into t1 values (4);
19943
19943
rollback;
19944
19944
select n, "after rollback" from t1;
19957
19957
n       after commit
19958
19958
4       after commit
19959
19959
5       after commit
19960
 
set autocommit=1;
 
19960
set @@autocommit = 1;
19961
19961
insert into t1 values (6);
19962
19962
insert into t1 values (4);
19963
19963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19966
19966
4
19967
19967
5
19968
19968
6
19969
 
set autocommit=0;
 
19969
set @@autocommit = 0;
19970
19970
DROP TABLE t1;
19971
19971
376;
19972
 
create table t1 (n int not null primary key) ;
19973
 
set autocommit=0;
 
19972
create table t1 (n int not null primary key);
 
19973
set @@autocommit = 0;
19974
19974
insert into t1 values (4);
19975
19975
rollback;
19976
19976
select n, "after rollback" from t1;
19989
19989
n       after commit
19990
19990
4       after commit
19991
19991
5       after commit
19992
 
set autocommit=1;
 
19992
set @@autocommit = 1;
19993
19993
insert into t1 values (6);
19994
19994
insert into t1 values (4);
19995
19995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
19998
19998
4
19999
19999
5
20000
20000
6
20001
 
set autocommit=0;
 
20001
set @@autocommit = 0;
20002
20002
DROP TABLE t1;
20003
20003
375;
20004
 
create table t1 (n int not null primary key) ;
20005
 
set autocommit=0;
 
20004
create table t1 (n int not null primary key);
 
20005
set @@autocommit = 0;
20006
20006
insert into t1 values (4);
20007
20007
rollback;
20008
20008
select n, "after rollback" from t1;
20021
20021
n       after commit
20022
20022
4       after commit
20023
20023
5       after commit
20024
 
set autocommit=1;
 
20024
set @@autocommit = 1;
20025
20025
insert into t1 values (6);
20026
20026
insert into t1 values (4);
20027
20027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20030
20030
4
20031
20031
5
20032
20032
6
20033
 
set autocommit=0;
 
20033
set @@autocommit = 0;
20034
20034
DROP TABLE t1;
20035
20035
374;
20036
 
create table t1 (n int not null primary key) ;
20037
 
set autocommit=0;
 
20036
create table t1 (n int not null primary key);
 
20037
set @@autocommit = 0;
20038
20038
insert into t1 values (4);
20039
20039
rollback;
20040
20040
select n, "after rollback" from t1;
20053
20053
n       after commit
20054
20054
4       after commit
20055
20055
5       after commit
20056
 
set autocommit=1;
 
20056
set @@autocommit = 1;
20057
20057
insert into t1 values (6);
20058
20058
insert into t1 values (4);
20059
20059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20062
20062
4
20063
20063
5
20064
20064
6
20065
 
set autocommit=0;
 
20065
set @@autocommit = 0;
20066
20066
DROP TABLE t1;
20067
20067
373;
20068
 
create table t1 (n int not null primary key) ;
20069
 
set autocommit=0;
 
20068
create table t1 (n int not null primary key);
 
20069
set @@autocommit = 0;
20070
20070
insert into t1 values (4);
20071
20071
rollback;
20072
20072
select n, "after rollback" from t1;
20085
20085
n       after commit
20086
20086
4       after commit
20087
20087
5       after commit
20088
 
set autocommit=1;
 
20088
set @@autocommit = 1;
20089
20089
insert into t1 values (6);
20090
20090
insert into t1 values (4);
20091
20091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20094
20094
4
20095
20095
5
20096
20096
6
20097
 
set autocommit=0;
 
20097
set @@autocommit = 0;
20098
20098
DROP TABLE t1;
20099
20099
372;
20100
 
create table t1 (n int not null primary key) ;
20101
 
set autocommit=0;
 
20100
create table t1 (n int not null primary key);
 
20101
set @@autocommit = 0;
20102
20102
insert into t1 values (4);
20103
20103
rollback;
20104
20104
select n, "after rollback" from t1;
20117
20117
n       after commit
20118
20118
4       after commit
20119
20119
5       after commit
20120
 
set autocommit=1;
 
20120
set @@autocommit = 1;
20121
20121
insert into t1 values (6);
20122
20122
insert into t1 values (4);
20123
20123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20126
20126
4
20127
20127
5
20128
20128
6
20129
 
set autocommit=0;
 
20129
set @@autocommit = 0;
20130
20130
DROP TABLE t1;
20131
20131
371;
20132
 
create table t1 (n int not null primary key) ;
20133
 
set autocommit=0;
 
20132
create table t1 (n int not null primary key);
 
20133
set @@autocommit = 0;
20134
20134
insert into t1 values (4);
20135
20135
rollback;
20136
20136
select n, "after rollback" from t1;
20149
20149
n       after commit
20150
20150
4       after commit
20151
20151
5       after commit
20152
 
set autocommit=1;
 
20152
set @@autocommit = 1;
20153
20153
insert into t1 values (6);
20154
20154
insert into t1 values (4);
20155
20155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20158
20158
4
20159
20159
5
20160
20160
6
20161
 
set autocommit=0;
 
20161
set @@autocommit = 0;
20162
20162
DROP TABLE t1;
20163
20163
370;
20164
 
create table t1 (n int not null primary key) ;
20165
 
set autocommit=0;
 
20164
create table t1 (n int not null primary key);
 
20165
set @@autocommit = 0;
20166
20166
insert into t1 values (4);
20167
20167
rollback;
20168
20168
select n, "after rollback" from t1;
20181
20181
n       after commit
20182
20182
4       after commit
20183
20183
5       after commit
20184
 
set autocommit=1;
 
20184
set @@autocommit = 1;
20185
20185
insert into t1 values (6);
20186
20186
insert into t1 values (4);
20187
20187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20190
20190
4
20191
20191
5
20192
20192
6
20193
 
set autocommit=0;
 
20193
set @@autocommit = 0;
20194
20194
DROP TABLE t1;
20195
20195
369;
20196
 
create table t1 (n int not null primary key) ;
20197
 
set autocommit=0;
 
20196
create table t1 (n int not null primary key);
 
20197
set @@autocommit = 0;
20198
20198
insert into t1 values (4);
20199
20199
rollback;
20200
20200
select n, "after rollback" from t1;
20213
20213
n       after commit
20214
20214
4       after commit
20215
20215
5       after commit
20216
 
set autocommit=1;
 
20216
set @@autocommit = 1;
20217
20217
insert into t1 values (6);
20218
20218
insert into t1 values (4);
20219
20219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20222
20222
4
20223
20223
5
20224
20224
6
20225
 
set autocommit=0;
 
20225
set @@autocommit = 0;
20226
20226
DROP TABLE t1;
20227
20227
368;
20228
 
create table t1 (n int not null primary key) ;
20229
 
set autocommit=0;
 
20228
create table t1 (n int not null primary key);
 
20229
set @@autocommit = 0;
20230
20230
insert into t1 values (4);
20231
20231
rollback;
20232
20232
select n, "after rollback" from t1;
20245
20245
n       after commit
20246
20246
4       after commit
20247
20247
5       after commit
20248
 
set autocommit=1;
 
20248
set @@autocommit = 1;
20249
20249
insert into t1 values (6);
20250
20250
insert into t1 values (4);
20251
20251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20254
20254
4
20255
20255
5
20256
20256
6
20257
 
set autocommit=0;
 
20257
set @@autocommit = 0;
20258
20258
DROP TABLE t1;
20259
20259
367;
20260
 
create table t1 (n int not null primary key) ;
20261
 
set autocommit=0;
 
20260
create table t1 (n int not null primary key);
 
20261
set @@autocommit = 0;
20262
20262
insert into t1 values (4);
20263
20263
rollback;
20264
20264
select n, "after rollback" from t1;
20277
20277
n       after commit
20278
20278
4       after commit
20279
20279
5       after commit
20280
 
set autocommit=1;
 
20280
set @@autocommit = 1;
20281
20281
insert into t1 values (6);
20282
20282
insert into t1 values (4);
20283
20283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20286
20286
4
20287
20287
5
20288
20288
6
20289
 
set autocommit=0;
 
20289
set @@autocommit = 0;
20290
20290
DROP TABLE t1;
20291
20291
366;
20292
 
create table t1 (n int not null primary key) ;
20293
 
set autocommit=0;
 
20292
create table t1 (n int not null primary key);
 
20293
set @@autocommit = 0;
20294
20294
insert into t1 values (4);
20295
20295
rollback;
20296
20296
select n, "after rollback" from t1;
20309
20309
n       after commit
20310
20310
4       after commit
20311
20311
5       after commit
20312
 
set autocommit=1;
 
20312
set @@autocommit = 1;
20313
20313
insert into t1 values (6);
20314
20314
insert into t1 values (4);
20315
20315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20318
20318
4
20319
20319
5
20320
20320
6
20321
 
set autocommit=0;
 
20321
set @@autocommit = 0;
20322
20322
DROP TABLE t1;
20323
20323
365;
20324
 
create table t1 (n int not null primary key) ;
20325
 
set autocommit=0;
 
20324
create table t1 (n int not null primary key);
 
20325
set @@autocommit = 0;
20326
20326
insert into t1 values (4);
20327
20327
rollback;
20328
20328
select n, "after rollback" from t1;
20341
20341
n       after commit
20342
20342
4       after commit
20343
20343
5       after commit
20344
 
set autocommit=1;
 
20344
set @@autocommit = 1;
20345
20345
insert into t1 values (6);
20346
20346
insert into t1 values (4);
20347
20347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20350
20350
4
20351
20351
5
20352
20352
6
20353
 
set autocommit=0;
 
20353
set @@autocommit = 0;
20354
20354
DROP TABLE t1;
20355
20355
364;
20356
 
create table t1 (n int not null primary key) ;
20357
 
set autocommit=0;
 
20356
create table t1 (n int not null primary key);
 
20357
set @@autocommit = 0;
20358
20358
insert into t1 values (4);
20359
20359
rollback;
20360
20360
select n, "after rollback" from t1;
20373
20373
n       after commit
20374
20374
4       after commit
20375
20375
5       after commit
20376
 
set autocommit=1;
 
20376
set @@autocommit = 1;
20377
20377
insert into t1 values (6);
20378
20378
insert into t1 values (4);
20379
20379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20382
20382
4
20383
20383
5
20384
20384
6
20385
 
set autocommit=0;
 
20385
set @@autocommit = 0;
20386
20386
DROP TABLE t1;
20387
20387
363;
20388
 
create table t1 (n int not null primary key) ;
20389
 
set autocommit=0;
 
20388
create table t1 (n int not null primary key);
 
20389
set @@autocommit = 0;
20390
20390
insert into t1 values (4);
20391
20391
rollback;
20392
20392
select n, "after rollback" from t1;
20405
20405
n       after commit
20406
20406
4       after commit
20407
20407
5       after commit
20408
 
set autocommit=1;
 
20408
set @@autocommit = 1;
20409
20409
insert into t1 values (6);
20410
20410
insert into t1 values (4);
20411
20411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20414
20414
4
20415
20415
5
20416
20416
6
20417
 
set autocommit=0;
 
20417
set @@autocommit = 0;
20418
20418
DROP TABLE t1;
20419
20419
362;
20420
 
create table t1 (n int not null primary key) ;
20421
 
set autocommit=0;
 
20420
create table t1 (n int not null primary key);
 
20421
set @@autocommit = 0;
20422
20422
insert into t1 values (4);
20423
20423
rollback;
20424
20424
select n, "after rollback" from t1;
20437
20437
n       after commit
20438
20438
4       after commit
20439
20439
5       after commit
20440
 
set autocommit=1;
 
20440
set @@autocommit = 1;
20441
20441
insert into t1 values (6);
20442
20442
insert into t1 values (4);
20443
20443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20446
20446
4
20447
20447
5
20448
20448
6
20449
 
set autocommit=0;
 
20449
set @@autocommit = 0;
20450
20450
DROP TABLE t1;
20451
20451
361;
20452
 
create table t1 (n int not null primary key) ;
20453
 
set autocommit=0;
 
20452
create table t1 (n int not null primary key);
 
20453
set @@autocommit = 0;
20454
20454
insert into t1 values (4);
20455
20455
rollback;
20456
20456
select n, "after rollback" from t1;
20469
20469
n       after commit
20470
20470
4       after commit
20471
20471
5       after commit
20472
 
set autocommit=1;
 
20472
set @@autocommit = 1;
20473
20473
insert into t1 values (6);
20474
20474
insert into t1 values (4);
20475
20475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20478
20478
4
20479
20479
5
20480
20480
6
20481
 
set autocommit=0;
 
20481
set @@autocommit = 0;
20482
20482
DROP TABLE t1;
20483
20483
360;
20484
 
create table t1 (n int not null primary key) ;
20485
 
set autocommit=0;
 
20484
create table t1 (n int not null primary key);
 
20485
set @@autocommit = 0;
20486
20486
insert into t1 values (4);
20487
20487
rollback;
20488
20488
select n, "after rollback" from t1;
20501
20501
n       after commit
20502
20502
4       after commit
20503
20503
5       after commit
20504
 
set autocommit=1;
 
20504
set @@autocommit = 1;
20505
20505
insert into t1 values (6);
20506
20506
insert into t1 values (4);
20507
20507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20510
20510
4
20511
20511
5
20512
20512
6
20513
 
set autocommit=0;
 
20513
set @@autocommit = 0;
20514
20514
DROP TABLE t1;
20515
20515
359;
20516
 
create table t1 (n int not null primary key) ;
20517
 
set autocommit=0;
 
20516
create table t1 (n int not null primary key);
 
20517
set @@autocommit = 0;
20518
20518
insert into t1 values (4);
20519
20519
rollback;
20520
20520
select n, "after rollback" from t1;
20533
20533
n       after commit
20534
20534
4       after commit
20535
20535
5       after commit
20536
 
set autocommit=1;
 
20536
set @@autocommit = 1;
20537
20537
insert into t1 values (6);
20538
20538
insert into t1 values (4);
20539
20539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20542
20542
4
20543
20543
5
20544
20544
6
20545
 
set autocommit=0;
 
20545
set @@autocommit = 0;
20546
20546
DROP TABLE t1;
20547
20547
358;
20548
 
create table t1 (n int not null primary key) ;
20549
 
set autocommit=0;
 
20548
create table t1 (n int not null primary key);
 
20549
set @@autocommit = 0;
20550
20550
insert into t1 values (4);
20551
20551
rollback;
20552
20552
select n, "after rollback" from t1;
20565
20565
n       after commit
20566
20566
4       after commit
20567
20567
5       after commit
20568
 
set autocommit=1;
 
20568
set @@autocommit = 1;
20569
20569
insert into t1 values (6);
20570
20570
insert into t1 values (4);
20571
20571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20574
20574
4
20575
20575
5
20576
20576
6
20577
 
set autocommit=0;
 
20577
set @@autocommit = 0;
20578
20578
DROP TABLE t1;
20579
20579
357;
20580
 
create table t1 (n int not null primary key) ;
20581
 
set autocommit=0;
 
20580
create table t1 (n int not null primary key);
 
20581
set @@autocommit = 0;
20582
20582
insert into t1 values (4);
20583
20583
rollback;
20584
20584
select n, "after rollback" from t1;
20597
20597
n       after commit
20598
20598
4       after commit
20599
20599
5       after commit
20600
 
set autocommit=1;
 
20600
set @@autocommit = 1;
20601
20601
insert into t1 values (6);
20602
20602
insert into t1 values (4);
20603
20603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20606
20606
4
20607
20607
5
20608
20608
6
20609
 
set autocommit=0;
 
20609
set @@autocommit = 0;
20610
20610
DROP TABLE t1;
20611
20611
356;
20612
 
create table t1 (n int not null primary key) ;
20613
 
set autocommit=0;
 
20612
create table t1 (n int not null primary key);
 
20613
set @@autocommit = 0;
20614
20614
insert into t1 values (4);
20615
20615
rollback;
20616
20616
select n, "after rollback" from t1;
20629
20629
n       after commit
20630
20630
4       after commit
20631
20631
5       after commit
20632
 
set autocommit=1;
 
20632
set @@autocommit = 1;
20633
20633
insert into t1 values (6);
20634
20634
insert into t1 values (4);
20635
20635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20638
20638
4
20639
20639
5
20640
20640
6
20641
 
set autocommit=0;
 
20641
set @@autocommit = 0;
20642
20642
DROP TABLE t1;
20643
20643
355;
20644
 
create table t1 (n int not null primary key) ;
20645
 
set autocommit=0;
 
20644
create table t1 (n int not null primary key);
 
20645
set @@autocommit = 0;
20646
20646
insert into t1 values (4);
20647
20647
rollback;
20648
20648
select n, "after rollback" from t1;
20661
20661
n       after commit
20662
20662
4       after commit
20663
20663
5       after commit
20664
 
set autocommit=1;
 
20664
set @@autocommit = 1;
20665
20665
insert into t1 values (6);
20666
20666
insert into t1 values (4);
20667
20667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20670
20670
4
20671
20671
5
20672
20672
6
20673
 
set autocommit=0;
 
20673
set @@autocommit = 0;
20674
20674
DROP TABLE t1;
20675
20675
354;
20676
 
create table t1 (n int not null primary key) ;
20677
 
set autocommit=0;
 
20676
create table t1 (n int not null primary key);
 
20677
set @@autocommit = 0;
20678
20678
insert into t1 values (4);
20679
20679
rollback;
20680
20680
select n, "after rollback" from t1;
20693
20693
n       after commit
20694
20694
4       after commit
20695
20695
5       after commit
20696
 
set autocommit=1;
 
20696
set @@autocommit = 1;
20697
20697
insert into t1 values (6);
20698
20698
insert into t1 values (4);
20699
20699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20702
20702
4
20703
20703
5
20704
20704
6
20705
 
set autocommit=0;
 
20705
set @@autocommit = 0;
20706
20706
DROP TABLE t1;
20707
20707
353;
20708
 
create table t1 (n int not null primary key) ;
20709
 
set autocommit=0;
 
20708
create table t1 (n int not null primary key);
 
20709
set @@autocommit = 0;
20710
20710
insert into t1 values (4);
20711
20711
rollback;
20712
20712
select n, "after rollback" from t1;
20725
20725
n       after commit
20726
20726
4       after commit
20727
20727
5       after commit
20728
 
set autocommit=1;
 
20728
set @@autocommit = 1;
20729
20729
insert into t1 values (6);
20730
20730
insert into t1 values (4);
20731
20731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20734
20734
4
20735
20735
5
20736
20736
6
20737
 
set autocommit=0;
 
20737
set @@autocommit = 0;
20738
20738
DROP TABLE t1;
20739
20739
352;
20740
 
create table t1 (n int not null primary key) ;
20741
 
set autocommit=0;
 
20740
create table t1 (n int not null primary key);
 
20741
set @@autocommit = 0;
20742
20742
insert into t1 values (4);
20743
20743
rollback;
20744
20744
select n, "after rollback" from t1;
20757
20757
n       after commit
20758
20758
4       after commit
20759
20759
5       after commit
20760
 
set autocommit=1;
 
20760
set @@autocommit = 1;
20761
20761
insert into t1 values (6);
20762
20762
insert into t1 values (4);
20763
20763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20766
20766
4
20767
20767
5
20768
20768
6
20769
 
set autocommit=0;
 
20769
set @@autocommit = 0;
20770
20770
DROP TABLE t1;
20771
20771
351;
20772
 
create table t1 (n int not null primary key) ;
20773
 
set autocommit=0;
 
20772
create table t1 (n int not null primary key);
 
20773
set @@autocommit = 0;
20774
20774
insert into t1 values (4);
20775
20775
rollback;
20776
20776
select n, "after rollback" from t1;
20789
20789
n       after commit
20790
20790
4       after commit
20791
20791
5       after commit
20792
 
set autocommit=1;
 
20792
set @@autocommit = 1;
20793
20793
insert into t1 values (6);
20794
20794
insert into t1 values (4);
20795
20795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20798
20798
4
20799
20799
5
20800
20800
6
20801
 
set autocommit=0;
 
20801
set @@autocommit = 0;
20802
20802
DROP TABLE t1;
20803
20803
350;
20804
 
create table t1 (n int not null primary key) ;
20805
 
set autocommit=0;
 
20804
create table t1 (n int not null primary key);
 
20805
set @@autocommit = 0;
20806
20806
insert into t1 values (4);
20807
20807
rollback;
20808
20808
select n, "after rollback" from t1;
20821
20821
n       after commit
20822
20822
4       after commit
20823
20823
5       after commit
20824
 
set autocommit=1;
 
20824
set @@autocommit = 1;
20825
20825
insert into t1 values (6);
20826
20826
insert into t1 values (4);
20827
20827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20830
20830
4
20831
20831
5
20832
20832
6
20833
 
set autocommit=0;
 
20833
set @@autocommit = 0;
20834
20834
DROP TABLE t1;
20835
20835
349;
20836
 
create table t1 (n int not null primary key) ;
20837
 
set autocommit=0;
 
20836
create table t1 (n int not null primary key);
 
20837
set @@autocommit = 0;
20838
20838
insert into t1 values (4);
20839
20839
rollback;
20840
20840
select n, "after rollback" from t1;
20853
20853
n       after commit
20854
20854
4       after commit
20855
20855
5       after commit
20856
 
set autocommit=1;
 
20856
set @@autocommit = 1;
20857
20857
insert into t1 values (6);
20858
20858
insert into t1 values (4);
20859
20859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20862
20862
4
20863
20863
5
20864
20864
6
20865
 
set autocommit=0;
 
20865
set @@autocommit = 0;
20866
20866
DROP TABLE t1;
20867
20867
348;
20868
 
create table t1 (n int not null primary key) ;
20869
 
set autocommit=0;
 
20868
create table t1 (n int not null primary key);
 
20869
set @@autocommit = 0;
20870
20870
insert into t1 values (4);
20871
20871
rollback;
20872
20872
select n, "after rollback" from t1;
20885
20885
n       after commit
20886
20886
4       after commit
20887
20887
5       after commit
20888
 
set autocommit=1;
 
20888
set @@autocommit = 1;
20889
20889
insert into t1 values (6);
20890
20890
insert into t1 values (4);
20891
20891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20894
20894
4
20895
20895
5
20896
20896
6
20897
 
set autocommit=0;
 
20897
set @@autocommit = 0;
20898
20898
DROP TABLE t1;
20899
20899
347;
20900
 
create table t1 (n int not null primary key) ;
20901
 
set autocommit=0;
 
20900
create table t1 (n int not null primary key);
 
20901
set @@autocommit = 0;
20902
20902
insert into t1 values (4);
20903
20903
rollback;
20904
20904
select n, "after rollback" from t1;
20917
20917
n       after commit
20918
20918
4       after commit
20919
20919
5       after commit
20920
 
set autocommit=1;
 
20920
set @@autocommit = 1;
20921
20921
insert into t1 values (6);
20922
20922
insert into t1 values (4);
20923
20923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20926
20926
4
20927
20927
5
20928
20928
6
20929
 
set autocommit=0;
 
20929
set @@autocommit = 0;
20930
20930
DROP TABLE t1;
20931
20931
346;
20932
 
create table t1 (n int not null primary key) ;
20933
 
set autocommit=0;
 
20932
create table t1 (n int not null primary key);
 
20933
set @@autocommit = 0;
20934
20934
insert into t1 values (4);
20935
20935
rollback;
20936
20936
select n, "after rollback" from t1;
20949
20949
n       after commit
20950
20950
4       after commit
20951
20951
5       after commit
20952
 
set autocommit=1;
 
20952
set @@autocommit = 1;
20953
20953
insert into t1 values (6);
20954
20954
insert into t1 values (4);
20955
20955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20958
20958
4
20959
20959
5
20960
20960
6
20961
 
set autocommit=0;
 
20961
set @@autocommit = 0;
20962
20962
DROP TABLE t1;
20963
20963
345;
20964
 
create table t1 (n int not null primary key) ;
20965
 
set autocommit=0;
 
20964
create table t1 (n int not null primary key);
 
20965
set @@autocommit = 0;
20966
20966
insert into t1 values (4);
20967
20967
rollback;
20968
20968
select n, "after rollback" from t1;
20981
20981
n       after commit
20982
20982
4       after commit
20983
20983
5       after commit
20984
 
set autocommit=1;
 
20984
set @@autocommit = 1;
20985
20985
insert into t1 values (6);
20986
20986
insert into t1 values (4);
20987
20987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
20990
20990
4
20991
20991
5
20992
20992
6
20993
 
set autocommit=0;
 
20993
set @@autocommit = 0;
20994
20994
DROP TABLE t1;
20995
20995
344;
20996
 
create table t1 (n int not null primary key) ;
20997
 
set autocommit=0;
 
20996
create table t1 (n int not null primary key);
 
20997
set @@autocommit = 0;
20998
20998
insert into t1 values (4);
20999
20999
rollback;
21000
21000
select n, "after rollback" from t1;
21013
21013
n       after commit
21014
21014
4       after commit
21015
21015
5       after commit
21016
 
set autocommit=1;
 
21016
set @@autocommit = 1;
21017
21017
insert into t1 values (6);
21018
21018
insert into t1 values (4);
21019
21019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21022
21022
4
21023
21023
5
21024
21024
6
21025
 
set autocommit=0;
 
21025
set @@autocommit = 0;
21026
21026
DROP TABLE t1;
21027
21027
343;
21028
 
create table t1 (n int not null primary key) ;
21029
 
set autocommit=0;
 
21028
create table t1 (n int not null primary key);
 
21029
set @@autocommit = 0;
21030
21030
insert into t1 values (4);
21031
21031
rollback;
21032
21032
select n, "after rollback" from t1;
21045
21045
n       after commit
21046
21046
4       after commit
21047
21047
5       after commit
21048
 
set autocommit=1;
 
21048
set @@autocommit = 1;
21049
21049
insert into t1 values (6);
21050
21050
insert into t1 values (4);
21051
21051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21054
21054
4
21055
21055
5
21056
21056
6
21057
 
set autocommit=0;
 
21057
set @@autocommit = 0;
21058
21058
DROP TABLE t1;
21059
21059
342;
21060
 
create table t1 (n int not null primary key) ;
21061
 
set autocommit=0;
 
21060
create table t1 (n int not null primary key);
 
21061
set @@autocommit = 0;
21062
21062
insert into t1 values (4);
21063
21063
rollback;
21064
21064
select n, "after rollback" from t1;
21077
21077
n       after commit
21078
21078
4       after commit
21079
21079
5       after commit
21080
 
set autocommit=1;
 
21080
set @@autocommit = 1;
21081
21081
insert into t1 values (6);
21082
21082
insert into t1 values (4);
21083
21083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21086
21086
4
21087
21087
5
21088
21088
6
21089
 
set autocommit=0;
 
21089
set @@autocommit = 0;
21090
21090
DROP TABLE t1;
21091
21091
341;
21092
 
create table t1 (n int not null primary key) ;
21093
 
set autocommit=0;
 
21092
create table t1 (n int not null primary key);
 
21093
set @@autocommit = 0;
21094
21094
insert into t1 values (4);
21095
21095
rollback;
21096
21096
select n, "after rollback" from t1;
21109
21109
n       after commit
21110
21110
4       after commit
21111
21111
5       after commit
21112
 
set autocommit=1;
 
21112
set @@autocommit = 1;
21113
21113
insert into t1 values (6);
21114
21114
insert into t1 values (4);
21115
21115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21118
21118
4
21119
21119
5
21120
21120
6
21121
 
set autocommit=0;
 
21121
set @@autocommit = 0;
21122
21122
DROP TABLE t1;
21123
21123
340;
21124
 
create table t1 (n int not null primary key) ;
21125
 
set autocommit=0;
 
21124
create table t1 (n int not null primary key);
 
21125
set @@autocommit = 0;
21126
21126
insert into t1 values (4);
21127
21127
rollback;
21128
21128
select n, "after rollback" from t1;
21141
21141
n       after commit
21142
21142
4       after commit
21143
21143
5       after commit
21144
 
set autocommit=1;
 
21144
set @@autocommit = 1;
21145
21145
insert into t1 values (6);
21146
21146
insert into t1 values (4);
21147
21147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21150
21150
4
21151
21151
5
21152
21152
6
21153
 
set autocommit=0;
 
21153
set @@autocommit = 0;
21154
21154
DROP TABLE t1;
21155
21155
339;
21156
 
create table t1 (n int not null primary key) ;
21157
 
set autocommit=0;
 
21156
create table t1 (n int not null primary key);
 
21157
set @@autocommit = 0;
21158
21158
insert into t1 values (4);
21159
21159
rollback;
21160
21160
select n, "after rollback" from t1;
21173
21173
n       after commit
21174
21174
4       after commit
21175
21175
5       after commit
21176
 
set autocommit=1;
 
21176
set @@autocommit = 1;
21177
21177
insert into t1 values (6);
21178
21178
insert into t1 values (4);
21179
21179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21182
21182
4
21183
21183
5
21184
21184
6
21185
 
set autocommit=0;
 
21185
set @@autocommit = 0;
21186
21186
DROP TABLE t1;
21187
21187
338;
21188
 
create table t1 (n int not null primary key) ;
21189
 
set autocommit=0;
 
21188
create table t1 (n int not null primary key);
 
21189
set @@autocommit = 0;
21190
21190
insert into t1 values (4);
21191
21191
rollback;
21192
21192
select n, "after rollback" from t1;
21205
21205
n       after commit
21206
21206
4       after commit
21207
21207
5       after commit
21208
 
set autocommit=1;
 
21208
set @@autocommit = 1;
21209
21209
insert into t1 values (6);
21210
21210
insert into t1 values (4);
21211
21211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21214
21214
4
21215
21215
5
21216
21216
6
21217
 
set autocommit=0;
 
21217
set @@autocommit = 0;
21218
21218
DROP TABLE t1;
21219
21219
337;
21220
 
create table t1 (n int not null primary key) ;
21221
 
set autocommit=0;
 
21220
create table t1 (n int not null primary key);
 
21221
set @@autocommit = 0;
21222
21222
insert into t1 values (4);
21223
21223
rollback;
21224
21224
select n, "after rollback" from t1;
21237
21237
n       after commit
21238
21238
4       after commit
21239
21239
5       after commit
21240
 
set autocommit=1;
 
21240
set @@autocommit = 1;
21241
21241
insert into t1 values (6);
21242
21242
insert into t1 values (4);
21243
21243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21246
21246
4
21247
21247
5
21248
21248
6
21249
 
set autocommit=0;
 
21249
set @@autocommit = 0;
21250
21250
DROP TABLE t1;
21251
21251
336;
21252
 
create table t1 (n int not null primary key) ;
21253
 
set autocommit=0;
 
21252
create table t1 (n int not null primary key);
 
21253
set @@autocommit = 0;
21254
21254
insert into t1 values (4);
21255
21255
rollback;
21256
21256
select n, "after rollback" from t1;
21269
21269
n       after commit
21270
21270
4       after commit
21271
21271
5       after commit
21272
 
set autocommit=1;
 
21272
set @@autocommit = 1;
21273
21273
insert into t1 values (6);
21274
21274
insert into t1 values (4);
21275
21275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21278
21278
4
21279
21279
5
21280
21280
6
21281
 
set autocommit=0;
 
21281
set @@autocommit = 0;
21282
21282
DROP TABLE t1;
21283
21283
335;
21284
 
create table t1 (n int not null primary key) ;
21285
 
set autocommit=0;
 
21284
create table t1 (n int not null primary key);
 
21285
set @@autocommit = 0;
21286
21286
insert into t1 values (4);
21287
21287
rollback;
21288
21288
select n, "after rollback" from t1;
21301
21301
n       after commit
21302
21302
4       after commit
21303
21303
5       after commit
21304
 
set autocommit=1;
 
21304
set @@autocommit = 1;
21305
21305
insert into t1 values (6);
21306
21306
insert into t1 values (4);
21307
21307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21310
21310
4
21311
21311
5
21312
21312
6
21313
 
set autocommit=0;
 
21313
set @@autocommit = 0;
21314
21314
DROP TABLE t1;
21315
21315
334;
21316
 
create table t1 (n int not null primary key) ;
21317
 
set autocommit=0;
 
21316
create table t1 (n int not null primary key);
 
21317
set @@autocommit = 0;
21318
21318
insert into t1 values (4);
21319
21319
rollback;
21320
21320
select n, "after rollback" from t1;
21333
21333
n       after commit
21334
21334
4       after commit
21335
21335
5       after commit
21336
 
set autocommit=1;
 
21336
set @@autocommit = 1;
21337
21337
insert into t1 values (6);
21338
21338
insert into t1 values (4);
21339
21339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21342
21342
4
21343
21343
5
21344
21344
6
21345
 
set autocommit=0;
 
21345
set @@autocommit = 0;
21346
21346
DROP TABLE t1;
21347
21347
333;
21348
 
create table t1 (n int not null primary key) ;
21349
 
set autocommit=0;
 
21348
create table t1 (n int not null primary key);
 
21349
set @@autocommit = 0;
21350
21350
insert into t1 values (4);
21351
21351
rollback;
21352
21352
select n, "after rollback" from t1;
21365
21365
n       after commit
21366
21366
4       after commit
21367
21367
5       after commit
21368
 
set autocommit=1;
 
21368
set @@autocommit = 1;
21369
21369
insert into t1 values (6);
21370
21370
insert into t1 values (4);
21371
21371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21374
21374
4
21375
21375
5
21376
21376
6
21377
 
set autocommit=0;
 
21377
set @@autocommit = 0;
21378
21378
DROP TABLE t1;
21379
21379
332;
21380
 
create table t1 (n int not null primary key) ;
21381
 
set autocommit=0;
 
21380
create table t1 (n int not null primary key);
 
21381
set @@autocommit = 0;
21382
21382
insert into t1 values (4);
21383
21383
rollback;
21384
21384
select n, "after rollback" from t1;
21397
21397
n       after commit
21398
21398
4       after commit
21399
21399
5       after commit
21400
 
set autocommit=1;
 
21400
set @@autocommit = 1;
21401
21401
insert into t1 values (6);
21402
21402
insert into t1 values (4);
21403
21403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21406
21406
4
21407
21407
5
21408
21408
6
21409
 
set autocommit=0;
 
21409
set @@autocommit = 0;
21410
21410
DROP TABLE t1;
21411
21411
331;
21412
 
create table t1 (n int not null primary key) ;
21413
 
set autocommit=0;
 
21412
create table t1 (n int not null primary key);
 
21413
set @@autocommit = 0;
21414
21414
insert into t1 values (4);
21415
21415
rollback;
21416
21416
select n, "after rollback" from t1;
21429
21429
n       after commit
21430
21430
4       after commit
21431
21431
5       after commit
21432
 
set autocommit=1;
 
21432
set @@autocommit = 1;
21433
21433
insert into t1 values (6);
21434
21434
insert into t1 values (4);
21435
21435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21438
21438
4
21439
21439
5
21440
21440
6
21441
 
set autocommit=0;
 
21441
set @@autocommit = 0;
21442
21442
DROP TABLE t1;
21443
21443
330;
21444
 
create table t1 (n int not null primary key) ;
21445
 
set autocommit=0;
 
21444
create table t1 (n int not null primary key);
 
21445
set @@autocommit = 0;
21446
21446
insert into t1 values (4);
21447
21447
rollback;
21448
21448
select n, "after rollback" from t1;
21461
21461
n       after commit
21462
21462
4       after commit
21463
21463
5       after commit
21464
 
set autocommit=1;
 
21464
set @@autocommit = 1;
21465
21465
insert into t1 values (6);
21466
21466
insert into t1 values (4);
21467
21467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21470
21470
4
21471
21471
5
21472
21472
6
21473
 
set autocommit=0;
 
21473
set @@autocommit = 0;
21474
21474
DROP TABLE t1;
21475
21475
329;
21476
 
create table t1 (n int not null primary key) ;
21477
 
set autocommit=0;
 
21476
create table t1 (n int not null primary key);
 
21477
set @@autocommit = 0;
21478
21478
insert into t1 values (4);
21479
21479
rollback;
21480
21480
select n, "after rollback" from t1;
21493
21493
n       after commit
21494
21494
4       after commit
21495
21495
5       after commit
21496
 
set autocommit=1;
 
21496
set @@autocommit = 1;
21497
21497
insert into t1 values (6);
21498
21498
insert into t1 values (4);
21499
21499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21502
21502
4
21503
21503
5
21504
21504
6
21505
 
set autocommit=0;
 
21505
set @@autocommit = 0;
21506
21506
DROP TABLE t1;
21507
21507
328;
21508
 
create table t1 (n int not null primary key) ;
21509
 
set autocommit=0;
 
21508
create table t1 (n int not null primary key);
 
21509
set @@autocommit = 0;
21510
21510
insert into t1 values (4);
21511
21511
rollback;
21512
21512
select n, "after rollback" from t1;
21525
21525
n       after commit
21526
21526
4       after commit
21527
21527
5       after commit
21528
 
set autocommit=1;
 
21528
set @@autocommit = 1;
21529
21529
insert into t1 values (6);
21530
21530
insert into t1 values (4);
21531
21531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21534
21534
4
21535
21535
5
21536
21536
6
21537
 
set autocommit=0;
 
21537
set @@autocommit = 0;
21538
21538
DROP TABLE t1;
21539
21539
327;
21540
 
create table t1 (n int not null primary key) ;
21541
 
set autocommit=0;
 
21540
create table t1 (n int not null primary key);
 
21541
set @@autocommit = 0;
21542
21542
insert into t1 values (4);
21543
21543
rollback;
21544
21544
select n, "after rollback" from t1;
21557
21557
n       after commit
21558
21558
4       after commit
21559
21559
5       after commit
21560
 
set autocommit=1;
 
21560
set @@autocommit = 1;
21561
21561
insert into t1 values (6);
21562
21562
insert into t1 values (4);
21563
21563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21566
21566
4
21567
21567
5
21568
21568
6
21569
 
set autocommit=0;
 
21569
set @@autocommit = 0;
21570
21570
DROP TABLE t1;
21571
21571
326;
21572
 
create table t1 (n int not null primary key) ;
21573
 
set autocommit=0;
 
21572
create table t1 (n int not null primary key);
 
21573
set @@autocommit = 0;
21574
21574
insert into t1 values (4);
21575
21575
rollback;
21576
21576
select n, "after rollback" from t1;
21589
21589
n       after commit
21590
21590
4       after commit
21591
21591
5       after commit
21592
 
set autocommit=1;
 
21592
set @@autocommit = 1;
21593
21593
insert into t1 values (6);
21594
21594
insert into t1 values (4);
21595
21595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21598
21598
4
21599
21599
5
21600
21600
6
21601
 
set autocommit=0;
 
21601
set @@autocommit = 0;
21602
21602
DROP TABLE t1;
21603
21603
325;
21604
 
create table t1 (n int not null primary key) ;
21605
 
set autocommit=0;
 
21604
create table t1 (n int not null primary key);
 
21605
set @@autocommit = 0;
21606
21606
insert into t1 values (4);
21607
21607
rollback;
21608
21608
select n, "after rollback" from t1;
21621
21621
n       after commit
21622
21622
4       after commit
21623
21623
5       after commit
21624
 
set autocommit=1;
 
21624
set @@autocommit = 1;
21625
21625
insert into t1 values (6);
21626
21626
insert into t1 values (4);
21627
21627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21630
21630
4
21631
21631
5
21632
21632
6
21633
 
set autocommit=0;
 
21633
set @@autocommit = 0;
21634
21634
DROP TABLE t1;
21635
21635
324;
21636
 
create table t1 (n int not null primary key) ;
21637
 
set autocommit=0;
 
21636
create table t1 (n int not null primary key);
 
21637
set @@autocommit = 0;
21638
21638
insert into t1 values (4);
21639
21639
rollback;
21640
21640
select n, "after rollback" from t1;
21653
21653
n       after commit
21654
21654
4       after commit
21655
21655
5       after commit
21656
 
set autocommit=1;
 
21656
set @@autocommit = 1;
21657
21657
insert into t1 values (6);
21658
21658
insert into t1 values (4);
21659
21659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21662
21662
4
21663
21663
5
21664
21664
6
21665
 
set autocommit=0;
 
21665
set @@autocommit = 0;
21666
21666
DROP TABLE t1;
21667
21667
323;
21668
 
create table t1 (n int not null primary key) ;
21669
 
set autocommit=0;
 
21668
create table t1 (n int not null primary key);
 
21669
set @@autocommit = 0;
21670
21670
insert into t1 values (4);
21671
21671
rollback;
21672
21672
select n, "after rollback" from t1;
21685
21685
n       after commit
21686
21686
4       after commit
21687
21687
5       after commit
21688
 
set autocommit=1;
 
21688
set @@autocommit = 1;
21689
21689
insert into t1 values (6);
21690
21690
insert into t1 values (4);
21691
21691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21694
21694
4
21695
21695
5
21696
21696
6
21697
 
set autocommit=0;
 
21697
set @@autocommit = 0;
21698
21698
DROP TABLE t1;
21699
21699
322;
21700
 
create table t1 (n int not null primary key) ;
21701
 
set autocommit=0;
 
21700
create table t1 (n int not null primary key);
 
21701
set @@autocommit = 0;
21702
21702
insert into t1 values (4);
21703
21703
rollback;
21704
21704
select n, "after rollback" from t1;
21717
21717
n       after commit
21718
21718
4       after commit
21719
21719
5       after commit
21720
 
set autocommit=1;
 
21720
set @@autocommit = 1;
21721
21721
insert into t1 values (6);
21722
21722
insert into t1 values (4);
21723
21723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21726
21726
4
21727
21727
5
21728
21728
6
21729
 
set autocommit=0;
 
21729
set @@autocommit = 0;
21730
21730
DROP TABLE t1;
21731
21731
321;
21732
 
create table t1 (n int not null primary key) ;
21733
 
set autocommit=0;
 
21732
create table t1 (n int not null primary key);
 
21733
set @@autocommit = 0;
21734
21734
insert into t1 values (4);
21735
21735
rollback;
21736
21736
select n, "after rollback" from t1;
21749
21749
n       after commit
21750
21750
4       after commit
21751
21751
5       after commit
21752
 
set autocommit=1;
 
21752
set @@autocommit = 1;
21753
21753
insert into t1 values (6);
21754
21754
insert into t1 values (4);
21755
21755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21758
21758
4
21759
21759
5
21760
21760
6
21761
 
set autocommit=0;
 
21761
set @@autocommit = 0;
21762
21762
DROP TABLE t1;
21763
21763
320;
21764
 
create table t1 (n int not null primary key) ;
21765
 
set autocommit=0;
 
21764
create table t1 (n int not null primary key);
 
21765
set @@autocommit = 0;
21766
21766
insert into t1 values (4);
21767
21767
rollback;
21768
21768
select n, "after rollback" from t1;
21781
21781
n       after commit
21782
21782
4       after commit
21783
21783
5       after commit
21784
 
set autocommit=1;
 
21784
set @@autocommit = 1;
21785
21785
insert into t1 values (6);
21786
21786
insert into t1 values (4);
21787
21787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21790
21790
4
21791
21791
5
21792
21792
6
21793
 
set autocommit=0;
 
21793
set @@autocommit = 0;
21794
21794
DROP TABLE t1;
21795
21795
319;
21796
 
create table t1 (n int not null primary key) ;
21797
 
set autocommit=0;
 
21796
create table t1 (n int not null primary key);
 
21797
set @@autocommit = 0;
21798
21798
insert into t1 values (4);
21799
21799
rollback;
21800
21800
select n, "after rollback" from t1;
21813
21813
n       after commit
21814
21814
4       after commit
21815
21815
5       after commit
21816
 
set autocommit=1;
 
21816
set @@autocommit = 1;
21817
21817
insert into t1 values (6);
21818
21818
insert into t1 values (4);
21819
21819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21822
21822
4
21823
21823
5
21824
21824
6
21825
 
set autocommit=0;
 
21825
set @@autocommit = 0;
21826
21826
DROP TABLE t1;
21827
21827
318;
21828
 
create table t1 (n int not null primary key) ;
21829
 
set autocommit=0;
 
21828
create table t1 (n int not null primary key);
 
21829
set @@autocommit = 0;
21830
21830
insert into t1 values (4);
21831
21831
rollback;
21832
21832
select n, "after rollback" from t1;
21845
21845
n       after commit
21846
21846
4       after commit
21847
21847
5       after commit
21848
 
set autocommit=1;
 
21848
set @@autocommit = 1;
21849
21849
insert into t1 values (6);
21850
21850
insert into t1 values (4);
21851
21851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21854
21854
4
21855
21855
5
21856
21856
6
21857
 
set autocommit=0;
 
21857
set @@autocommit = 0;
21858
21858
DROP TABLE t1;
21859
21859
317;
21860
 
create table t1 (n int not null primary key) ;
21861
 
set autocommit=0;
 
21860
create table t1 (n int not null primary key);
 
21861
set @@autocommit = 0;
21862
21862
insert into t1 values (4);
21863
21863
rollback;
21864
21864
select n, "after rollback" from t1;
21877
21877
n       after commit
21878
21878
4       after commit
21879
21879
5       after commit
21880
 
set autocommit=1;
 
21880
set @@autocommit = 1;
21881
21881
insert into t1 values (6);
21882
21882
insert into t1 values (4);
21883
21883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21886
21886
4
21887
21887
5
21888
21888
6
21889
 
set autocommit=0;
 
21889
set @@autocommit = 0;
21890
21890
DROP TABLE t1;
21891
21891
316;
21892
 
create table t1 (n int not null primary key) ;
21893
 
set autocommit=0;
 
21892
create table t1 (n int not null primary key);
 
21893
set @@autocommit = 0;
21894
21894
insert into t1 values (4);
21895
21895
rollback;
21896
21896
select n, "after rollback" from t1;
21909
21909
n       after commit
21910
21910
4       after commit
21911
21911
5       after commit
21912
 
set autocommit=1;
 
21912
set @@autocommit = 1;
21913
21913
insert into t1 values (6);
21914
21914
insert into t1 values (4);
21915
21915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21918
21918
4
21919
21919
5
21920
21920
6
21921
 
set autocommit=0;
 
21921
set @@autocommit = 0;
21922
21922
DROP TABLE t1;
21923
21923
315;
21924
 
create table t1 (n int not null primary key) ;
21925
 
set autocommit=0;
 
21924
create table t1 (n int not null primary key);
 
21925
set @@autocommit = 0;
21926
21926
insert into t1 values (4);
21927
21927
rollback;
21928
21928
select n, "after rollback" from t1;
21941
21941
n       after commit
21942
21942
4       after commit
21943
21943
5       after commit
21944
 
set autocommit=1;
 
21944
set @@autocommit = 1;
21945
21945
insert into t1 values (6);
21946
21946
insert into t1 values (4);
21947
21947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21950
21950
4
21951
21951
5
21952
21952
6
21953
 
set autocommit=0;
 
21953
set @@autocommit = 0;
21954
21954
DROP TABLE t1;
21955
21955
314;
21956
 
create table t1 (n int not null primary key) ;
21957
 
set autocommit=0;
 
21956
create table t1 (n int not null primary key);
 
21957
set @@autocommit = 0;
21958
21958
insert into t1 values (4);
21959
21959
rollback;
21960
21960
select n, "after rollback" from t1;
21973
21973
n       after commit
21974
21974
4       after commit
21975
21975
5       after commit
21976
 
set autocommit=1;
 
21976
set @@autocommit = 1;
21977
21977
insert into t1 values (6);
21978
21978
insert into t1 values (4);
21979
21979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
21982
21982
4
21983
21983
5
21984
21984
6
21985
 
set autocommit=0;
 
21985
set @@autocommit = 0;
21986
21986
DROP TABLE t1;
21987
21987
313;
21988
 
create table t1 (n int not null primary key) ;
21989
 
set autocommit=0;
 
21988
create table t1 (n int not null primary key);
 
21989
set @@autocommit = 0;
21990
21990
insert into t1 values (4);
21991
21991
rollback;
21992
21992
select n, "after rollback" from t1;
22005
22005
n       after commit
22006
22006
4       after commit
22007
22007
5       after commit
22008
 
set autocommit=1;
 
22008
set @@autocommit = 1;
22009
22009
insert into t1 values (6);
22010
22010
insert into t1 values (4);
22011
22011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22014
22014
4
22015
22015
5
22016
22016
6
22017
 
set autocommit=0;
 
22017
set @@autocommit = 0;
22018
22018
DROP TABLE t1;
22019
22019
312;
22020
 
create table t1 (n int not null primary key) ;
22021
 
set autocommit=0;
 
22020
create table t1 (n int not null primary key);
 
22021
set @@autocommit = 0;
22022
22022
insert into t1 values (4);
22023
22023
rollback;
22024
22024
select n, "after rollback" from t1;
22037
22037
n       after commit
22038
22038
4       after commit
22039
22039
5       after commit
22040
 
set autocommit=1;
 
22040
set @@autocommit = 1;
22041
22041
insert into t1 values (6);
22042
22042
insert into t1 values (4);
22043
22043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22046
22046
4
22047
22047
5
22048
22048
6
22049
 
set autocommit=0;
 
22049
set @@autocommit = 0;
22050
22050
DROP TABLE t1;
22051
22051
311;
22052
 
create table t1 (n int not null primary key) ;
22053
 
set autocommit=0;
 
22052
create table t1 (n int not null primary key);
 
22053
set @@autocommit = 0;
22054
22054
insert into t1 values (4);
22055
22055
rollback;
22056
22056
select n, "after rollback" from t1;
22069
22069
n       after commit
22070
22070
4       after commit
22071
22071
5       after commit
22072
 
set autocommit=1;
 
22072
set @@autocommit = 1;
22073
22073
insert into t1 values (6);
22074
22074
insert into t1 values (4);
22075
22075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22078
22078
4
22079
22079
5
22080
22080
6
22081
 
set autocommit=0;
 
22081
set @@autocommit = 0;
22082
22082
DROP TABLE t1;
22083
22083
310;
22084
 
create table t1 (n int not null primary key) ;
22085
 
set autocommit=0;
 
22084
create table t1 (n int not null primary key);
 
22085
set @@autocommit = 0;
22086
22086
insert into t1 values (4);
22087
22087
rollback;
22088
22088
select n, "after rollback" from t1;
22101
22101
n       after commit
22102
22102
4       after commit
22103
22103
5       after commit
22104
 
set autocommit=1;
 
22104
set @@autocommit = 1;
22105
22105
insert into t1 values (6);
22106
22106
insert into t1 values (4);
22107
22107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22110
22110
4
22111
22111
5
22112
22112
6
22113
 
set autocommit=0;
 
22113
set @@autocommit = 0;
22114
22114
DROP TABLE t1;
22115
22115
309;
22116
 
create table t1 (n int not null primary key) ;
22117
 
set autocommit=0;
 
22116
create table t1 (n int not null primary key);
 
22117
set @@autocommit = 0;
22118
22118
insert into t1 values (4);
22119
22119
rollback;
22120
22120
select n, "after rollback" from t1;
22133
22133
n       after commit
22134
22134
4       after commit
22135
22135
5       after commit
22136
 
set autocommit=1;
 
22136
set @@autocommit = 1;
22137
22137
insert into t1 values (6);
22138
22138
insert into t1 values (4);
22139
22139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22142
22142
4
22143
22143
5
22144
22144
6
22145
 
set autocommit=0;
 
22145
set @@autocommit = 0;
22146
22146
DROP TABLE t1;
22147
22147
308;
22148
 
create table t1 (n int not null primary key) ;
22149
 
set autocommit=0;
 
22148
create table t1 (n int not null primary key);
 
22149
set @@autocommit = 0;
22150
22150
insert into t1 values (4);
22151
22151
rollback;
22152
22152
select n, "after rollback" from t1;
22165
22165
n       after commit
22166
22166
4       after commit
22167
22167
5       after commit
22168
 
set autocommit=1;
 
22168
set @@autocommit = 1;
22169
22169
insert into t1 values (6);
22170
22170
insert into t1 values (4);
22171
22171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22174
22174
4
22175
22175
5
22176
22176
6
22177
 
set autocommit=0;
 
22177
set @@autocommit = 0;
22178
22178
DROP TABLE t1;
22179
22179
307;
22180
 
create table t1 (n int not null primary key) ;
22181
 
set autocommit=0;
 
22180
create table t1 (n int not null primary key);
 
22181
set @@autocommit = 0;
22182
22182
insert into t1 values (4);
22183
22183
rollback;
22184
22184
select n, "after rollback" from t1;
22197
22197
n       after commit
22198
22198
4       after commit
22199
22199
5       after commit
22200
 
set autocommit=1;
 
22200
set @@autocommit = 1;
22201
22201
insert into t1 values (6);
22202
22202
insert into t1 values (4);
22203
22203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22206
22206
4
22207
22207
5
22208
22208
6
22209
 
set autocommit=0;
 
22209
set @@autocommit = 0;
22210
22210
DROP TABLE t1;
22211
22211
306;
22212
 
create table t1 (n int not null primary key) ;
22213
 
set autocommit=0;
 
22212
create table t1 (n int not null primary key);
 
22213
set @@autocommit = 0;
22214
22214
insert into t1 values (4);
22215
22215
rollback;
22216
22216
select n, "after rollback" from t1;
22229
22229
n       after commit
22230
22230
4       after commit
22231
22231
5       after commit
22232
 
set autocommit=1;
 
22232
set @@autocommit = 1;
22233
22233
insert into t1 values (6);
22234
22234
insert into t1 values (4);
22235
22235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22238
22238
4
22239
22239
5
22240
22240
6
22241
 
set autocommit=0;
 
22241
set @@autocommit = 0;
22242
22242
DROP TABLE t1;
22243
22243
305;
22244
 
create table t1 (n int not null primary key) ;
22245
 
set autocommit=0;
 
22244
create table t1 (n int not null primary key);
 
22245
set @@autocommit = 0;
22246
22246
insert into t1 values (4);
22247
22247
rollback;
22248
22248
select n, "after rollback" from t1;
22261
22261
n       after commit
22262
22262
4       after commit
22263
22263
5       after commit
22264
 
set autocommit=1;
 
22264
set @@autocommit = 1;
22265
22265
insert into t1 values (6);
22266
22266
insert into t1 values (4);
22267
22267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22270
22270
4
22271
22271
5
22272
22272
6
22273
 
set autocommit=0;
 
22273
set @@autocommit = 0;
22274
22274
DROP TABLE t1;
22275
22275
304;
22276
 
create table t1 (n int not null primary key) ;
22277
 
set autocommit=0;
 
22276
create table t1 (n int not null primary key);
 
22277
set @@autocommit = 0;
22278
22278
insert into t1 values (4);
22279
22279
rollback;
22280
22280
select n, "after rollback" from t1;
22293
22293
n       after commit
22294
22294
4       after commit
22295
22295
5       after commit
22296
 
set autocommit=1;
 
22296
set @@autocommit = 1;
22297
22297
insert into t1 values (6);
22298
22298
insert into t1 values (4);
22299
22299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22302
22302
4
22303
22303
5
22304
22304
6
22305
 
set autocommit=0;
 
22305
set @@autocommit = 0;
22306
22306
DROP TABLE t1;
22307
22307
303;
22308
 
create table t1 (n int not null primary key) ;
22309
 
set autocommit=0;
 
22308
create table t1 (n int not null primary key);
 
22309
set @@autocommit = 0;
22310
22310
insert into t1 values (4);
22311
22311
rollback;
22312
22312
select n, "after rollback" from t1;
22325
22325
n       after commit
22326
22326
4       after commit
22327
22327
5       after commit
22328
 
set autocommit=1;
 
22328
set @@autocommit = 1;
22329
22329
insert into t1 values (6);
22330
22330
insert into t1 values (4);
22331
22331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22334
22334
4
22335
22335
5
22336
22336
6
22337
 
set autocommit=0;
 
22337
set @@autocommit = 0;
22338
22338
DROP TABLE t1;
22339
22339
302;
22340
 
create table t1 (n int not null primary key) ;
22341
 
set autocommit=0;
 
22340
create table t1 (n int not null primary key);
 
22341
set @@autocommit = 0;
22342
22342
insert into t1 values (4);
22343
22343
rollback;
22344
22344
select n, "after rollback" from t1;
22357
22357
n       after commit
22358
22358
4       after commit
22359
22359
5       after commit
22360
 
set autocommit=1;
 
22360
set @@autocommit = 1;
22361
22361
insert into t1 values (6);
22362
22362
insert into t1 values (4);
22363
22363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22366
22366
4
22367
22367
5
22368
22368
6
22369
 
set autocommit=0;
 
22369
set @@autocommit = 0;
22370
22370
DROP TABLE t1;
22371
22371
301;
22372
 
create table t1 (n int not null primary key) ;
22373
 
set autocommit=0;
 
22372
create table t1 (n int not null primary key);
 
22373
set @@autocommit = 0;
22374
22374
insert into t1 values (4);
22375
22375
rollback;
22376
22376
select n, "after rollback" from t1;
22389
22389
n       after commit
22390
22390
4       after commit
22391
22391
5       after commit
22392
 
set autocommit=1;
 
22392
set @@autocommit = 1;
22393
22393
insert into t1 values (6);
22394
22394
insert into t1 values (4);
22395
22395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22398
22398
4
22399
22399
5
22400
22400
6
22401
 
set autocommit=0;
 
22401
set @@autocommit = 0;
22402
22402
DROP TABLE t1;
22403
22403
300;
22404
 
create table t1 (n int not null primary key) ;
22405
 
set autocommit=0;
 
22404
create table t1 (n int not null primary key);
 
22405
set @@autocommit = 0;
22406
22406
insert into t1 values (4);
22407
22407
rollback;
22408
22408
select n, "after rollback" from t1;
22421
22421
n       after commit
22422
22422
4       after commit
22423
22423
5       after commit
22424
 
set autocommit=1;
 
22424
set @@autocommit = 1;
22425
22425
insert into t1 values (6);
22426
22426
insert into t1 values (4);
22427
22427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22430
22430
4
22431
22431
5
22432
22432
6
22433
 
set autocommit=0;
 
22433
set @@autocommit = 0;
22434
22434
DROP TABLE t1;
22435
22435
299;
22436
 
create table t1 (n int not null primary key) ;
22437
 
set autocommit=0;
 
22436
create table t1 (n int not null primary key);
 
22437
set @@autocommit = 0;
22438
22438
insert into t1 values (4);
22439
22439
rollback;
22440
22440
select n, "after rollback" from t1;
22453
22453
n       after commit
22454
22454
4       after commit
22455
22455
5       after commit
22456
 
set autocommit=1;
 
22456
set @@autocommit = 1;
22457
22457
insert into t1 values (6);
22458
22458
insert into t1 values (4);
22459
22459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22462
22462
4
22463
22463
5
22464
22464
6
22465
 
set autocommit=0;
 
22465
set @@autocommit = 0;
22466
22466
DROP TABLE t1;
22467
22467
298;
22468
 
create table t1 (n int not null primary key) ;
22469
 
set autocommit=0;
 
22468
create table t1 (n int not null primary key);
 
22469
set @@autocommit = 0;
22470
22470
insert into t1 values (4);
22471
22471
rollback;
22472
22472
select n, "after rollback" from t1;
22485
22485
n       after commit
22486
22486
4       after commit
22487
22487
5       after commit
22488
 
set autocommit=1;
 
22488
set @@autocommit = 1;
22489
22489
insert into t1 values (6);
22490
22490
insert into t1 values (4);
22491
22491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22494
22494
4
22495
22495
5
22496
22496
6
22497
 
set autocommit=0;
 
22497
set @@autocommit = 0;
22498
22498
DROP TABLE t1;
22499
22499
297;
22500
 
create table t1 (n int not null primary key) ;
22501
 
set autocommit=0;
 
22500
create table t1 (n int not null primary key);
 
22501
set @@autocommit = 0;
22502
22502
insert into t1 values (4);
22503
22503
rollback;
22504
22504
select n, "after rollback" from t1;
22517
22517
n       after commit
22518
22518
4       after commit
22519
22519
5       after commit
22520
 
set autocommit=1;
 
22520
set @@autocommit = 1;
22521
22521
insert into t1 values (6);
22522
22522
insert into t1 values (4);
22523
22523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22526
22526
4
22527
22527
5
22528
22528
6
22529
 
set autocommit=0;
 
22529
set @@autocommit = 0;
22530
22530
DROP TABLE t1;
22531
22531
296;
22532
 
create table t1 (n int not null primary key) ;
22533
 
set autocommit=0;
 
22532
create table t1 (n int not null primary key);
 
22533
set @@autocommit = 0;
22534
22534
insert into t1 values (4);
22535
22535
rollback;
22536
22536
select n, "after rollback" from t1;
22549
22549
n       after commit
22550
22550
4       after commit
22551
22551
5       after commit
22552
 
set autocommit=1;
 
22552
set @@autocommit = 1;
22553
22553
insert into t1 values (6);
22554
22554
insert into t1 values (4);
22555
22555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22558
22558
4
22559
22559
5
22560
22560
6
22561
 
set autocommit=0;
 
22561
set @@autocommit = 0;
22562
22562
DROP TABLE t1;
22563
22563
295;
22564
 
create table t1 (n int not null primary key) ;
22565
 
set autocommit=0;
 
22564
create table t1 (n int not null primary key);
 
22565
set @@autocommit = 0;
22566
22566
insert into t1 values (4);
22567
22567
rollback;
22568
22568
select n, "after rollback" from t1;
22581
22581
n       after commit
22582
22582
4       after commit
22583
22583
5       after commit
22584
 
set autocommit=1;
 
22584
set @@autocommit = 1;
22585
22585
insert into t1 values (6);
22586
22586
insert into t1 values (4);
22587
22587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22590
22590
4
22591
22591
5
22592
22592
6
22593
 
set autocommit=0;
 
22593
set @@autocommit = 0;
22594
22594
DROP TABLE t1;
22595
22595
294;
22596
 
create table t1 (n int not null primary key) ;
22597
 
set autocommit=0;
 
22596
create table t1 (n int not null primary key);
 
22597
set @@autocommit = 0;
22598
22598
insert into t1 values (4);
22599
22599
rollback;
22600
22600
select n, "after rollback" from t1;
22613
22613
n       after commit
22614
22614
4       after commit
22615
22615
5       after commit
22616
 
set autocommit=1;
 
22616
set @@autocommit = 1;
22617
22617
insert into t1 values (6);
22618
22618
insert into t1 values (4);
22619
22619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22622
22622
4
22623
22623
5
22624
22624
6
22625
 
set autocommit=0;
 
22625
set @@autocommit = 0;
22626
22626
DROP TABLE t1;
22627
22627
293;
22628
 
create table t1 (n int not null primary key) ;
22629
 
set autocommit=0;
 
22628
create table t1 (n int not null primary key);
 
22629
set @@autocommit = 0;
22630
22630
insert into t1 values (4);
22631
22631
rollback;
22632
22632
select n, "after rollback" from t1;
22645
22645
n       after commit
22646
22646
4       after commit
22647
22647
5       after commit
22648
 
set autocommit=1;
 
22648
set @@autocommit = 1;
22649
22649
insert into t1 values (6);
22650
22650
insert into t1 values (4);
22651
22651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22654
22654
4
22655
22655
5
22656
22656
6
22657
 
set autocommit=0;
 
22657
set @@autocommit = 0;
22658
22658
DROP TABLE t1;
22659
22659
292;
22660
 
create table t1 (n int not null primary key) ;
22661
 
set autocommit=0;
 
22660
create table t1 (n int not null primary key);
 
22661
set @@autocommit = 0;
22662
22662
insert into t1 values (4);
22663
22663
rollback;
22664
22664
select n, "after rollback" from t1;
22677
22677
n       after commit
22678
22678
4       after commit
22679
22679
5       after commit
22680
 
set autocommit=1;
 
22680
set @@autocommit = 1;
22681
22681
insert into t1 values (6);
22682
22682
insert into t1 values (4);
22683
22683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22686
22686
4
22687
22687
5
22688
22688
6
22689
 
set autocommit=0;
 
22689
set @@autocommit = 0;
22690
22690
DROP TABLE t1;
22691
22691
291;
22692
 
create table t1 (n int not null primary key) ;
22693
 
set autocommit=0;
 
22692
create table t1 (n int not null primary key);
 
22693
set @@autocommit = 0;
22694
22694
insert into t1 values (4);
22695
22695
rollback;
22696
22696
select n, "after rollback" from t1;
22709
22709
n       after commit
22710
22710
4       after commit
22711
22711
5       after commit
22712
 
set autocommit=1;
 
22712
set @@autocommit = 1;
22713
22713
insert into t1 values (6);
22714
22714
insert into t1 values (4);
22715
22715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22718
22718
4
22719
22719
5
22720
22720
6
22721
 
set autocommit=0;
 
22721
set @@autocommit = 0;
22722
22722
DROP TABLE t1;
22723
22723
290;
22724
 
create table t1 (n int not null primary key) ;
22725
 
set autocommit=0;
 
22724
create table t1 (n int not null primary key);
 
22725
set @@autocommit = 0;
22726
22726
insert into t1 values (4);
22727
22727
rollback;
22728
22728
select n, "after rollback" from t1;
22741
22741
n       after commit
22742
22742
4       after commit
22743
22743
5       after commit
22744
 
set autocommit=1;
 
22744
set @@autocommit = 1;
22745
22745
insert into t1 values (6);
22746
22746
insert into t1 values (4);
22747
22747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22750
22750
4
22751
22751
5
22752
22752
6
22753
 
set autocommit=0;
 
22753
set @@autocommit = 0;
22754
22754
DROP TABLE t1;
22755
22755
289;
22756
 
create table t1 (n int not null primary key) ;
22757
 
set autocommit=0;
 
22756
create table t1 (n int not null primary key);
 
22757
set @@autocommit = 0;
22758
22758
insert into t1 values (4);
22759
22759
rollback;
22760
22760
select n, "after rollback" from t1;
22773
22773
n       after commit
22774
22774
4       after commit
22775
22775
5       after commit
22776
 
set autocommit=1;
 
22776
set @@autocommit = 1;
22777
22777
insert into t1 values (6);
22778
22778
insert into t1 values (4);
22779
22779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22782
22782
4
22783
22783
5
22784
22784
6
22785
 
set autocommit=0;
 
22785
set @@autocommit = 0;
22786
22786
DROP TABLE t1;
22787
22787
288;
22788
 
create table t1 (n int not null primary key) ;
22789
 
set autocommit=0;
 
22788
create table t1 (n int not null primary key);
 
22789
set @@autocommit = 0;
22790
22790
insert into t1 values (4);
22791
22791
rollback;
22792
22792
select n, "after rollback" from t1;
22805
22805
n       after commit
22806
22806
4       after commit
22807
22807
5       after commit
22808
 
set autocommit=1;
 
22808
set @@autocommit = 1;
22809
22809
insert into t1 values (6);
22810
22810
insert into t1 values (4);
22811
22811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22814
22814
4
22815
22815
5
22816
22816
6
22817
 
set autocommit=0;
 
22817
set @@autocommit = 0;
22818
22818
DROP TABLE t1;
22819
22819
287;
22820
 
create table t1 (n int not null primary key) ;
22821
 
set autocommit=0;
 
22820
create table t1 (n int not null primary key);
 
22821
set @@autocommit = 0;
22822
22822
insert into t1 values (4);
22823
22823
rollback;
22824
22824
select n, "after rollback" from t1;
22837
22837
n       after commit
22838
22838
4       after commit
22839
22839
5       after commit
22840
 
set autocommit=1;
 
22840
set @@autocommit = 1;
22841
22841
insert into t1 values (6);
22842
22842
insert into t1 values (4);
22843
22843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22846
22846
4
22847
22847
5
22848
22848
6
22849
 
set autocommit=0;
 
22849
set @@autocommit = 0;
22850
22850
DROP TABLE t1;
22851
22851
286;
22852
 
create table t1 (n int not null primary key) ;
22853
 
set autocommit=0;
 
22852
create table t1 (n int not null primary key);
 
22853
set @@autocommit = 0;
22854
22854
insert into t1 values (4);
22855
22855
rollback;
22856
22856
select n, "after rollback" from t1;
22869
22869
n       after commit
22870
22870
4       after commit
22871
22871
5       after commit
22872
 
set autocommit=1;
 
22872
set @@autocommit = 1;
22873
22873
insert into t1 values (6);
22874
22874
insert into t1 values (4);
22875
22875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22878
22878
4
22879
22879
5
22880
22880
6
22881
 
set autocommit=0;
 
22881
set @@autocommit = 0;
22882
22882
DROP TABLE t1;
22883
22883
285;
22884
 
create table t1 (n int not null primary key) ;
22885
 
set autocommit=0;
 
22884
create table t1 (n int not null primary key);
 
22885
set @@autocommit = 0;
22886
22886
insert into t1 values (4);
22887
22887
rollback;
22888
22888
select n, "after rollback" from t1;
22901
22901
n       after commit
22902
22902
4       after commit
22903
22903
5       after commit
22904
 
set autocommit=1;
 
22904
set @@autocommit = 1;
22905
22905
insert into t1 values (6);
22906
22906
insert into t1 values (4);
22907
22907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22910
22910
4
22911
22911
5
22912
22912
6
22913
 
set autocommit=0;
 
22913
set @@autocommit = 0;
22914
22914
DROP TABLE t1;
22915
22915
284;
22916
 
create table t1 (n int not null primary key) ;
22917
 
set autocommit=0;
 
22916
create table t1 (n int not null primary key);
 
22917
set @@autocommit = 0;
22918
22918
insert into t1 values (4);
22919
22919
rollback;
22920
22920
select n, "after rollback" from t1;
22933
22933
n       after commit
22934
22934
4       after commit
22935
22935
5       after commit
22936
 
set autocommit=1;
 
22936
set @@autocommit = 1;
22937
22937
insert into t1 values (6);
22938
22938
insert into t1 values (4);
22939
22939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22942
22942
4
22943
22943
5
22944
22944
6
22945
 
set autocommit=0;
 
22945
set @@autocommit = 0;
22946
22946
DROP TABLE t1;
22947
22947
283;
22948
 
create table t1 (n int not null primary key) ;
22949
 
set autocommit=0;
 
22948
create table t1 (n int not null primary key);
 
22949
set @@autocommit = 0;
22950
22950
insert into t1 values (4);
22951
22951
rollback;
22952
22952
select n, "after rollback" from t1;
22965
22965
n       after commit
22966
22966
4       after commit
22967
22967
5       after commit
22968
 
set autocommit=1;
 
22968
set @@autocommit = 1;
22969
22969
insert into t1 values (6);
22970
22970
insert into t1 values (4);
22971
22971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
22974
22974
4
22975
22975
5
22976
22976
6
22977
 
set autocommit=0;
 
22977
set @@autocommit = 0;
22978
22978
DROP TABLE t1;
22979
22979
282;
22980
 
create table t1 (n int not null primary key) ;
22981
 
set autocommit=0;
 
22980
create table t1 (n int not null primary key);
 
22981
set @@autocommit = 0;
22982
22982
insert into t1 values (4);
22983
22983
rollback;
22984
22984
select n, "after rollback" from t1;
22997
22997
n       after commit
22998
22998
4       after commit
22999
22999
5       after commit
23000
 
set autocommit=1;
 
23000
set @@autocommit = 1;
23001
23001
insert into t1 values (6);
23002
23002
insert into t1 values (4);
23003
23003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23006
23006
4
23007
23007
5
23008
23008
6
23009
 
set autocommit=0;
 
23009
set @@autocommit = 0;
23010
23010
DROP TABLE t1;
23011
23011
281;
23012
 
create table t1 (n int not null primary key) ;
23013
 
set autocommit=0;
 
23012
create table t1 (n int not null primary key);
 
23013
set @@autocommit = 0;
23014
23014
insert into t1 values (4);
23015
23015
rollback;
23016
23016
select n, "after rollback" from t1;
23029
23029
n       after commit
23030
23030
4       after commit
23031
23031
5       after commit
23032
 
set autocommit=1;
 
23032
set @@autocommit = 1;
23033
23033
insert into t1 values (6);
23034
23034
insert into t1 values (4);
23035
23035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23038
23038
4
23039
23039
5
23040
23040
6
23041
 
set autocommit=0;
 
23041
set @@autocommit = 0;
23042
23042
DROP TABLE t1;
23043
23043
280;
23044
 
create table t1 (n int not null primary key) ;
23045
 
set autocommit=0;
 
23044
create table t1 (n int not null primary key);
 
23045
set @@autocommit = 0;
23046
23046
insert into t1 values (4);
23047
23047
rollback;
23048
23048
select n, "after rollback" from t1;
23061
23061
n       after commit
23062
23062
4       after commit
23063
23063
5       after commit
23064
 
set autocommit=1;
 
23064
set @@autocommit = 1;
23065
23065
insert into t1 values (6);
23066
23066
insert into t1 values (4);
23067
23067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23070
23070
4
23071
23071
5
23072
23072
6
23073
 
set autocommit=0;
 
23073
set @@autocommit = 0;
23074
23074
DROP TABLE t1;
23075
23075
279;
23076
 
create table t1 (n int not null primary key) ;
23077
 
set autocommit=0;
 
23076
create table t1 (n int not null primary key);
 
23077
set @@autocommit = 0;
23078
23078
insert into t1 values (4);
23079
23079
rollback;
23080
23080
select n, "after rollback" from t1;
23093
23093
n       after commit
23094
23094
4       after commit
23095
23095
5       after commit
23096
 
set autocommit=1;
 
23096
set @@autocommit = 1;
23097
23097
insert into t1 values (6);
23098
23098
insert into t1 values (4);
23099
23099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23102
23102
4
23103
23103
5
23104
23104
6
23105
 
set autocommit=0;
 
23105
set @@autocommit = 0;
23106
23106
DROP TABLE t1;
23107
23107
278;
23108
 
create table t1 (n int not null primary key) ;
23109
 
set autocommit=0;
 
23108
create table t1 (n int not null primary key);
 
23109
set @@autocommit = 0;
23110
23110
insert into t1 values (4);
23111
23111
rollback;
23112
23112
select n, "after rollback" from t1;
23125
23125
n       after commit
23126
23126
4       after commit
23127
23127
5       after commit
23128
 
set autocommit=1;
 
23128
set @@autocommit = 1;
23129
23129
insert into t1 values (6);
23130
23130
insert into t1 values (4);
23131
23131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23134
23134
4
23135
23135
5
23136
23136
6
23137
 
set autocommit=0;
 
23137
set @@autocommit = 0;
23138
23138
DROP TABLE t1;
23139
23139
277;
23140
 
create table t1 (n int not null primary key) ;
23141
 
set autocommit=0;
 
23140
create table t1 (n int not null primary key);
 
23141
set @@autocommit = 0;
23142
23142
insert into t1 values (4);
23143
23143
rollback;
23144
23144
select n, "after rollback" from t1;
23157
23157
n       after commit
23158
23158
4       after commit
23159
23159
5       after commit
23160
 
set autocommit=1;
 
23160
set @@autocommit = 1;
23161
23161
insert into t1 values (6);
23162
23162
insert into t1 values (4);
23163
23163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23166
23166
4
23167
23167
5
23168
23168
6
23169
 
set autocommit=0;
 
23169
set @@autocommit = 0;
23170
23170
DROP TABLE t1;
23171
23171
276;
23172
 
create table t1 (n int not null primary key) ;
23173
 
set autocommit=0;
 
23172
create table t1 (n int not null primary key);
 
23173
set @@autocommit = 0;
23174
23174
insert into t1 values (4);
23175
23175
rollback;
23176
23176
select n, "after rollback" from t1;
23189
23189
n       after commit
23190
23190
4       after commit
23191
23191
5       after commit
23192
 
set autocommit=1;
 
23192
set @@autocommit = 1;
23193
23193
insert into t1 values (6);
23194
23194
insert into t1 values (4);
23195
23195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23198
23198
4
23199
23199
5
23200
23200
6
23201
 
set autocommit=0;
 
23201
set @@autocommit = 0;
23202
23202
DROP TABLE t1;
23203
23203
275;
23204
 
create table t1 (n int not null primary key) ;
23205
 
set autocommit=0;
 
23204
create table t1 (n int not null primary key);
 
23205
set @@autocommit = 0;
23206
23206
insert into t1 values (4);
23207
23207
rollback;
23208
23208
select n, "after rollback" from t1;
23221
23221
n       after commit
23222
23222
4       after commit
23223
23223
5       after commit
23224
 
set autocommit=1;
 
23224
set @@autocommit = 1;
23225
23225
insert into t1 values (6);
23226
23226
insert into t1 values (4);
23227
23227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23230
23230
4
23231
23231
5
23232
23232
6
23233
 
set autocommit=0;
 
23233
set @@autocommit = 0;
23234
23234
DROP TABLE t1;
23235
23235
274;
23236
 
create table t1 (n int not null primary key) ;
23237
 
set autocommit=0;
 
23236
create table t1 (n int not null primary key);
 
23237
set @@autocommit = 0;
23238
23238
insert into t1 values (4);
23239
23239
rollback;
23240
23240
select n, "after rollback" from t1;
23253
23253
n       after commit
23254
23254
4       after commit
23255
23255
5       after commit
23256
 
set autocommit=1;
 
23256
set @@autocommit = 1;
23257
23257
insert into t1 values (6);
23258
23258
insert into t1 values (4);
23259
23259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23262
23262
4
23263
23263
5
23264
23264
6
23265
 
set autocommit=0;
 
23265
set @@autocommit = 0;
23266
23266
DROP TABLE t1;
23267
23267
273;
23268
 
create table t1 (n int not null primary key) ;
23269
 
set autocommit=0;
 
23268
create table t1 (n int not null primary key);
 
23269
set @@autocommit = 0;
23270
23270
insert into t1 values (4);
23271
23271
rollback;
23272
23272
select n, "after rollback" from t1;
23285
23285
n       after commit
23286
23286
4       after commit
23287
23287
5       after commit
23288
 
set autocommit=1;
 
23288
set @@autocommit = 1;
23289
23289
insert into t1 values (6);
23290
23290
insert into t1 values (4);
23291
23291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23294
23294
4
23295
23295
5
23296
23296
6
23297
 
set autocommit=0;
 
23297
set @@autocommit = 0;
23298
23298
DROP TABLE t1;
23299
23299
272;
23300
 
create table t1 (n int not null primary key) ;
23301
 
set autocommit=0;
 
23300
create table t1 (n int not null primary key);
 
23301
set @@autocommit = 0;
23302
23302
insert into t1 values (4);
23303
23303
rollback;
23304
23304
select n, "after rollback" from t1;
23317
23317
n       after commit
23318
23318
4       after commit
23319
23319
5       after commit
23320
 
set autocommit=1;
 
23320
set @@autocommit = 1;
23321
23321
insert into t1 values (6);
23322
23322
insert into t1 values (4);
23323
23323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23326
23326
4
23327
23327
5
23328
23328
6
23329
 
set autocommit=0;
 
23329
set @@autocommit = 0;
23330
23330
DROP TABLE t1;
23331
23331
271;
23332
 
create table t1 (n int not null primary key) ;
23333
 
set autocommit=0;
 
23332
create table t1 (n int not null primary key);
 
23333
set @@autocommit = 0;
23334
23334
insert into t1 values (4);
23335
23335
rollback;
23336
23336
select n, "after rollback" from t1;
23349
23349
n       after commit
23350
23350
4       after commit
23351
23351
5       after commit
23352
 
set autocommit=1;
 
23352
set @@autocommit = 1;
23353
23353
insert into t1 values (6);
23354
23354
insert into t1 values (4);
23355
23355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23358
23358
4
23359
23359
5
23360
23360
6
23361
 
set autocommit=0;
 
23361
set @@autocommit = 0;
23362
23362
DROP TABLE t1;
23363
23363
270;
23364
 
create table t1 (n int not null primary key) ;
23365
 
set autocommit=0;
 
23364
create table t1 (n int not null primary key);
 
23365
set @@autocommit = 0;
23366
23366
insert into t1 values (4);
23367
23367
rollback;
23368
23368
select n, "after rollback" from t1;
23381
23381
n       after commit
23382
23382
4       after commit
23383
23383
5       after commit
23384
 
set autocommit=1;
 
23384
set @@autocommit = 1;
23385
23385
insert into t1 values (6);
23386
23386
insert into t1 values (4);
23387
23387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23390
23390
4
23391
23391
5
23392
23392
6
23393
 
set autocommit=0;
 
23393
set @@autocommit = 0;
23394
23394
DROP TABLE t1;
23395
23395
269;
23396
 
create table t1 (n int not null primary key) ;
23397
 
set autocommit=0;
 
23396
create table t1 (n int not null primary key);
 
23397
set @@autocommit = 0;
23398
23398
insert into t1 values (4);
23399
23399
rollback;
23400
23400
select n, "after rollback" from t1;
23413
23413
n       after commit
23414
23414
4       after commit
23415
23415
5       after commit
23416
 
set autocommit=1;
 
23416
set @@autocommit = 1;
23417
23417
insert into t1 values (6);
23418
23418
insert into t1 values (4);
23419
23419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23422
23422
4
23423
23423
5
23424
23424
6
23425
 
set autocommit=0;
 
23425
set @@autocommit = 0;
23426
23426
DROP TABLE t1;
23427
23427
268;
23428
 
create table t1 (n int not null primary key) ;
23429
 
set autocommit=0;
 
23428
create table t1 (n int not null primary key);
 
23429
set @@autocommit = 0;
23430
23430
insert into t1 values (4);
23431
23431
rollback;
23432
23432
select n, "after rollback" from t1;
23445
23445
n       after commit
23446
23446
4       after commit
23447
23447
5       after commit
23448
 
set autocommit=1;
 
23448
set @@autocommit = 1;
23449
23449
insert into t1 values (6);
23450
23450
insert into t1 values (4);
23451
23451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23454
23454
4
23455
23455
5
23456
23456
6
23457
 
set autocommit=0;
 
23457
set @@autocommit = 0;
23458
23458
DROP TABLE t1;
23459
23459
267;
23460
 
create table t1 (n int not null primary key) ;
23461
 
set autocommit=0;
 
23460
create table t1 (n int not null primary key);
 
23461
set @@autocommit = 0;
23462
23462
insert into t1 values (4);
23463
23463
rollback;
23464
23464
select n, "after rollback" from t1;
23477
23477
n       after commit
23478
23478
4       after commit
23479
23479
5       after commit
23480
 
set autocommit=1;
 
23480
set @@autocommit = 1;
23481
23481
insert into t1 values (6);
23482
23482
insert into t1 values (4);
23483
23483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23486
23486
4
23487
23487
5
23488
23488
6
23489
 
set autocommit=0;
 
23489
set @@autocommit = 0;
23490
23490
DROP TABLE t1;
23491
23491
266;
23492
 
create table t1 (n int not null primary key) ;
23493
 
set autocommit=0;
 
23492
create table t1 (n int not null primary key);
 
23493
set @@autocommit = 0;
23494
23494
insert into t1 values (4);
23495
23495
rollback;
23496
23496
select n, "after rollback" from t1;
23509
23509
n       after commit
23510
23510
4       after commit
23511
23511
5       after commit
23512
 
set autocommit=1;
 
23512
set @@autocommit = 1;
23513
23513
insert into t1 values (6);
23514
23514
insert into t1 values (4);
23515
23515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23518
23518
4
23519
23519
5
23520
23520
6
23521
 
set autocommit=0;
 
23521
set @@autocommit = 0;
23522
23522
DROP TABLE t1;
23523
23523
265;
23524
 
create table t1 (n int not null primary key) ;
23525
 
set autocommit=0;
 
23524
create table t1 (n int not null primary key);
 
23525
set @@autocommit = 0;
23526
23526
insert into t1 values (4);
23527
23527
rollback;
23528
23528
select n, "after rollback" from t1;
23541
23541
n       after commit
23542
23542
4       after commit
23543
23543
5       after commit
23544
 
set autocommit=1;
 
23544
set @@autocommit = 1;
23545
23545
insert into t1 values (6);
23546
23546
insert into t1 values (4);
23547
23547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23550
23550
4
23551
23551
5
23552
23552
6
23553
 
set autocommit=0;
 
23553
set @@autocommit = 0;
23554
23554
DROP TABLE t1;
23555
23555
264;
23556
 
create table t1 (n int not null primary key) ;
23557
 
set autocommit=0;
 
23556
create table t1 (n int not null primary key);
 
23557
set @@autocommit = 0;
23558
23558
insert into t1 values (4);
23559
23559
rollback;
23560
23560
select n, "after rollback" from t1;
23573
23573
n       after commit
23574
23574
4       after commit
23575
23575
5       after commit
23576
 
set autocommit=1;
 
23576
set @@autocommit = 1;
23577
23577
insert into t1 values (6);
23578
23578
insert into t1 values (4);
23579
23579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23582
23582
4
23583
23583
5
23584
23584
6
23585
 
set autocommit=0;
 
23585
set @@autocommit = 0;
23586
23586
DROP TABLE t1;
23587
23587
263;
23588
 
create table t1 (n int not null primary key) ;
23589
 
set autocommit=0;
 
23588
create table t1 (n int not null primary key);
 
23589
set @@autocommit = 0;
23590
23590
insert into t1 values (4);
23591
23591
rollback;
23592
23592
select n, "after rollback" from t1;
23605
23605
n       after commit
23606
23606
4       after commit
23607
23607
5       after commit
23608
 
set autocommit=1;
 
23608
set @@autocommit = 1;
23609
23609
insert into t1 values (6);
23610
23610
insert into t1 values (4);
23611
23611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23614
23614
4
23615
23615
5
23616
23616
6
23617
 
set autocommit=0;
 
23617
set @@autocommit = 0;
23618
23618
DROP TABLE t1;
23619
23619
262;
23620
 
create table t1 (n int not null primary key) ;
23621
 
set autocommit=0;
 
23620
create table t1 (n int not null primary key);
 
23621
set @@autocommit = 0;
23622
23622
insert into t1 values (4);
23623
23623
rollback;
23624
23624
select n, "after rollback" from t1;
23637
23637
n       after commit
23638
23638
4       after commit
23639
23639
5       after commit
23640
 
set autocommit=1;
 
23640
set @@autocommit = 1;
23641
23641
insert into t1 values (6);
23642
23642
insert into t1 values (4);
23643
23643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23646
23646
4
23647
23647
5
23648
23648
6
23649
 
set autocommit=0;
 
23649
set @@autocommit = 0;
23650
23650
DROP TABLE t1;
23651
23651
261;
23652
 
create table t1 (n int not null primary key) ;
23653
 
set autocommit=0;
 
23652
create table t1 (n int not null primary key);
 
23653
set @@autocommit = 0;
23654
23654
insert into t1 values (4);
23655
23655
rollback;
23656
23656
select n, "after rollback" from t1;
23669
23669
n       after commit
23670
23670
4       after commit
23671
23671
5       after commit
23672
 
set autocommit=1;
 
23672
set @@autocommit = 1;
23673
23673
insert into t1 values (6);
23674
23674
insert into t1 values (4);
23675
23675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23678
23678
4
23679
23679
5
23680
23680
6
23681
 
set autocommit=0;
 
23681
set @@autocommit = 0;
23682
23682
DROP TABLE t1;
23683
23683
260;
23684
 
create table t1 (n int not null primary key) ;
23685
 
set autocommit=0;
 
23684
create table t1 (n int not null primary key);
 
23685
set @@autocommit = 0;
23686
23686
insert into t1 values (4);
23687
23687
rollback;
23688
23688
select n, "after rollback" from t1;
23701
23701
n       after commit
23702
23702
4       after commit
23703
23703
5       after commit
23704
 
set autocommit=1;
 
23704
set @@autocommit = 1;
23705
23705
insert into t1 values (6);
23706
23706
insert into t1 values (4);
23707
23707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23710
23710
4
23711
23711
5
23712
23712
6
23713
 
set autocommit=0;
 
23713
set @@autocommit = 0;
23714
23714
DROP TABLE t1;
23715
23715
259;
23716
 
create table t1 (n int not null primary key) ;
23717
 
set autocommit=0;
 
23716
create table t1 (n int not null primary key);
 
23717
set @@autocommit = 0;
23718
23718
insert into t1 values (4);
23719
23719
rollback;
23720
23720
select n, "after rollback" from t1;
23733
23733
n       after commit
23734
23734
4       after commit
23735
23735
5       after commit
23736
 
set autocommit=1;
 
23736
set @@autocommit = 1;
23737
23737
insert into t1 values (6);
23738
23738
insert into t1 values (4);
23739
23739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23742
23742
4
23743
23743
5
23744
23744
6
23745
 
set autocommit=0;
 
23745
set @@autocommit = 0;
23746
23746
DROP TABLE t1;
23747
23747
258;
23748
 
create table t1 (n int not null primary key) ;
23749
 
set autocommit=0;
 
23748
create table t1 (n int not null primary key);
 
23749
set @@autocommit = 0;
23750
23750
insert into t1 values (4);
23751
23751
rollback;
23752
23752
select n, "after rollback" from t1;
23765
23765
n       after commit
23766
23766
4       after commit
23767
23767
5       after commit
23768
 
set autocommit=1;
 
23768
set @@autocommit = 1;
23769
23769
insert into t1 values (6);
23770
23770
insert into t1 values (4);
23771
23771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23774
23774
4
23775
23775
5
23776
23776
6
23777
 
set autocommit=0;
 
23777
set @@autocommit = 0;
23778
23778
DROP TABLE t1;
23779
23779
257;
23780
 
create table t1 (n int not null primary key) ;
23781
 
set autocommit=0;
 
23780
create table t1 (n int not null primary key);
 
23781
set @@autocommit = 0;
23782
23782
insert into t1 values (4);
23783
23783
rollback;
23784
23784
select n, "after rollback" from t1;
23797
23797
n       after commit
23798
23798
4       after commit
23799
23799
5       after commit
23800
 
set autocommit=1;
 
23800
set @@autocommit = 1;
23801
23801
insert into t1 values (6);
23802
23802
insert into t1 values (4);
23803
23803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23806
23806
4
23807
23807
5
23808
23808
6
23809
 
set autocommit=0;
 
23809
set @@autocommit = 0;
23810
23810
DROP TABLE t1;
23811
23811
256;
23812
 
create table t1 (n int not null primary key) ;
23813
 
set autocommit=0;
 
23812
create table t1 (n int not null primary key);
 
23813
set @@autocommit = 0;
23814
23814
insert into t1 values (4);
23815
23815
rollback;
23816
23816
select n, "after rollback" from t1;
23829
23829
n       after commit
23830
23830
4       after commit
23831
23831
5       after commit
23832
 
set autocommit=1;
 
23832
set @@autocommit = 1;
23833
23833
insert into t1 values (6);
23834
23834
insert into t1 values (4);
23835
23835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23838
23838
4
23839
23839
5
23840
23840
6
23841
 
set autocommit=0;
 
23841
set @@autocommit = 0;
23842
23842
DROP TABLE t1;
23843
23843
255;
23844
 
create table t1 (n int not null primary key) ;
23845
 
set autocommit=0;
 
23844
create table t1 (n int not null primary key);
 
23845
set @@autocommit = 0;
23846
23846
insert into t1 values (4);
23847
23847
rollback;
23848
23848
select n, "after rollback" from t1;
23861
23861
n       after commit
23862
23862
4       after commit
23863
23863
5       after commit
23864
 
set autocommit=1;
 
23864
set @@autocommit = 1;
23865
23865
insert into t1 values (6);
23866
23866
insert into t1 values (4);
23867
23867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23870
23870
4
23871
23871
5
23872
23872
6
23873
 
set autocommit=0;
 
23873
set @@autocommit = 0;
23874
23874
DROP TABLE t1;
23875
23875
254;
23876
 
create table t1 (n int not null primary key) ;
23877
 
set autocommit=0;
 
23876
create table t1 (n int not null primary key);
 
23877
set @@autocommit = 0;
23878
23878
insert into t1 values (4);
23879
23879
rollback;
23880
23880
select n, "after rollback" from t1;
23893
23893
n       after commit
23894
23894
4       after commit
23895
23895
5       after commit
23896
 
set autocommit=1;
 
23896
set @@autocommit = 1;
23897
23897
insert into t1 values (6);
23898
23898
insert into t1 values (4);
23899
23899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23902
23902
4
23903
23903
5
23904
23904
6
23905
 
set autocommit=0;
 
23905
set @@autocommit = 0;
23906
23906
DROP TABLE t1;
23907
23907
253;
23908
 
create table t1 (n int not null primary key) ;
23909
 
set autocommit=0;
 
23908
create table t1 (n int not null primary key);
 
23909
set @@autocommit = 0;
23910
23910
insert into t1 values (4);
23911
23911
rollback;
23912
23912
select n, "after rollback" from t1;
23925
23925
n       after commit
23926
23926
4       after commit
23927
23927
5       after commit
23928
 
set autocommit=1;
 
23928
set @@autocommit = 1;
23929
23929
insert into t1 values (6);
23930
23930
insert into t1 values (4);
23931
23931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23934
23934
4
23935
23935
5
23936
23936
6
23937
 
set autocommit=0;
 
23937
set @@autocommit = 0;
23938
23938
DROP TABLE t1;
23939
23939
252;
23940
 
create table t1 (n int not null primary key) ;
23941
 
set autocommit=0;
 
23940
create table t1 (n int not null primary key);
 
23941
set @@autocommit = 0;
23942
23942
insert into t1 values (4);
23943
23943
rollback;
23944
23944
select n, "after rollback" from t1;
23957
23957
n       after commit
23958
23958
4       after commit
23959
23959
5       after commit
23960
 
set autocommit=1;
 
23960
set @@autocommit = 1;
23961
23961
insert into t1 values (6);
23962
23962
insert into t1 values (4);
23963
23963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23966
23966
4
23967
23967
5
23968
23968
6
23969
 
set autocommit=0;
 
23969
set @@autocommit = 0;
23970
23970
DROP TABLE t1;
23971
23971
251;
23972
 
create table t1 (n int not null primary key) ;
23973
 
set autocommit=0;
 
23972
create table t1 (n int not null primary key);
 
23973
set @@autocommit = 0;
23974
23974
insert into t1 values (4);
23975
23975
rollback;
23976
23976
select n, "after rollback" from t1;
23989
23989
n       after commit
23990
23990
4       after commit
23991
23991
5       after commit
23992
 
set autocommit=1;
 
23992
set @@autocommit = 1;
23993
23993
insert into t1 values (6);
23994
23994
insert into t1 values (4);
23995
23995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
23998
23998
4
23999
23999
5
24000
24000
6
24001
 
set autocommit=0;
 
24001
set @@autocommit = 0;
24002
24002
DROP TABLE t1;
24003
24003
250;
24004
 
create table t1 (n int not null primary key) ;
24005
 
set autocommit=0;
 
24004
create table t1 (n int not null primary key);
 
24005
set @@autocommit = 0;
24006
24006
insert into t1 values (4);
24007
24007
rollback;
24008
24008
select n, "after rollback" from t1;
24021
24021
n       after commit
24022
24022
4       after commit
24023
24023
5       after commit
24024
 
set autocommit=1;
 
24024
set @@autocommit = 1;
24025
24025
insert into t1 values (6);
24026
24026
insert into t1 values (4);
24027
24027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24030
24030
4
24031
24031
5
24032
24032
6
24033
 
set autocommit=0;
 
24033
set @@autocommit = 0;
24034
24034
DROP TABLE t1;
24035
24035
249;
24036
 
create table t1 (n int not null primary key) ;
24037
 
set autocommit=0;
 
24036
create table t1 (n int not null primary key);
 
24037
set @@autocommit = 0;
24038
24038
insert into t1 values (4);
24039
24039
rollback;
24040
24040
select n, "after rollback" from t1;
24053
24053
n       after commit
24054
24054
4       after commit
24055
24055
5       after commit
24056
 
set autocommit=1;
 
24056
set @@autocommit = 1;
24057
24057
insert into t1 values (6);
24058
24058
insert into t1 values (4);
24059
24059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24062
24062
4
24063
24063
5
24064
24064
6
24065
 
set autocommit=0;
 
24065
set @@autocommit = 0;
24066
24066
DROP TABLE t1;
24067
24067
248;
24068
 
create table t1 (n int not null primary key) ;
24069
 
set autocommit=0;
 
24068
create table t1 (n int not null primary key);
 
24069
set @@autocommit = 0;
24070
24070
insert into t1 values (4);
24071
24071
rollback;
24072
24072
select n, "after rollback" from t1;
24085
24085
n       after commit
24086
24086
4       after commit
24087
24087
5       after commit
24088
 
set autocommit=1;
 
24088
set @@autocommit = 1;
24089
24089
insert into t1 values (6);
24090
24090
insert into t1 values (4);
24091
24091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24094
24094
4
24095
24095
5
24096
24096
6
24097
 
set autocommit=0;
 
24097
set @@autocommit = 0;
24098
24098
DROP TABLE t1;
24099
24099
247;
24100
 
create table t1 (n int not null primary key) ;
24101
 
set autocommit=0;
 
24100
create table t1 (n int not null primary key);
 
24101
set @@autocommit = 0;
24102
24102
insert into t1 values (4);
24103
24103
rollback;
24104
24104
select n, "after rollback" from t1;
24117
24117
n       after commit
24118
24118
4       after commit
24119
24119
5       after commit
24120
 
set autocommit=1;
 
24120
set @@autocommit = 1;
24121
24121
insert into t1 values (6);
24122
24122
insert into t1 values (4);
24123
24123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24126
24126
4
24127
24127
5
24128
24128
6
24129
 
set autocommit=0;
 
24129
set @@autocommit = 0;
24130
24130
DROP TABLE t1;
24131
24131
246;
24132
 
create table t1 (n int not null primary key) ;
24133
 
set autocommit=0;
 
24132
create table t1 (n int not null primary key);
 
24133
set @@autocommit = 0;
24134
24134
insert into t1 values (4);
24135
24135
rollback;
24136
24136
select n, "after rollback" from t1;
24149
24149
n       after commit
24150
24150
4       after commit
24151
24151
5       after commit
24152
 
set autocommit=1;
 
24152
set @@autocommit = 1;
24153
24153
insert into t1 values (6);
24154
24154
insert into t1 values (4);
24155
24155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24158
24158
4
24159
24159
5
24160
24160
6
24161
 
set autocommit=0;
 
24161
set @@autocommit = 0;
24162
24162
DROP TABLE t1;
24163
24163
245;
24164
 
create table t1 (n int not null primary key) ;
24165
 
set autocommit=0;
 
24164
create table t1 (n int not null primary key);
 
24165
set @@autocommit = 0;
24166
24166
insert into t1 values (4);
24167
24167
rollback;
24168
24168
select n, "after rollback" from t1;
24181
24181
n       after commit
24182
24182
4       after commit
24183
24183
5       after commit
24184
 
set autocommit=1;
 
24184
set @@autocommit = 1;
24185
24185
insert into t1 values (6);
24186
24186
insert into t1 values (4);
24187
24187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24190
24190
4
24191
24191
5
24192
24192
6
24193
 
set autocommit=0;
 
24193
set @@autocommit = 0;
24194
24194
DROP TABLE t1;
24195
24195
244;
24196
 
create table t1 (n int not null primary key) ;
24197
 
set autocommit=0;
 
24196
create table t1 (n int not null primary key);
 
24197
set @@autocommit = 0;
24198
24198
insert into t1 values (4);
24199
24199
rollback;
24200
24200
select n, "after rollback" from t1;
24213
24213
n       after commit
24214
24214
4       after commit
24215
24215
5       after commit
24216
 
set autocommit=1;
 
24216
set @@autocommit = 1;
24217
24217
insert into t1 values (6);
24218
24218
insert into t1 values (4);
24219
24219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24222
24222
4
24223
24223
5
24224
24224
6
24225
 
set autocommit=0;
 
24225
set @@autocommit = 0;
24226
24226
DROP TABLE t1;
24227
24227
243;
24228
 
create table t1 (n int not null primary key) ;
24229
 
set autocommit=0;
 
24228
create table t1 (n int not null primary key);
 
24229
set @@autocommit = 0;
24230
24230
insert into t1 values (4);
24231
24231
rollback;
24232
24232
select n, "after rollback" from t1;
24245
24245
n       after commit
24246
24246
4       after commit
24247
24247
5       after commit
24248
 
set autocommit=1;
 
24248
set @@autocommit = 1;
24249
24249
insert into t1 values (6);
24250
24250
insert into t1 values (4);
24251
24251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24254
24254
4
24255
24255
5
24256
24256
6
24257
 
set autocommit=0;
 
24257
set @@autocommit = 0;
24258
24258
DROP TABLE t1;
24259
24259
242;
24260
 
create table t1 (n int not null primary key) ;
24261
 
set autocommit=0;
 
24260
create table t1 (n int not null primary key);
 
24261
set @@autocommit = 0;
24262
24262
insert into t1 values (4);
24263
24263
rollback;
24264
24264
select n, "after rollback" from t1;
24277
24277
n       after commit
24278
24278
4       after commit
24279
24279
5       after commit
24280
 
set autocommit=1;
 
24280
set @@autocommit = 1;
24281
24281
insert into t1 values (6);
24282
24282
insert into t1 values (4);
24283
24283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24286
24286
4
24287
24287
5
24288
24288
6
24289
 
set autocommit=0;
 
24289
set @@autocommit = 0;
24290
24290
DROP TABLE t1;
24291
24291
241;
24292
 
create table t1 (n int not null primary key) ;
24293
 
set autocommit=0;
 
24292
create table t1 (n int not null primary key);
 
24293
set @@autocommit = 0;
24294
24294
insert into t1 values (4);
24295
24295
rollback;
24296
24296
select n, "after rollback" from t1;
24309
24309
n       after commit
24310
24310
4       after commit
24311
24311
5       after commit
24312
 
set autocommit=1;
 
24312
set @@autocommit = 1;
24313
24313
insert into t1 values (6);
24314
24314
insert into t1 values (4);
24315
24315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24318
24318
4
24319
24319
5
24320
24320
6
24321
 
set autocommit=0;
 
24321
set @@autocommit = 0;
24322
24322
DROP TABLE t1;
24323
24323
240;
24324
 
create table t1 (n int not null primary key) ;
24325
 
set autocommit=0;
 
24324
create table t1 (n int not null primary key);
 
24325
set @@autocommit = 0;
24326
24326
insert into t1 values (4);
24327
24327
rollback;
24328
24328
select n, "after rollback" from t1;
24341
24341
n       after commit
24342
24342
4       after commit
24343
24343
5       after commit
24344
 
set autocommit=1;
 
24344
set @@autocommit = 1;
24345
24345
insert into t1 values (6);
24346
24346
insert into t1 values (4);
24347
24347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24350
24350
4
24351
24351
5
24352
24352
6
24353
 
set autocommit=0;
 
24353
set @@autocommit = 0;
24354
24354
DROP TABLE t1;
24355
24355
239;
24356
 
create table t1 (n int not null primary key) ;
24357
 
set autocommit=0;
 
24356
create table t1 (n int not null primary key);
 
24357
set @@autocommit = 0;
24358
24358
insert into t1 values (4);
24359
24359
rollback;
24360
24360
select n, "after rollback" from t1;
24373
24373
n       after commit
24374
24374
4       after commit
24375
24375
5       after commit
24376
 
set autocommit=1;
 
24376
set @@autocommit = 1;
24377
24377
insert into t1 values (6);
24378
24378
insert into t1 values (4);
24379
24379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24382
24382
4
24383
24383
5
24384
24384
6
24385
 
set autocommit=0;
 
24385
set @@autocommit = 0;
24386
24386
DROP TABLE t1;
24387
24387
238;
24388
 
create table t1 (n int not null primary key) ;
24389
 
set autocommit=0;
 
24388
create table t1 (n int not null primary key);
 
24389
set @@autocommit = 0;
24390
24390
insert into t1 values (4);
24391
24391
rollback;
24392
24392
select n, "after rollback" from t1;
24405
24405
n       after commit
24406
24406
4       after commit
24407
24407
5       after commit
24408
 
set autocommit=1;
 
24408
set @@autocommit = 1;
24409
24409
insert into t1 values (6);
24410
24410
insert into t1 values (4);
24411
24411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24414
24414
4
24415
24415
5
24416
24416
6
24417
 
set autocommit=0;
 
24417
set @@autocommit = 0;
24418
24418
DROP TABLE t1;
24419
24419
237;
24420
 
create table t1 (n int not null primary key) ;
24421
 
set autocommit=0;
 
24420
create table t1 (n int not null primary key);
 
24421
set @@autocommit = 0;
24422
24422
insert into t1 values (4);
24423
24423
rollback;
24424
24424
select n, "after rollback" from t1;
24437
24437
n       after commit
24438
24438
4       after commit
24439
24439
5       after commit
24440
 
set autocommit=1;
 
24440
set @@autocommit = 1;
24441
24441
insert into t1 values (6);
24442
24442
insert into t1 values (4);
24443
24443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24446
24446
4
24447
24447
5
24448
24448
6
24449
 
set autocommit=0;
 
24449
set @@autocommit = 0;
24450
24450
DROP TABLE t1;
24451
24451
236;
24452
 
create table t1 (n int not null primary key) ;
24453
 
set autocommit=0;
 
24452
create table t1 (n int not null primary key);
 
24453
set @@autocommit = 0;
24454
24454
insert into t1 values (4);
24455
24455
rollback;
24456
24456
select n, "after rollback" from t1;
24469
24469
n       after commit
24470
24470
4       after commit
24471
24471
5       after commit
24472
 
set autocommit=1;
 
24472
set @@autocommit = 1;
24473
24473
insert into t1 values (6);
24474
24474
insert into t1 values (4);
24475
24475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24478
24478
4
24479
24479
5
24480
24480
6
24481
 
set autocommit=0;
 
24481
set @@autocommit = 0;
24482
24482
DROP TABLE t1;
24483
24483
235;
24484
 
create table t1 (n int not null primary key) ;
24485
 
set autocommit=0;
 
24484
create table t1 (n int not null primary key);
 
24485
set @@autocommit = 0;
24486
24486
insert into t1 values (4);
24487
24487
rollback;
24488
24488
select n, "after rollback" from t1;
24501
24501
n       after commit
24502
24502
4       after commit
24503
24503
5       after commit
24504
 
set autocommit=1;
 
24504
set @@autocommit = 1;
24505
24505
insert into t1 values (6);
24506
24506
insert into t1 values (4);
24507
24507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24510
24510
4
24511
24511
5
24512
24512
6
24513
 
set autocommit=0;
 
24513
set @@autocommit = 0;
24514
24514
DROP TABLE t1;
24515
24515
234;
24516
 
create table t1 (n int not null primary key) ;
24517
 
set autocommit=0;
 
24516
create table t1 (n int not null primary key);
 
24517
set @@autocommit = 0;
24518
24518
insert into t1 values (4);
24519
24519
rollback;
24520
24520
select n, "after rollback" from t1;
24533
24533
n       after commit
24534
24534
4       after commit
24535
24535
5       after commit
24536
 
set autocommit=1;
 
24536
set @@autocommit = 1;
24537
24537
insert into t1 values (6);
24538
24538
insert into t1 values (4);
24539
24539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24542
24542
4
24543
24543
5
24544
24544
6
24545
 
set autocommit=0;
 
24545
set @@autocommit = 0;
24546
24546
DROP TABLE t1;
24547
24547
233;
24548
 
create table t1 (n int not null primary key) ;
24549
 
set autocommit=0;
 
24548
create table t1 (n int not null primary key);
 
24549
set @@autocommit = 0;
24550
24550
insert into t1 values (4);
24551
24551
rollback;
24552
24552
select n, "after rollback" from t1;
24565
24565
n       after commit
24566
24566
4       after commit
24567
24567
5       after commit
24568
 
set autocommit=1;
 
24568
set @@autocommit = 1;
24569
24569
insert into t1 values (6);
24570
24570
insert into t1 values (4);
24571
24571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24574
24574
4
24575
24575
5
24576
24576
6
24577
 
set autocommit=0;
 
24577
set @@autocommit = 0;
24578
24578
DROP TABLE t1;
24579
24579
232;
24580
 
create table t1 (n int not null primary key) ;
24581
 
set autocommit=0;
 
24580
create table t1 (n int not null primary key);
 
24581
set @@autocommit = 0;
24582
24582
insert into t1 values (4);
24583
24583
rollback;
24584
24584
select n, "after rollback" from t1;
24597
24597
n       after commit
24598
24598
4       after commit
24599
24599
5       after commit
24600
 
set autocommit=1;
 
24600
set @@autocommit = 1;
24601
24601
insert into t1 values (6);
24602
24602
insert into t1 values (4);
24603
24603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24606
24606
4
24607
24607
5
24608
24608
6
24609
 
set autocommit=0;
 
24609
set @@autocommit = 0;
24610
24610
DROP TABLE t1;
24611
24611
231;
24612
 
create table t1 (n int not null primary key) ;
24613
 
set autocommit=0;
 
24612
create table t1 (n int not null primary key);
 
24613
set @@autocommit = 0;
24614
24614
insert into t1 values (4);
24615
24615
rollback;
24616
24616
select n, "after rollback" from t1;
24629
24629
n       after commit
24630
24630
4       after commit
24631
24631
5       after commit
24632
 
set autocommit=1;
 
24632
set @@autocommit = 1;
24633
24633
insert into t1 values (6);
24634
24634
insert into t1 values (4);
24635
24635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24638
24638
4
24639
24639
5
24640
24640
6
24641
 
set autocommit=0;
 
24641
set @@autocommit = 0;
24642
24642
DROP TABLE t1;
24643
24643
230;
24644
 
create table t1 (n int not null primary key) ;
24645
 
set autocommit=0;
 
24644
create table t1 (n int not null primary key);
 
24645
set @@autocommit = 0;
24646
24646
insert into t1 values (4);
24647
24647
rollback;
24648
24648
select n, "after rollback" from t1;
24661
24661
n       after commit
24662
24662
4       after commit
24663
24663
5       after commit
24664
 
set autocommit=1;
 
24664
set @@autocommit = 1;
24665
24665
insert into t1 values (6);
24666
24666
insert into t1 values (4);
24667
24667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24670
24670
4
24671
24671
5
24672
24672
6
24673
 
set autocommit=0;
 
24673
set @@autocommit = 0;
24674
24674
DROP TABLE t1;
24675
24675
229;
24676
 
create table t1 (n int not null primary key) ;
24677
 
set autocommit=0;
 
24676
create table t1 (n int not null primary key);
 
24677
set @@autocommit = 0;
24678
24678
insert into t1 values (4);
24679
24679
rollback;
24680
24680
select n, "after rollback" from t1;
24693
24693
n       after commit
24694
24694
4       after commit
24695
24695
5       after commit
24696
 
set autocommit=1;
 
24696
set @@autocommit = 1;
24697
24697
insert into t1 values (6);
24698
24698
insert into t1 values (4);
24699
24699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24702
24702
4
24703
24703
5
24704
24704
6
24705
 
set autocommit=0;
 
24705
set @@autocommit = 0;
24706
24706
DROP TABLE t1;
24707
24707
228;
24708
 
create table t1 (n int not null primary key) ;
24709
 
set autocommit=0;
 
24708
create table t1 (n int not null primary key);
 
24709
set @@autocommit = 0;
24710
24710
insert into t1 values (4);
24711
24711
rollback;
24712
24712
select n, "after rollback" from t1;
24725
24725
n       after commit
24726
24726
4       after commit
24727
24727
5       after commit
24728
 
set autocommit=1;
 
24728
set @@autocommit = 1;
24729
24729
insert into t1 values (6);
24730
24730
insert into t1 values (4);
24731
24731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24734
24734
4
24735
24735
5
24736
24736
6
24737
 
set autocommit=0;
 
24737
set @@autocommit = 0;
24738
24738
DROP TABLE t1;
24739
24739
227;
24740
 
create table t1 (n int not null primary key) ;
24741
 
set autocommit=0;
 
24740
create table t1 (n int not null primary key);
 
24741
set @@autocommit = 0;
24742
24742
insert into t1 values (4);
24743
24743
rollback;
24744
24744
select n, "after rollback" from t1;
24757
24757
n       after commit
24758
24758
4       after commit
24759
24759
5       after commit
24760
 
set autocommit=1;
 
24760
set @@autocommit = 1;
24761
24761
insert into t1 values (6);
24762
24762
insert into t1 values (4);
24763
24763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24766
24766
4
24767
24767
5
24768
24768
6
24769
 
set autocommit=0;
 
24769
set @@autocommit = 0;
24770
24770
DROP TABLE t1;
24771
24771
226;
24772
 
create table t1 (n int not null primary key) ;
24773
 
set autocommit=0;
 
24772
create table t1 (n int not null primary key);
 
24773
set @@autocommit = 0;
24774
24774
insert into t1 values (4);
24775
24775
rollback;
24776
24776
select n, "after rollback" from t1;
24789
24789
n       after commit
24790
24790
4       after commit
24791
24791
5       after commit
24792
 
set autocommit=1;
 
24792
set @@autocommit = 1;
24793
24793
insert into t1 values (6);
24794
24794
insert into t1 values (4);
24795
24795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24798
24798
4
24799
24799
5
24800
24800
6
24801
 
set autocommit=0;
 
24801
set @@autocommit = 0;
24802
24802
DROP TABLE t1;
24803
24803
225;
24804
 
create table t1 (n int not null primary key) ;
24805
 
set autocommit=0;
 
24804
create table t1 (n int not null primary key);
 
24805
set @@autocommit = 0;
24806
24806
insert into t1 values (4);
24807
24807
rollback;
24808
24808
select n, "after rollback" from t1;
24821
24821
n       after commit
24822
24822
4       after commit
24823
24823
5       after commit
24824
 
set autocommit=1;
 
24824
set @@autocommit = 1;
24825
24825
insert into t1 values (6);
24826
24826
insert into t1 values (4);
24827
24827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24830
24830
4
24831
24831
5
24832
24832
6
24833
 
set autocommit=0;
 
24833
set @@autocommit = 0;
24834
24834
DROP TABLE t1;
24835
24835
224;
24836
 
create table t1 (n int not null primary key) ;
24837
 
set autocommit=0;
 
24836
create table t1 (n int not null primary key);
 
24837
set @@autocommit = 0;
24838
24838
insert into t1 values (4);
24839
24839
rollback;
24840
24840
select n, "after rollback" from t1;
24853
24853
n       after commit
24854
24854
4       after commit
24855
24855
5       after commit
24856
 
set autocommit=1;
 
24856
set @@autocommit = 1;
24857
24857
insert into t1 values (6);
24858
24858
insert into t1 values (4);
24859
24859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24862
24862
4
24863
24863
5
24864
24864
6
24865
 
set autocommit=0;
 
24865
set @@autocommit = 0;
24866
24866
DROP TABLE t1;
24867
24867
223;
24868
 
create table t1 (n int not null primary key) ;
24869
 
set autocommit=0;
 
24868
create table t1 (n int not null primary key);
 
24869
set @@autocommit = 0;
24870
24870
insert into t1 values (4);
24871
24871
rollback;
24872
24872
select n, "after rollback" from t1;
24885
24885
n       after commit
24886
24886
4       after commit
24887
24887
5       after commit
24888
 
set autocommit=1;
 
24888
set @@autocommit = 1;
24889
24889
insert into t1 values (6);
24890
24890
insert into t1 values (4);
24891
24891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24894
24894
4
24895
24895
5
24896
24896
6
24897
 
set autocommit=0;
 
24897
set @@autocommit = 0;
24898
24898
DROP TABLE t1;
24899
24899
222;
24900
 
create table t1 (n int not null primary key) ;
24901
 
set autocommit=0;
 
24900
create table t1 (n int not null primary key);
 
24901
set @@autocommit = 0;
24902
24902
insert into t1 values (4);
24903
24903
rollback;
24904
24904
select n, "after rollback" from t1;
24917
24917
n       after commit
24918
24918
4       after commit
24919
24919
5       after commit
24920
 
set autocommit=1;
 
24920
set @@autocommit = 1;
24921
24921
insert into t1 values (6);
24922
24922
insert into t1 values (4);
24923
24923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24926
24926
4
24927
24927
5
24928
24928
6
24929
 
set autocommit=0;
 
24929
set @@autocommit = 0;
24930
24930
DROP TABLE t1;
24931
24931
221;
24932
 
create table t1 (n int not null primary key) ;
24933
 
set autocommit=0;
 
24932
create table t1 (n int not null primary key);
 
24933
set @@autocommit = 0;
24934
24934
insert into t1 values (4);
24935
24935
rollback;
24936
24936
select n, "after rollback" from t1;
24949
24949
n       after commit
24950
24950
4       after commit
24951
24951
5       after commit
24952
 
set autocommit=1;
 
24952
set @@autocommit = 1;
24953
24953
insert into t1 values (6);
24954
24954
insert into t1 values (4);
24955
24955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24958
24958
4
24959
24959
5
24960
24960
6
24961
 
set autocommit=0;
 
24961
set @@autocommit = 0;
24962
24962
DROP TABLE t1;
24963
24963
220;
24964
 
create table t1 (n int not null primary key) ;
24965
 
set autocommit=0;
 
24964
create table t1 (n int not null primary key);
 
24965
set @@autocommit = 0;
24966
24966
insert into t1 values (4);
24967
24967
rollback;
24968
24968
select n, "after rollback" from t1;
24981
24981
n       after commit
24982
24982
4       after commit
24983
24983
5       after commit
24984
 
set autocommit=1;
 
24984
set @@autocommit = 1;
24985
24985
insert into t1 values (6);
24986
24986
insert into t1 values (4);
24987
24987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
24990
24990
4
24991
24991
5
24992
24992
6
24993
 
set autocommit=0;
 
24993
set @@autocommit = 0;
24994
24994
DROP TABLE t1;
24995
24995
219;
24996
 
create table t1 (n int not null primary key) ;
24997
 
set autocommit=0;
 
24996
create table t1 (n int not null primary key);
 
24997
set @@autocommit = 0;
24998
24998
insert into t1 values (4);
24999
24999
rollback;
25000
25000
select n, "after rollback" from t1;
25013
25013
n       after commit
25014
25014
4       after commit
25015
25015
5       after commit
25016
 
set autocommit=1;
 
25016
set @@autocommit = 1;
25017
25017
insert into t1 values (6);
25018
25018
insert into t1 values (4);
25019
25019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25022
25022
4
25023
25023
5
25024
25024
6
25025
 
set autocommit=0;
 
25025
set @@autocommit = 0;
25026
25026
DROP TABLE t1;
25027
25027
218;
25028
 
create table t1 (n int not null primary key) ;
25029
 
set autocommit=0;
 
25028
create table t1 (n int not null primary key);
 
25029
set @@autocommit = 0;
25030
25030
insert into t1 values (4);
25031
25031
rollback;
25032
25032
select n, "after rollback" from t1;
25045
25045
n       after commit
25046
25046
4       after commit
25047
25047
5       after commit
25048
 
set autocommit=1;
 
25048
set @@autocommit = 1;
25049
25049
insert into t1 values (6);
25050
25050
insert into t1 values (4);
25051
25051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25054
25054
4
25055
25055
5
25056
25056
6
25057
 
set autocommit=0;
 
25057
set @@autocommit = 0;
25058
25058
DROP TABLE t1;
25059
25059
217;
25060
 
create table t1 (n int not null primary key) ;
25061
 
set autocommit=0;
 
25060
create table t1 (n int not null primary key);
 
25061
set @@autocommit = 0;
25062
25062
insert into t1 values (4);
25063
25063
rollback;
25064
25064
select n, "after rollback" from t1;
25077
25077
n       after commit
25078
25078
4       after commit
25079
25079
5       after commit
25080
 
set autocommit=1;
 
25080
set @@autocommit = 1;
25081
25081
insert into t1 values (6);
25082
25082
insert into t1 values (4);
25083
25083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25086
25086
4
25087
25087
5
25088
25088
6
25089
 
set autocommit=0;
 
25089
set @@autocommit = 0;
25090
25090
DROP TABLE t1;
25091
25091
216;
25092
 
create table t1 (n int not null primary key) ;
25093
 
set autocommit=0;
 
25092
create table t1 (n int not null primary key);
 
25093
set @@autocommit = 0;
25094
25094
insert into t1 values (4);
25095
25095
rollback;
25096
25096
select n, "after rollback" from t1;
25109
25109
n       after commit
25110
25110
4       after commit
25111
25111
5       after commit
25112
 
set autocommit=1;
 
25112
set @@autocommit = 1;
25113
25113
insert into t1 values (6);
25114
25114
insert into t1 values (4);
25115
25115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25118
25118
4
25119
25119
5
25120
25120
6
25121
 
set autocommit=0;
 
25121
set @@autocommit = 0;
25122
25122
DROP TABLE t1;
25123
25123
215;
25124
 
create table t1 (n int not null primary key) ;
25125
 
set autocommit=0;
 
25124
create table t1 (n int not null primary key);
 
25125
set @@autocommit = 0;
25126
25126
insert into t1 values (4);
25127
25127
rollback;
25128
25128
select n, "after rollback" from t1;
25141
25141
n       after commit
25142
25142
4       after commit
25143
25143
5       after commit
25144
 
set autocommit=1;
 
25144
set @@autocommit = 1;
25145
25145
insert into t1 values (6);
25146
25146
insert into t1 values (4);
25147
25147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25150
25150
4
25151
25151
5
25152
25152
6
25153
 
set autocommit=0;
 
25153
set @@autocommit = 0;
25154
25154
DROP TABLE t1;
25155
25155
214;
25156
 
create table t1 (n int not null primary key) ;
25157
 
set autocommit=0;
 
25156
create table t1 (n int not null primary key);
 
25157
set @@autocommit = 0;
25158
25158
insert into t1 values (4);
25159
25159
rollback;
25160
25160
select n, "after rollback" from t1;
25173
25173
n       after commit
25174
25174
4       after commit
25175
25175
5       after commit
25176
 
set autocommit=1;
 
25176
set @@autocommit = 1;
25177
25177
insert into t1 values (6);
25178
25178
insert into t1 values (4);
25179
25179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25182
25182
4
25183
25183
5
25184
25184
6
25185
 
set autocommit=0;
 
25185
set @@autocommit = 0;
25186
25186
DROP TABLE t1;
25187
25187
213;
25188
 
create table t1 (n int not null primary key) ;
25189
 
set autocommit=0;
 
25188
create table t1 (n int not null primary key);
 
25189
set @@autocommit = 0;
25190
25190
insert into t1 values (4);
25191
25191
rollback;
25192
25192
select n, "after rollback" from t1;
25205
25205
n       after commit
25206
25206
4       after commit
25207
25207
5       after commit
25208
 
set autocommit=1;
 
25208
set @@autocommit = 1;
25209
25209
insert into t1 values (6);
25210
25210
insert into t1 values (4);
25211
25211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25214
25214
4
25215
25215
5
25216
25216
6
25217
 
set autocommit=0;
 
25217
set @@autocommit = 0;
25218
25218
DROP TABLE t1;
25219
25219
212;
25220
 
create table t1 (n int not null primary key) ;
25221
 
set autocommit=0;
 
25220
create table t1 (n int not null primary key);
 
25221
set @@autocommit = 0;
25222
25222
insert into t1 values (4);
25223
25223
rollback;
25224
25224
select n, "after rollback" from t1;
25237
25237
n       after commit
25238
25238
4       after commit
25239
25239
5       after commit
25240
 
set autocommit=1;
 
25240
set @@autocommit = 1;
25241
25241
insert into t1 values (6);
25242
25242
insert into t1 values (4);
25243
25243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25246
25246
4
25247
25247
5
25248
25248
6
25249
 
set autocommit=0;
 
25249
set @@autocommit = 0;
25250
25250
DROP TABLE t1;
25251
25251
211;
25252
 
create table t1 (n int not null primary key) ;
25253
 
set autocommit=0;
 
25252
create table t1 (n int not null primary key);
 
25253
set @@autocommit = 0;
25254
25254
insert into t1 values (4);
25255
25255
rollback;
25256
25256
select n, "after rollback" from t1;
25269
25269
n       after commit
25270
25270
4       after commit
25271
25271
5       after commit
25272
 
set autocommit=1;
 
25272
set @@autocommit = 1;
25273
25273
insert into t1 values (6);
25274
25274
insert into t1 values (4);
25275
25275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25278
25278
4
25279
25279
5
25280
25280
6
25281
 
set autocommit=0;
 
25281
set @@autocommit = 0;
25282
25282
DROP TABLE t1;
25283
25283
210;
25284
 
create table t1 (n int not null primary key) ;
25285
 
set autocommit=0;
 
25284
create table t1 (n int not null primary key);
 
25285
set @@autocommit = 0;
25286
25286
insert into t1 values (4);
25287
25287
rollback;
25288
25288
select n, "after rollback" from t1;
25301
25301
n       after commit
25302
25302
4       after commit
25303
25303
5       after commit
25304
 
set autocommit=1;
 
25304
set @@autocommit = 1;
25305
25305
insert into t1 values (6);
25306
25306
insert into t1 values (4);
25307
25307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25310
25310
4
25311
25311
5
25312
25312
6
25313
 
set autocommit=0;
 
25313
set @@autocommit = 0;
25314
25314
DROP TABLE t1;
25315
25315
209;
25316
 
create table t1 (n int not null primary key) ;
25317
 
set autocommit=0;
 
25316
create table t1 (n int not null primary key);
 
25317
set @@autocommit = 0;
25318
25318
insert into t1 values (4);
25319
25319
rollback;
25320
25320
select n, "after rollback" from t1;
25333
25333
n       after commit
25334
25334
4       after commit
25335
25335
5       after commit
25336
 
set autocommit=1;
 
25336
set @@autocommit = 1;
25337
25337
insert into t1 values (6);
25338
25338
insert into t1 values (4);
25339
25339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25342
25342
4
25343
25343
5
25344
25344
6
25345
 
set autocommit=0;
 
25345
set @@autocommit = 0;
25346
25346
DROP TABLE t1;
25347
25347
208;
25348
 
create table t1 (n int not null primary key) ;
25349
 
set autocommit=0;
 
25348
create table t1 (n int not null primary key);
 
25349
set @@autocommit = 0;
25350
25350
insert into t1 values (4);
25351
25351
rollback;
25352
25352
select n, "after rollback" from t1;
25365
25365
n       after commit
25366
25366
4       after commit
25367
25367
5       after commit
25368
 
set autocommit=1;
 
25368
set @@autocommit = 1;
25369
25369
insert into t1 values (6);
25370
25370
insert into t1 values (4);
25371
25371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25374
25374
4
25375
25375
5
25376
25376
6
25377
 
set autocommit=0;
 
25377
set @@autocommit = 0;
25378
25378
DROP TABLE t1;
25379
25379
207;
25380
 
create table t1 (n int not null primary key) ;
25381
 
set autocommit=0;
 
25380
create table t1 (n int not null primary key);
 
25381
set @@autocommit = 0;
25382
25382
insert into t1 values (4);
25383
25383
rollback;
25384
25384
select n, "after rollback" from t1;
25397
25397
n       after commit
25398
25398
4       after commit
25399
25399
5       after commit
25400
 
set autocommit=1;
 
25400
set @@autocommit = 1;
25401
25401
insert into t1 values (6);
25402
25402
insert into t1 values (4);
25403
25403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25406
25406
4
25407
25407
5
25408
25408
6
25409
 
set autocommit=0;
 
25409
set @@autocommit = 0;
25410
25410
DROP TABLE t1;
25411
25411
206;
25412
 
create table t1 (n int not null primary key) ;
25413
 
set autocommit=0;
 
25412
create table t1 (n int not null primary key);
 
25413
set @@autocommit = 0;
25414
25414
insert into t1 values (4);
25415
25415
rollback;
25416
25416
select n, "after rollback" from t1;
25429
25429
n       after commit
25430
25430
4       after commit
25431
25431
5       after commit
25432
 
set autocommit=1;
 
25432
set @@autocommit = 1;
25433
25433
insert into t1 values (6);
25434
25434
insert into t1 values (4);
25435
25435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25438
25438
4
25439
25439
5
25440
25440
6
25441
 
set autocommit=0;
 
25441
set @@autocommit = 0;
25442
25442
DROP TABLE t1;
25443
25443
205;
25444
 
create table t1 (n int not null primary key) ;
25445
 
set autocommit=0;
 
25444
create table t1 (n int not null primary key);
 
25445
set @@autocommit = 0;
25446
25446
insert into t1 values (4);
25447
25447
rollback;
25448
25448
select n, "after rollback" from t1;
25461
25461
n       after commit
25462
25462
4       after commit
25463
25463
5       after commit
25464
 
set autocommit=1;
 
25464
set @@autocommit = 1;
25465
25465
insert into t1 values (6);
25466
25466
insert into t1 values (4);
25467
25467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25470
25470
4
25471
25471
5
25472
25472
6
25473
 
set autocommit=0;
 
25473
set @@autocommit = 0;
25474
25474
DROP TABLE t1;
25475
25475
204;
25476
 
create table t1 (n int not null primary key) ;
25477
 
set autocommit=0;
 
25476
create table t1 (n int not null primary key);
 
25477
set @@autocommit = 0;
25478
25478
insert into t1 values (4);
25479
25479
rollback;
25480
25480
select n, "after rollback" from t1;
25493
25493
n       after commit
25494
25494
4       after commit
25495
25495
5       after commit
25496
 
set autocommit=1;
 
25496
set @@autocommit = 1;
25497
25497
insert into t1 values (6);
25498
25498
insert into t1 values (4);
25499
25499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25502
25502
4
25503
25503
5
25504
25504
6
25505
 
set autocommit=0;
 
25505
set @@autocommit = 0;
25506
25506
DROP TABLE t1;
25507
25507
203;
25508
 
create table t1 (n int not null primary key) ;
25509
 
set autocommit=0;
 
25508
create table t1 (n int not null primary key);
 
25509
set @@autocommit = 0;
25510
25510
insert into t1 values (4);
25511
25511
rollback;
25512
25512
select n, "after rollback" from t1;
25525
25525
n       after commit
25526
25526
4       after commit
25527
25527
5       after commit
25528
 
set autocommit=1;
 
25528
set @@autocommit = 1;
25529
25529
insert into t1 values (6);
25530
25530
insert into t1 values (4);
25531
25531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25534
25534
4
25535
25535
5
25536
25536
6
25537
 
set autocommit=0;
 
25537
set @@autocommit = 0;
25538
25538
DROP TABLE t1;
25539
25539
202;
25540
 
create table t1 (n int not null primary key) ;
25541
 
set autocommit=0;
 
25540
create table t1 (n int not null primary key);
 
25541
set @@autocommit = 0;
25542
25542
insert into t1 values (4);
25543
25543
rollback;
25544
25544
select n, "after rollback" from t1;
25557
25557
n       after commit
25558
25558
4       after commit
25559
25559
5       after commit
25560
 
set autocommit=1;
 
25560
set @@autocommit = 1;
25561
25561
insert into t1 values (6);
25562
25562
insert into t1 values (4);
25563
25563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25566
25566
4
25567
25567
5
25568
25568
6
25569
 
set autocommit=0;
 
25569
set @@autocommit = 0;
25570
25570
DROP TABLE t1;
25571
25571
201;
25572
 
create table t1 (n int not null primary key) ;
25573
 
set autocommit=0;
 
25572
create table t1 (n int not null primary key);
 
25573
set @@autocommit = 0;
25574
25574
insert into t1 values (4);
25575
25575
rollback;
25576
25576
select n, "after rollback" from t1;
25589
25589
n       after commit
25590
25590
4       after commit
25591
25591
5       after commit
25592
 
set autocommit=1;
 
25592
set @@autocommit = 1;
25593
25593
insert into t1 values (6);
25594
25594
insert into t1 values (4);
25595
25595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25598
25598
4
25599
25599
5
25600
25600
6
25601
 
set autocommit=0;
 
25601
set @@autocommit = 0;
25602
25602
DROP TABLE t1;
25603
25603
200;
25604
 
create table t1 (n int not null primary key) ;
25605
 
set autocommit=0;
 
25604
create table t1 (n int not null primary key);
 
25605
set @@autocommit = 0;
25606
25606
insert into t1 values (4);
25607
25607
rollback;
25608
25608
select n, "after rollback" from t1;
25621
25621
n       after commit
25622
25622
4       after commit
25623
25623
5       after commit
25624
 
set autocommit=1;
 
25624
set @@autocommit = 1;
25625
25625
insert into t1 values (6);
25626
25626
insert into t1 values (4);
25627
25627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25630
25630
4
25631
25631
5
25632
25632
6
25633
 
set autocommit=0;
 
25633
set @@autocommit = 0;
25634
25634
DROP TABLE t1;
25635
25635
199;
25636
 
create table t1 (n int not null primary key) ;
25637
 
set autocommit=0;
 
25636
create table t1 (n int not null primary key);
 
25637
set @@autocommit = 0;
25638
25638
insert into t1 values (4);
25639
25639
rollback;
25640
25640
select n, "after rollback" from t1;
25653
25653
n       after commit
25654
25654
4       after commit
25655
25655
5       after commit
25656
 
set autocommit=1;
 
25656
set @@autocommit = 1;
25657
25657
insert into t1 values (6);
25658
25658
insert into t1 values (4);
25659
25659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25662
25662
4
25663
25663
5
25664
25664
6
25665
 
set autocommit=0;
 
25665
set @@autocommit = 0;
25666
25666
DROP TABLE t1;
25667
25667
198;
25668
 
create table t1 (n int not null primary key) ;
25669
 
set autocommit=0;
 
25668
create table t1 (n int not null primary key);
 
25669
set @@autocommit = 0;
25670
25670
insert into t1 values (4);
25671
25671
rollback;
25672
25672
select n, "after rollback" from t1;
25685
25685
n       after commit
25686
25686
4       after commit
25687
25687
5       after commit
25688
 
set autocommit=1;
 
25688
set @@autocommit = 1;
25689
25689
insert into t1 values (6);
25690
25690
insert into t1 values (4);
25691
25691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25694
25694
4
25695
25695
5
25696
25696
6
25697
 
set autocommit=0;
 
25697
set @@autocommit = 0;
25698
25698
DROP TABLE t1;
25699
25699
197;
25700
 
create table t1 (n int not null primary key) ;
25701
 
set autocommit=0;
 
25700
create table t1 (n int not null primary key);
 
25701
set @@autocommit = 0;
25702
25702
insert into t1 values (4);
25703
25703
rollback;
25704
25704
select n, "after rollback" from t1;
25717
25717
n       after commit
25718
25718
4       after commit
25719
25719
5       after commit
25720
 
set autocommit=1;
 
25720
set @@autocommit = 1;
25721
25721
insert into t1 values (6);
25722
25722
insert into t1 values (4);
25723
25723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25726
25726
4
25727
25727
5
25728
25728
6
25729
 
set autocommit=0;
 
25729
set @@autocommit = 0;
25730
25730
DROP TABLE t1;
25731
25731
196;
25732
 
create table t1 (n int not null primary key) ;
25733
 
set autocommit=0;
 
25732
create table t1 (n int not null primary key);
 
25733
set @@autocommit = 0;
25734
25734
insert into t1 values (4);
25735
25735
rollback;
25736
25736
select n, "after rollback" from t1;
25749
25749
n       after commit
25750
25750
4       after commit
25751
25751
5       after commit
25752
 
set autocommit=1;
 
25752
set @@autocommit = 1;
25753
25753
insert into t1 values (6);
25754
25754
insert into t1 values (4);
25755
25755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25758
25758
4
25759
25759
5
25760
25760
6
25761
 
set autocommit=0;
 
25761
set @@autocommit = 0;
25762
25762
DROP TABLE t1;
25763
25763
195;
25764
 
create table t1 (n int not null primary key) ;
25765
 
set autocommit=0;
 
25764
create table t1 (n int not null primary key);
 
25765
set @@autocommit = 0;
25766
25766
insert into t1 values (4);
25767
25767
rollback;
25768
25768
select n, "after rollback" from t1;
25781
25781
n       after commit
25782
25782
4       after commit
25783
25783
5       after commit
25784
 
set autocommit=1;
 
25784
set @@autocommit = 1;
25785
25785
insert into t1 values (6);
25786
25786
insert into t1 values (4);
25787
25787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25790
25790
4
25791
25791
5
25792
25792
6
25793
 
set autocommit=0;
 
25793
set @@autocommit = 0;
25794
25794
DROP TABLE t1;
25795
25795
194;
25796
 
create table t1 (n int not null primary key) ;
25797
 
set autocommit=0;
 
25796
create table t1 (n int not null primary key);
 
25797
set @@autocommit = 0;
25798
25798
insert into t1 values (4);
25799
25799
rollback;
25800
25800
select n, "after rollback" from t1;
25813
25813
n       after commit
25814
25814
4       after commit
25815
25815
5       after commit
25816
 
set autocommit=1;
 
25816
set @@autocommit = 1;
25817
25817
insert into t1 values (6);
25818
25818
insert into t1 values (4);
25819
25819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25822
25822
4
25823
25823
5
25824
25824
6
25825
 
set autocommit=0;
 
25825
set @@autocommit = 0;
25826
25826
DROP TABLE t1;
25827
25827
193;
25828
 
create table t1 (n int not null primary key) ;
25829
 
set autocommit=0;
 
25828
create table t1 (n int not null primary key);
 
25829
set @@autocommit = 0;
25830
25830
insert into t1 values (4);
25831
25831
rollback;
25832
25832
select n, "after rollback" from t1;
25845
25845
n       after commit
25846
25846
4       after commit
25847
25847
5       after commit
25848
 
set autocommit=1;
 
25848
set @@autocommit = 1;
25849
25849
insert into t1 values (6);
25850
25850
insert into t1 values (4);
25851
25851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25854
25854
4
25855
25855
5
25856
25856
6
25857
 
set autocommit=0;
 
25857
set @@autocommit = 0;
25858
25858
DROP TABLE t1;
25859
25859
192;
25860
 
create table t1 (n int not null primary key) ;
25861
 
set autocommit=0;
 
25860
create table t1 (n int not null primary key);
 
25861
set @@autocommit = 0;
25862
25862
insert into t1 values (4);
25863
25863
rollback;
25864
25864
select n, "after rollback" from t1;
25877
25877
n       after commit
25878
25878
4       after commit
25879
25879
5       after commit
25880
 
set autocommit=1;
 
25880
set @@autocommit = 1;
25881
25881
insert into t1 values (6);
25882
25882
insert into t1 values (4);
25883
25883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25886
25886
4
25887
25887
5
25888
25888
6
25889
 
set autocommit=0;
 
25889
set @@autocommit = 0;
25890
25890
DROP TABLE t1;
25891
25891
191;
25892
 
create table t1 (n int not null primary key) ;
25893
 
set autocommit=0;
 
25892
create table t1 (n int not null primary key);
 
25893
set @@autocommit = 0;
25894
25894
insert into t1 values (4);
25895
25895
rollback;
25896
25896
select n, "after rollback" from t1;
25909
25909
n       after commit
25910
25910
4       after commit
25911
25911
5       after commit
25912
 
set autocommit=1;
 
25912
set @@autocommit = 1;
25913
25913
insert into t1 values (6);
25914
25914
insert into t1 values (4);
25915
25915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25918
25918
4
25919
25919
5
25920
25920
6
25921
 
set autocommit=0;
 
25921
set @@autocommit = 0;
25922
25922
DROP TABLE t1;
25923
25923
190;
25924
 
create table t1 (n int not null primary key) ;
25925
 
set autocommit=0;
 
25924
create table t1 (n int not null primary key);
 
25925
set @@autocommit = 0;
25926
25926
insert into t1 values (4);
25927
25927
rollback;
25928
25928
select n, "after rollback" from t1;
25941
25941
n       after commit
25942
25942
4       after commit
25943
25943
5       after commit
25944
 
set autocommit=1;
 
25944
set @@autocommit = 1;
25945
25945
insert into t1 values (6);
25946
25946
insert into t1 values (4);
25947
25947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25950
25950
4
25951
25951
5
25952
25952
6
25953
 
set autocommit=0;
 
25953
set @@autocommit = 0;
25954
25954
DROP TABLE t1;
25955
25955
189;
25956
 
create table t1 (n int not null primary key) ;
25957
 
set autocommit=0;
 
25956
create table t1 (n int not null primary key);
 
25957
set @@autocommit = 0;
25958
25958
insert into t1 values (4);
25959
25959
rollback;
25960
25960
select n, "after rollback" from t1;
25973
25973
n       after commit
25974
25974
4       after commit
25975
25975
5       after commit
25976
 
set autocommit=1;
 
25976
set @@autocommit = 1;
25977
25977
insert into t1 values (6);
25978
25978
insert into t1 values (4);
25979
25979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
25982
25982
4
25983
25983
5
25984
25984
6
25985
 
set autocommit=0;
 
25985
set @@autocommit = 0;
25986
25986
DROP TABLE t1;
25987
25987
188;
25988
 
create table t1 (n int not null primary key) ;
25989
 
set autocommit=0;
 
25988
create table t1 (n int not null primary key);
 
25989
set @@autocommit = 0;
25990
25990
insert into t1 values (4);
25991
25991
rollback;
25992
25992
select n, "after rollback" from t1;
26005
26005
n       after commit
26006
26006
4       after commit
26007
26007
5       after commit
26008
 
set autocommit=1;
 
26008
set @@autocommit = 1;
26009
26009
insert into t1 values (6);
26010
26010
insert into t1 values (4);
26011
26011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26014
26014
4
26015
26015
5
26016
26016
6
26017
 
set autocommit=0;
 
26017
set @@autocommit = 0;
26018
26018
DROP TABLE t1;
26019
26019
187;
26020
 
create table t1 (n int not null primary key) ;
26021
 
set autocommit=0;
 
26020
create table t1 (n int not null primary key);
 
26021
set @@autocommit = 0;
26022
26022
insert into t1 values (4);
26023
26023
rollback;
26024
26024
select n, "after rollback" from t1;
26037
26037
n       after commit
26038
26038
4       after commit
26039
26039
5       after commit
26040
 
set autocommit=1;
 
26040
set @@autocommit = 1;
26041
26041
insert into t1 values (6);
26042
26042
insert into t1 values (4);
26043
26043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26046
26046
4
26047
26047
5
26048
26048
6
26049
 
set autocommit=0;
 
26049
set @@autocommit = 0;
26050
26050
DROP TABLE t1;
26051
26051
186;
26052
 
create table t1 (n int not null primary key) ;
26053
 
set autocommit=0;
 
26052
create table t1 (n int not null primary key);
 
26053
set @@autocommit = 0;
26054
26054
insert into t1 values (4);
26055
26055
rollback;
26056
26056
select n, "after rollback" from t1;
26069
26069
n       after commit
26070
26070
4       after commit
26071
26071
5       after commit
26072
 
set autocommit=1;
 
26072
set @@autocommit = 1;
26073
26073
insert into t1 values (6);
26074
26074
insert into t1 values (4);
26075
26075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26078
26078
4
26079
26079
5
26080
26080
6
26081
 
set autocommit=0;
 
26081
set @@autocommit = 0;
26082
26082
DROP TABLE t1;
26083
26083
185;
26084
 
create table t1 (n int not null primary key) ;
26085
 
set autocommit=0;
 
26084
create table t1 (n int not null primary key);
 
26085
set @@autocommit = 0;
26086
26086
insert into t1 values (4);
26087
26087
rollback;
26088
26088
select n, "after rollback" from t1;
26101
26101
n       after commit
26102
26102
4       after commit
26103
26103
5       after commit
26104
 
set autocommit=1;
 
26104
set @@autocommit = 1;
26105
26105
insert into t1 values (6);
26106
26106
insert into t1 values (4);
26107
26107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26110
26110
4
26111
26111
5
26112
26112
6
26113
 
set autocommit=0;
 
26113
set @@autocommit = 0;
26114
26114
DROP TABLE t1;
26115
26115
184;
26116
 
create table t1 (n int not null primary key) ;
26117
 
set autocommit=0;
 
26116
create table t1 (n int not null primary key);
 
26117
set @@autocommit = 0;
26118
26118
insert into t1 values (4);
26119
26119
rollback;
26120
26120
select n, "after rollback" from t1;
26133
26133
n       after commit
26134
26134
4       after commit
26135
26135
5       after commit
26136
 
set autocommit=1;
 
26136
set @@autocommit = 1;
26137
26137
insert into t1 values (6);
26138
26138
insert into t1 values (4);
26139
26139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26142
26142
4
26143
26143
5
26144
26144
6
26145
 
set autocommit=0;
 
26145
set @@autocommit = 0;
26146
26146
DROP TABLE t1;
26147
26147
183;
26148
 
create table t1 (n int not null primary key) ;
26149
 
set autocommit=0;
 
26148
create table t1 (n int not null primary key);
 
26149
set @@autocommit = 0;
26150
26150
insert into t1 values (4);
26151
26151
rollback;
26152
26152
select n, "after rollback" from t1;
26165
26165
n       after commit
26166
26166
4       after commit
26167
26167
5       after commit
26168
 
set autocommit=1;
 
26168
set @@autocommit = 1;
26169
26169
insert into t1 values (6);
26170
26170
insert into t1 values (4);
26171
26171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26174
26174
4
26175
26175
5
26176
26176
6
26177
 
set autocommit=0;
 
26177
set @@autocommit = 0;
26178
26178
DROP TABLE t1;
26179
26179
182;
26180
 
create table t1 (n int not null primary key) ;
26181
 
set autocommit=0;
 
26180
create table t1 (n int not null primary key);
 
26181
set @@autocommit = 0;
26182
26182
insert into t1 values (4);
26183
26183
rollback;
26184
26184
select n, "after rollback" from t1;
26197
26197
n       after commit
26198
26198
4       after commit
26199
26199
5       after commit
26200
 
set autocommit=1;
 
26200
set @@autocommit = 1;
26201
26201
insert into t1 values (6);
26202
26202
insert into t1 values (4);
26203
26203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26206
26206
4
26207
26207
5
26208
26208
6
26209
 
set autocommit=0;
 
26209
set @@autocommit = 0;
26210
26210
DROP TABLE t1;
26211
26211
181;
26212
 
create table t1 (n int not null primary key) ;
26213
 
set autocommit=0;
 
26212
create table t1 (n int not null primary key);
 
26213
set @@autocommit = 0;
26214
26214
insert into t1 values (4);
26215
26215
rollback;
26216
26216
select n, "after rollback" from t1;
26229
26229
n       after commit
26230
26230
4       after commit
26231
26231
5       after commit
26232
 
set autocommit=1;
 
26232
set @@autocommit = 1;
26233
26233
insert into t1 values (6);
26234
26234
insert into t1 values (4);
26235
26235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26238
26238
4
26239
26239
5
26240
26240
6
26241
 
set autocommit=0;
 
26241
set @@autocommit = 0;
26242
26242
DROP TABLE t1;
26243
26243
180;
26244
 
create table t1 (n int not null primary key) ;
26245
 
set autocommit=0;
 
26244
create table t1 (n int not null primary key);
 
26245
set @@autocommit = 0;
26246
26246
insert into t1 values (4);
26247
26247
rollback;
26248
26248
select n, "after rollback" from t1;
26261
26261
n       after commit
26262
26262
4       after commit
26263
26263
5       after commit
26264
 
set autocommit=1;
 
26264
set @@autocommit = 1;
26265
26265
insert into t1 values (6);
26266
26266
insert into t1 values (4);
26267
26267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26270
26270
4
26271
26271
5
26272
26272
6
26273
 
set autocommit=0;
 
26273
set @@autocommit = 0;
26274
26274
DROP TABLE t1;
26275
26275
179;
26276
 
create table t1 (n int not null primary key) ;
26277
 
set autocommit=0;
 
26276
create table t1 (n int not null primary key);
 
26277
set @@autocommit = 0;
26278
26278
insert into t1 values (4);
26279
26279
rollback;
26280
26280
select n, "after rollback" from t1;
26293
26293
n       after commit
26294
26294
4       after commit
26295
26295
5       after commit
26296
 
set autocommit=1;
 
26296
set @@autocommit = 1;
26297
26297
insert into t1 values (6);
26298
26298
insert into t1 values (4);
26299
26299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26302
26302
4
26303
26303
5
26304
26304
6
26305
 
set autocommit=0;
 
26305
set @@autocommit = 0;
26306
26306
DROP TABLE t1;
26307
26307
178;
26308
 
create table t1 (n int not null primary key) ;
26309
 
set autocommit=0;
 
26308
create table t1 (n int not null primary key);
 
26309
set @@autocommit = 0;
26310
26310
insert into t1 values (4);
26311
26311
rollback;
26312
26312
select n, "after rollback" from t1;
26325
26325
n       after commit
26326
26326
4       after commit
26327
26327
5       after commit
26328
 
set autocommit=1;
 
26328
set @@autocommit = 1;
26329
26329
insert into t1 values (6);
26330
26330
insert into t1 values (4);
26331
26331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26334
26334
4
26335
26335
5
26336
26336
6
26337
 
set autocommit=0;
 
26337
set @@autocommit = 0;
26338
26338
DROP TABLE t1;
26339
26339
177;
26340
 
create table t1 (n int not null primary key) ;
26341
 
set autocommit=0;
 
26340
create table t1 (n int not null primary key);
 
26341
set @@autocommit = 0;
26342
26342
insert into t1 values (4);
26343
26343
rollback;
26344
26344
select n, "after rollback" from t1;
26357
26357
n       after commit
26358
26358
4       after commit
26359
26359
5       after commit
26360
 
set autocommit=1;
 
26360
set @@autocommit = 1;
26361
26361
insert into t1 values (6);
26362
26362
insert into t1 values (4);
26363
26363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26366
26366
4
26367
26367
5
26368
26368
6
26369
 
set autocommit=0;
 
26369
set @@autocommit = 0;
26370
26370
DROP TABLE t1;
26371
26371
176;
26372
 
create table t1 (n int not null primary key) ;
26373
 
set autocommit=0;
 
26372
create table t1 (n int not null primary key);
 
26373
set @@autocommit = 0;
26374
26374
insert into t1 values (4);
26375
26375
rollback;
26376
26376
select n, "after rollback" from t1;
26389
26389
n       after commit
26390
26390
4       after commit
26391
26391
5       after commit
26392
 
set autocommit=1;
 
26392
set @@autocommit = 1;
26393
26393
insert into t1 values (6);
26394
26394
insert into t1 values (4);
26395
26395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26398
26398
4
26399
26399
5
26400
26400
6
26401
 
set autocommit=0;
 
26401
set @@autocommit = 0;
26402
26402
DROP TABLE t1;
26403
26403
175;
26404
 
create table t1 (n int not null primary key) ;
26405
 
set autocommit=0;
 
26404
create table t1 (n int not null primary key);
 
26405
set @@autocommit = 0;
26406
26406
insert into t1 values (4);
26407
26407
rollback;
26408
26408
select n, "after rollback" from t1;
26421
26421
n       after commit
26422
26422
4       after commit
26423
26423
5       after commit
26424
 
set autocommit=1;
 
26424
set @@autocommit = 1;
26425
26425
insert into t1 values (6);
26426
26426
insert into t1 values (4);
26427
26427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26430
26430
4
26431
26431
5
26432
26432
6
26433
 
set autocommit=0;
 
26433
set @@autocommit = 0;
26434
26434
DROP TABLE t1;
26435
26435
174;
26436
 
create table t1 (n int not null primary key) ;
26437
 
set autocommit=0;
 
26436
create table t1 (n int not null primary key);
 
26437
set @@autocommit = 0;
26438
26438
insert into t1 values (4);
26439
26439
rollback;
26440
26440
select n, "after rollback" from t1;
26453
26453
n       after commit
26454
26454
4       after commit
26455
26455
5       after commit
26456
 
set autocommit=1;
 
26456
set @@autocommit = 1;
26457
26457
insert into t1 values (6);
26458
26458
insert into t1 values (4);
26459
26459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26462
26462
4
26463
26463
5
26464
26464
6
26465
 
set autocommit=0;
 
26465
set @@autocommit = 0;
26466
26466
DROP TABLE t1;
26467
26467
173;
26468
 
create table t1 (n int not null primary key) ;
26469
 
set autocommit=0;
 
26468
create table t1 (n int not null primary key);
 
26469
set @@autocommit = 0;
26470
26470
insert into t1 values (4);
26471
26471
rollback;
26472
26472
select n, "after rollback" from t1;
26485
26485
n       after commit
26486
26486
4       after commit
26487
26487
5       after commit
26488
 
set autocommit=1;
 
26488
set @@autocommit = 1;
26489
26489
insert into t1 values (6);
26490
26490
insert into t1 values (4);
26491
26491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26494
26494
4
26495
26495
5
26496
26496
6
26497
 
set autocommit=0;
 
26497
set @@autocommit = 0;
26498
26498
DROP TABLE t1;
26499
26499
172;
26500
 
create table t1 (n int not null primary key) ;
26501
 
set autocommit=0;
 
26500
create table t1 (n int not null primary key);
 
26501
set @@autocommit = 0;
26502
26502
insert into t1 values (4);
26503
26503
rollback;
26504
26504
select n, "after rollback" from t1;
26517
26517
n       after commit
26518
26518
4       after commit
26519
26519
5       after commit
26520
 
set autocommit=1;
 
26520
set @@autocommit = 1;
26521
26521
insert into t1 values (6);
26522
26522
insert into t1 values (4);
26523
26523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26526
26526
4
26527
26527
5
26528
26528
6
26529
 
set autocommit=0;
 
26529
set @@autocommit = 0;
26530
26530
DROP TABLE t1;
26531
26531
171;
26532
 
create table t1 (n int not null primary key) ;
26533
 
set autocommit=0;
 
26532
create table t1 (n int not null primary key);
 
26533
set @@autocommit = 0;
26534
26534
insert into t1 values (4);
26535
26535
rollback;
26536
26536
select n, "after rollback" from t1;
26549
26549
n       after commit
26550
26550
4       after commit
26551
26551
5       after commit
26552
 
set autocommit=1;
 
26552
set @@autocommit = 1;
26553
26553
insert into t1 values (6);
26554
26554
insert into t1 values (4);
26555
26555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26558
26558
4
26559
26559
5
26560
26560
6
26561
 
set autocommit=0;
 
26561
set @@autocommit = 0;
26562
26562
DROP TABLE t1;
26563
26563
170;
26564
 
create table t1 (n int not null primary key) ;
26565
 
set autocommit=0;
 
26564
create table t1 (n int not null primary key);
 
26565
set @@autocommit = 0;
26566
26566
insert into t1 values (4);
26567
26567
rollback;
26568
26568
select n, "after rollback" from t1;
26581
26581
n       after commit
26582
26582
4       after commit
26583
26583
5       after commit
26584
 
set autocommit=1;
 
26584
set @@autocommit = 1;
26585
26585
insert into t1 values (6);
26586
26586
insert into t1 values (4);
26587
26587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26590
26590
4
26591
26591
5
26592
26592
6
26593
 
set autocommit=0;
 
26593
set @@autocommit = 0;
26594
26594
DROP TABLE t1;
26595
26595
169;
26596
 
create table t1 (n int not null primary key) ;
26597
 
set autocommit=0;
 
26596
create table t1 (n int not null primary key);
 
26597
set @@autocommit = 0;
26598
26598
insert into t1 values (4);
26599
26599
rollback;
26600
26600
select n, "after rollback" from t1;
26613
26613
n       after commit
26614
26614
4       after commit
26615
26615
5       after commit
26616
 
set autocommit=1;
 
26616
set @@autocommit = 1;
26617
26617
insert into t1 values (6);
26618
26618
insert into t1 values (4);
26619
26619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26622
26622
4
26623
26623
5
26624
26624
6
26625
 
set autocommit=0;
 
26625
set @@autocommit = 0;
26626
26626
DROP TABLE t1;
26627
26627
168;
26628
 
create table t1 (n int not null primary key) ;
26629
 
set autocommit=0;
 
26628
create table t1 (n int not null primary key);
 
26629
set @@autocommit = 0;
26630
26630
insert into t1 values (4);
26631
26631
rollback;
26632
26632
select n, "after rollback" from t1;
26645
26645
n       after commit
26646
26646
4       after commit
26647
26647
5       after commit
26648
 
set autocommit=1;
 
26648
set @@autocommit = 1;
26649
26649
insert into t1 values (6);
26650
26650
insert into t1 values (4);
26651
26651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26654
26654
4
26655
26655
5
26656
26656
6
26657
 
set autocommit=0;
 
26657
set @@autocommit = 0;
26658
26658
DROP TABLE t1;
26659
26659
167;
26660
 
create table t1 (n int not null primary key) ;
26661
 
set autocommit=0;
 
26660
create table t1 (n int not null primary key);
 
26661
set @@autocommit = 0;
26662
26662
insert into t1 values (4);
26663
26663
rollback;
26664
26664
select n, "after rollback" from t1;
26677
26677
n       after commit
26678
26678
4       after commit
26679
26679
5       after commit
26680
 
set autocommit=1;
 
26680
set @@autocommit = 1;
26681
26681
insert into t1 values (6);
26682
26682
insert into t1 values (4);
26683
26683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26686
26686
4
26687
26687
5
26688
26688
6
26689
 
set autocommit=0;
 
26689
set @@autocommit = 0;
26690
26690
DROP TABLE t1;
26691
26691
166;
26692
 
create table t1 (n int not null primary key) ;
26693
 
set autocommit=0;
 
26692
create table t1 (n int not null primary key);
 
26693
set @@autocommit = 0;
26694
26694
insert into t1 values (4);
26695
26695
rollback;
26696
26696
select n, "after rollback" from t1;
26709
26709
n       after commit
26710
26710
4       after commit
26711
26711
5       after commit
26712
 
set autocommit=1;
 
26712
set @@autocommit = 1;
26713
26713
insert into t1 values (6);
26714
26714
insert into t1 values (4);
26715
26715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26718
26718
4
26719
26719
5
26720
26720
6
26721
 
set autocommit=0;
 
26721
set @@autocommit = 0;
26722
26722
DROP TABLE t1;
26723
26723
165;
26724
 
create table t1 (n int not null primary key) ;
26725
 
set autocommit=0;
 
26724
create table t1 (n int not null primary key);
 
26725
set @@autocommit = 0;
26726
26726
insert into t1 values (4);
26727
26727
rollback;
26728
26728
select n, "after rollback" from t1;
26741
26741
n       after commit
26742
26742
4       after commit
26743
26743
5       after commit
26744
 
set autocommit=1;
 
26744
set @@autocommit = 1;
26745
26745
insert into t1 values (6);
26746
26746
insert into t1 values (4);
26747
26747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26750
26750
4
26751
26751
5
26752
26752
6
26753
 
set autocommit=0;
 
26753
set @@autocommit = 0;
26754
26754
DROP TABLE t1;
26755
26755
164;
26756
 
create table t1 (n int not null primary key) ;
26757
 
set autocommit=0;
 
26756
create table t1 (n int not null primary key);
 
26757
set @@autocommit = 0;
26758
26758
insert into t1 values (4);
26759
26759
rollback;
26760
26760
select n, "after rollback" from t1;
26773
26773
n       after commit
26774
26774
4       after commit
26775
26775
5       after commit
26776
 
set autocommit=1;
 
26776
set @@autocommit = 1;
26777
26777
insert into t1 values (6);
26778
26778
insert into t1 values (4);
26779
26779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26782
26782
4
26783
26783
5
26784
26784
6
26785
 
set autocommit=0;
 
26785
set @@autocommit = 0;
26786
26786
DROP TABLE t1;
26787
26787
163;
26788
 
create table t1 (n int not null primary key) ;
26789
 
set autocommit=0;
 
26788
create table t1 (n int not null primary key);
 
26789
set @@autocommit = 0;
26790
26790
insert into t1 values (4);
26791
26791
rollback;
26792
26792
select n, "after rollback" from t1;
26805
26805
n       after commit
26806
26806
4       after commit
26807
26807
5       after commit
26808
 
set autocommit=1;
 
26808
set @@autocommit = 1;
26809
26809
insert into t1 values (6);
26810
26810
insert into t1 values (4);
26811
26811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26814
26814
4
26815
26815
5
26816
26816
6
26817
 
set autocommit=0;
 
26817
set @@autocommit = 0;
26818
26818
DROP TABLE t1;
26819
26819
162;
26820
 
create table t1 (n int not null primary key) ;
26821
 
set autocommit=0;
 
26820
create table t1 (n int not null primary key);
 
26821
set @@autocommit = 0;
26822
26822
insert into t1 values (4);
26823
26823
rollback;
26824
26824
select n, "after rollback" from t1;
26837
26837
n       after commit
26838
26838
4       after commit
26839
26839
5       after commit
26840
 
set autocommit=1;
 
26840
set @@autocommit = 1;
26841
26841
insert into t1 values (6);
26842
26842
insert into t1 values (4);
26843
26843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26846
26846
4
26847
26847
5
26848
26848
6
26849
 
set autocommit=0;
 
26849
set @@autocommit = 0;
26850
26850
DROP TABLE t1;
26851
26851
161;
26852
 
create table t1 (n int not null primary key) ;
26853
 
set autocommit=0;
 
26852
create table t1 (n int not null primary key);
 
26853
set @@autocommit = 0;
26854
26854
insert into t1 values (4);
26855
26855
rollback;
26856
26856
select n, "after rollback" from t1;
26869
26869
n       after commit
26870
26870
4       after commit
26871
26871
5       after commit
26872
 
set autocommit=1;
 
26872
set @@autocommit = 1;
26873
26873
insert into t1 values (6);
26874
26874
insert into t1 values (4);
26875
26875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26878
26878
4
26879
26879
5
26880
26880
6
26881
 
set autocommit=0;
 
26881
set @@autocommit = 0;
26882
26882
DROP TABLE t1;
26883
26883
160;
26884
 
create table t1 (n int not null primary key) ;
26885
 
set autocommit=0;
 
26884
create table t1 (n int not null primary key);
 
26885
set @@autocommit = 0;
26886
26886
insert into t1 values (4);
26887
26887
rollback;
26888
26888
select n, "after rollback" from t1;
26901
26901
n       after commit
26902
26902
4       after commit
26903
26903
5       after commit
26904
 
set autocommit=1;
 
26904
set @@autocommit = 1;
26905
26905
insert into t1 values (6);
26906
26906
insert into t1 values (4);
26907
26907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26910
26910
4
26911
26911
5
26912
26912
6
26913
 
set autocommit=0;
 
26913
set @@autocommit = 0;
26914
26914
DROP TABLE t1;
26915
26915
159;
26916
 
create table t1 (n int not null primary key) ;
26917
 
set autocommit=0;
 
26916
create table t1 (n int not null primary key);
 
26917
set @@autocommit = 0;
26918
26918
insert into t1 values (4);
26919
26919
rollback;
26920
26920
select n, "after rollback" from t1;
26933
26933
n       after commit
26934
26934
4       after commit
26935
26935
5       after commit
26936
 
set autocommit=1;
 
26936
set @@autocommit = 1;
26937
26937
insert into t1 values (6);
26938
26938
insert into t1 values (4);
26939
26939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26942
26942
4
26943
26943
5
26944
26944
6
26945
 
set autocommit=0;
 
26945
set @@autocommit = 0;
26946
26946
DROP TABLE t1;
26947
26947
158;
26948
 
create table t1 (n int not null primary key) ;
26949
 
set autocommit=0;
 
26948
create table t1 (n int not null primary key);
 
26949
set @@autocommit = 0;
26950
26950
insert into t1 values (4);
26951
26951
rollback;
26952
26952
select n, "after rollback" from t1;
26965
26965
n       after commit
26966
26966
4       after commit
26967
26967
5       after commit
26968
 
set autocommit=1;
 
26968
set @@autocommit = 1;
26969
26969
insert into t1 values (6);
26970
26970
insert into t1 values (4);
26971
26971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
26974
26974
4
26975
26975
5
26976
26976
6
26977
 
set autocommit=0;
 
26977
set @@autocommit = 0;
26978
26978
DROP TABLE t1;
26979
26979
157;
26980
 
create table t1 (n int not null primary key) ;
26981
 
set autocommit=0;
 
26980
create table t1 (n int not null primary key);
 
26981
set @@autocommit = 0;
26982
26982
insert into t1 values (4);
26983
26983
rollback;
26984
26984
select n, "after rollback" from t1;
26997
26997
n       after commit
26998
26998
4       after commit
26999
26999
5       after commit
27000
 
set autocommit=1;
 
27000
set @@autocommit = 1;
27001
27001
insert into t1 values (6);
27002
27002
insert into t1 values (4);
27003
27003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27006
27006
4
27007
27007
5
27008
27008
6
27009
 
set autocommit=0;
 
27009
set @@autocommit = 0;
27010
27010
DROP TABLE t1;
27011
27011
156;
27012
 
create table t1 (n int not null primary key) ;
27013
 
set autocommit=0;
 
27012
create table t1 (n int not null primary key);
 
27013
set @@autocommit = 0;
27014
27014
insert into t1 values (4);
27015
27015
rollback;
27016
27016
select n, "after rollback" from t1;
27029
27029
n       after commit
27030
27030
4       after commit
27031
27031
5       after commit
27032
 
set autocommit=1;
 
27032
set @@autocommit = 1;
27033
27033
insert into t1 values (6);
27034
27034
insert into t1 values (4);
27035
27035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27038
27038
4
27039
27039
5
27040
27040
6
27041
 
set autocommit=0;
 
27041
set @@autocommit = 0;
27042
27042
DROP TABLE t1;
27043
27043
155;
27044
 
create table t1 (n int not null primary key) ;
27045
 
set autocommit=0;
 
27044
create table t1 (n int not null primary key);
 
27045
set @@autocommit = 0;
27046
27046
insert into t1 values (4);
27047
27047
rollback;
27048
27048
select n, "after rollback" from t1;
27061
27061
n       after commit
27062
27062
4       after commit
27063
27063
5       after commit
27064
 
set autocommit=1;
 
27064
set @@autocommit = 1;
27065
27065
insert into t1 values (6);
27066
27066
insert into t1 values (4);
27067
27067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27070
27070
4
27071
27071
5
27072
27072
6
27073
 
set autocommit=0;
 
27073
set @@autocommit = 0;
27074
27074
DROP TABLE t1;
27075
27075
154;
27076
 
create table t1 (n int not null primary key) ;
27077
 
set autocommit=0;
 
27076
create table t1 (n int not null primary key);
 
27077
set @@autocommit = 0;
27078
27078
insert into t1 values (4);
27079
27079
rollback;
27080
27080
select n, "after rollback" from t1;
27093
27093
n       after commit
27094
27094
4       after commit
27095
27095
5       after commit
27096
 
set autocommit=1;
 
27096
set @@autocommit = 1;
27097
27097
insert into t1 values (6);
27098
27098
insert into t1 values (4);
27099
27099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27102
27102
4
27103
27103
5
27104
27104
6
27105
 
set autocommit=0;
 
27105
set @@autocommit = 0;
27106
27106
DROP TABLE t1;
27107
27107
153;
27108
 
create table t1 (n int not null primary key) ;
27109
 
set autocommit=0;
 
27108
create table t1 (n int not null primary key);
 
27109
set @@autocommit = 0;
27110
27110
insert into t1 values (4);
27111
27111
rollback;
27112
27112
select n, "after rollback" from t1;
27125
27125
n       after commit
27126
27126
4       after commit
27127
27127
5       after commit
27128
 
set autocommit=1;
 
27128
set @@autocommit = 1;
27129
27129
insert into t1 values (6);
27130
27130
insert into t1 values (4);
27131
27131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27134
27134
4
27135
27135
5
27136
27136
6
27137
 
set autocommit=0;
 
27137
set @@autocommit = 0;
27138
27138
DROP TABLE t1;
27139
27139
152;
27140
 
create table t1 (n int not null primary key) ;
27141
 
set autocommit=0;
 
27140
create table t1 (n int not null primary key);
 
27141
set @@autocommit = 0;
27142
27142
insert into t1 values (4);
27143
27143
rollback;
27144
27144
select n, "after rollback" from t1;
27157
27157
n       after commit
27158
27158
4       after commit
27159
27159
5       after commit
27160
 
set autocommit=1;
 
27160
set @@autocommit = 1;
27161
27161
insert into t1 values (6);
27162
27162
insert into t1 values (4);
27163
27163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27166
27166
4
27167
27167
5
27168
27168
6
27169
 
set autocommit=0;
 
27169
set @@autocommit = 0;
27170
27170
DROP TABLE t1;
27171
27171
151;
27172
 
create table t1 (n int not null primary key) ;
27173
 
set autocommit=0;
 
27172
create table t1 (n int not null primary key);
 
27173
set @@autocommit = 0;
27174
27174
insert into t1 values (4);
27175
27175
rollback;
27176
27176
select n, "after rollback" from t1;
27189
27189
n       after commit
27190
27190
4       after commit
27191
27191
5       after commit
27192
 
set autocommit=1;
 
27192
set @@autocommit = 1;
27193
27193
insert into t1 values (6);
27194
27194
insert into t1 values (4);
27195
27195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27198
27198
4
27199
27199
5
27200
27200
6
27201
 
set autocommit=0;
 
27201
set @@autocommit = 0;
27202
27202
DROP TABLE t1;
27203
27203
150;
27204
 
create table t1 (n int not null primary key) ;
27205
 
set autocommit=0;
 
27204
create table t1 (n int not null primary key);
 
27205
set @@autocommit = 0;
27206
27206
insert into t1 values (4);
27207
27207
rollback;
27208
27208
select n, "after rollback" from t1;
27221
27221
n       after commit
27222
27222
4       after commit
27223
27223
5       after commit
27224
 
set autocommit=1;
 
27224
set @@autocommit = 1;
27225
27225
insert into t1 values (6);
27226
27226
insert into t1 values (4);
27227
27227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27230
27230
4
27231
27231
5
27232
27232
6
27233
 
set autocommit=0;
 
27233
set @@autocommit = 0;
27234
27234
DROP TABLE t1;
27235
27235
149;
27236
 
create table t1 (n int not null primary key) ;
27237
 
set autocommit=0;
 
27236
create table t1 (n int not null primary key);
 
27237
set @@autocommit = 0;
27238
27238
insert into t1 values (4);
27239
27239
rollback;
27240
27240
select n, "after rollback" from t1;
27253
27253
n       after commit
27254
27254
4       after commit
27255
27255
5       after commit
27256
 
set autocommit=1;
 
27256
set @@autocommit = 1;
27257
27257
insert into t1 values (6);
27258
27258
insert into t1 values (4);
27259
27259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27262
27262
4
27263
27263
5
27264
27264
6
27265
 
set autocommit=0;
 
27265
set @@autocommit = 0;
27266
27266
DROP TABLE t1;
27267
27267
148;
27268
 
create table t1 (n int not null primary key) ;
27269
 
set autocommit=0;
 
27268
create table t1 (n int not null primary key);
 
27269
set @@autocommit = 0;
27270
27270
insert into t1 values (4);
27271
27271
rollback;
27272
27272
select n, "after rollback" from t1;
27285
27285
n       after commit
27286
27286
4       after commit
27287
27287
5       after commit
27288
 
set autocommit=1;
 
27288
set @@autocommit = 1;
27289
27289
insert into t1 values (6);
27290
27290
insert into t1 values (4);
27291
27291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27294
27294
4
27295
27295
5
27296
27296
6
27297
 
set autocommit=0;
 
27297
set @@autocommit = 0;
27298
27298
DROP TABLE t1;
27299
27299
147;
27300
 
create table t1 (n int not null primary key) ;
27301
 
set autocommit=0;
 
27300
create table t1 (n int not null primary key);
 
27301
set @@autocommit = 0;
27302
27302
insert into t1 values (4);
27303
27303
rollback;
27304
27304
select n, "after rollback" from t1;
27317
27317
n       after commit
27318
27318
4       after commit
27319
27319
5       after commit
27320
 
set autocommit=1;
 
27320
set @@autocommit = 1;
27321
27321
insert into t1 values (6);
27322
27322
insert into t1 values (4);
27323
27323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27326
27326
4
27327
27327
5
27328
27328
6
27329
 
set autocommit=0;
 
27329
set @@autocommit = 0;
27330
27330
DROP TABLE t1;
27331
27331
146;
27332
 
create table t1 (n int not null primary key) ;
27333
 
set autocommit=0;
 
27332
create table t1 (n int not null primary key);
 
27333
set @@autocommit = 0;
27334
27334
insert into t1 values (4);
27335
27335
rollback;
27336
27336
select n, "after rollback" from t1;
27349
27349
n       after commit
27350
27350
4       after commit
27351
27351
5       after commit
27352
 
set autocommit=1;
 
27352
set @@autocommit = 1;
27353
27353
insert into t1 values (6);
27354
27354
insert into t1 values (4);
27355
27355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27358
27358
4
27359
27359
5
27360
27360
6
27361
 
set autocommit=0;
 
27361
set @@autocommit = 0;
27362
27362
DROP TABLE t1;
27363
27363
145;
27364
 
create table t1 (n int not null primary key) ;
27365
 
set autocommit=0;
 
27364
create table t1 (n int not null primary key);
 
27365
set @@autocommit = 0;
27366
27366
insert into t1 values (4);
27367
27367
rollback;
27368
27368
select n, "after rollback" from t1;
27381
27381
n       after commit
27382
27382
4       after commit
27383
27383
5       after commit
27384
 
set autocommit=1;
 
27384
set @@autocommit = 1;
27385
27385
insert into t1 values (6);
27386
27386
insert into t1 values (4);
27387
27387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27390
27390
4
27391
27391
5
27392
27392
6
27393
 
set autocommit=0;
 
27393
set @@autocommit = 0;
27394
27394
DROP TABLE t1;
27395
27395
144;
27396
 
create table t1 (n int not null primary key) ;
27397
 
set autocommit=0;
 
27396
create table t1 (n int not null primary key);
 
27397
set @@autocommit = 0;
27398
27398
insert into t1 values (4);
27399
27399
rollback;
27400
27400
select n, "after rollback" from t1;
27413
27413
n       after commit
27414
27414
4       after commit
27415
27415
5       after commit
27416
 
set autocommit=1;
 
27416
set @@autocommit = 1;
27417
27417
insert into t1 values (6);
27418
27418
insert into t1 values (4);
27419
27419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27422
27422
4
27423
27423
5
27424
27424
6
27425
 
set autocommit=0;
 
27425
set @@autocommit = 0;
27426
27426
DROP TABLE t1;
27427
27427
143;
27428
 
create table t1 (n int not null primary key) ;
27429
 
set autocommit=0;
 
27428
create table t1 (n int not null primary key);
 
27429
set @@autocommit = 0;
27430
27430
insert into t1 values (4);
27431
27431
rollback;
27432
27432
select n, "after rollback" from t1;
27445
27445
n       after commit
27446
27446
4       after commit
27447
27447
5       after commit
27448
 
set autocommit=1;
 
27448
set @@autocommit = 1;
27449
27449
insert into t1 values (6);
27450
27450
insert into t1 values (4);
27451
27451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27454
27454
4
27455
27455
5
27456
27456
6
27457
 
set autocommit=0;
 
27457
set @@autocommit = 0;
27458
27458
DROP TABLE t1;
27459
27459
142;
27460
 
create table t1 (n int not null primary key) ;
27461
 
set autocommit=0;
 
27460
create table t1 (n int not null primary key);
 
27461
set @@autocommit = 0;
27462
27462
insert into t1 values (4);
27463
27463
rollback;
27464
27464
select n, "after rollback" from t1;
27477
27477
n       after commit
27478
27478
4       after commit
27479
27479
5       after commit
27480
 
set autocommit=1;
 
27480
set @@autocommit = 1;
27481
27481
insert into t1 values (6);
27482
27482
insert into t1 values (4);
27483
27483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27486
27486
4
27487
27487
5
27488
27488
6
27489
 
set autocommit=0;
 
27489
set @@autocommit = 0;
27490
27490
DROP TABLE t1;
27491
27491
141;
27492
 
create table t1 (n int not null primary key) ;
27493
 
set autocommit=0;
 
27492
create table t1 (n int not null primary key);
 
27493
set @@autocommit = 0;
27494
27494
insert into t1 values (4);
27495
27495
rollback;
27496
27496
select n, "after rollback" from t1;
27509
27509
n       after commit
27510
27510
4       after commit
27511
27511
5       after commit
27512
 
set autocommit=1;
 
27512
set @@autocommit = 1;
27513
27513
insert into t1 values (6);
27514
27514
insert into t1 values (4);
27515
27515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27518
27518
4
27519
27519
5
27520
27520
6
27521
 
set autocommit=0;
 
27521
set @@autocommit = 0;
27522
27522
DROP TABLE t1;
27523
27523
140;
27524
 
create table t1 (n int not null primary key) ;
27525
 
set autocommit=0;
 
27524
create table t1 (n int not null primary key);
 
27525
set @@autocommit = 0;
27526
27526
insert into t1 values (4);
27527
27527
rollback;
27528
27528
select n, "after rollback" from t1;
27541
27541
n       after commit
27542
27542
4       after commit
27543
27543
5       after commit
27544
 
set autocommit=1;
 
27544
set @@autocommit = 1;
27545
27545
insert into t1 values (6);
27546
27546
insert into t1 values (4);
27547
27547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27550
27550
4
27551
27551
5
27552
27552
6
27553
 
set autocommit=0;
 
27553
set @@autocommit = 0;
27554
27554
DROP TABLE t1;
27555
27555
139;
27556
 
create table t1 (n int not null primary key) ;
27557
 
set autocommit=0;
 
27556
create table t1 (n int not null primary key);
 
27557
set @@autocommit = 0;
27558
27558
insert into t1 values (4);
27559
27559
rollback;
27560
27560
select n, "after rollback" from t1;
27573
27573
n       after commit
27574
27574
4       after commit
27575
27575
5       after commit
27576
 
set autocommit=1;
 
27576
set @@autocommit = 1;
27577
27577
insert into t1 values (6);
27578
27578
insert into t1 values (4);
27579
27579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27582
27582
4
27583
27583
5
27584
27584
6
27585
 
set autocommit=0;
 
27585
set @@autocommit = 0;
27586
27586
DROP TABLE t1;
27587
27587
138;
27588
 
create table t1 (n int not null primary key) ;
27589
 
set autocommit=0;
 
27588
create table t1 (n int not null primary key);
 
27589
set @@autocommit = 0;
27590
27590
insert into t1 values (4);
27591
27591
rollback;
27592
27592
select n, "after rollback" from t1;
27605
27605
n       after commit
27606
27606
4       after commit
27607
27607
5       after commit
27608
 
set autocommit=1;
 
27608
set @@autocommit = 1;
27609
27609
insert into t1 values (6);
27610
27610
insert into t1 values (4);
27611
27611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27614
27614
4
27615
27615
5
27616
27616
6
27617
 
set autocommit=0;
 
27617
set @@autocommit = 0;
27618
27618
DROP TABLE t1;
27619
27619
137;
27620
 
create table t1 (n int not null primary key) ;
27621
 
set autocommit=0;
 
27620
create table t1 (n int not null primary key);
 
27621
set @@autocommit = 0;
27622
27622
insert into t1 values (4);
27623
27623
rollback;
27624
27624
select n, "after rollback" from t1;
27637
27637
n       after commit
27638
27638
4       after commit
27639
27639
5       after commit
27640
 
set autocommit=1;
 
27640
set @@autocommit = 1;
27641
27641
insert into t1 values (6);
27642
27642
insert into t1 values (4);
27643
27643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27646
27646
4
27647
27647
5
27648
27648
6
27649
 
set autocommit=0;
 
27649
set @@autocommit = 0;
27650
27650
DROP TABLE t1;
27651
27651
136;
27652
 
create table t1 (n int not null primary key) ;
27653
 
set autocommit=0;
 
27652
create table t1 (n int not null primary key);
 
27653
set @@autocommit = 0;
27654
27654
insert into t1 values (4);
27655
27655
rollback;
27656
27656
select n, "after rollback" from t1;
27669
27669
n       after commit
27670
27670
4       after commit
27671
27671
5       after commit
27672
 
set autocommit=1;
 
27672
set @@autocommit = 1;
27673
27673
insert into t1 values (6);
27674
27674
insert into t1 values (4);
27675
27675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27678
27678
4
27679
27679
5
27680
27680
6
27681
 
set autocommit=0;
 
27681
set @@autocommit = 0;
27682
27682
DROP TABLE t1;
27683
27683
135;
27684
 
create table t1 (n int not null primary key) ;
27685
 
set autocommit=0;
 
27684
create table t1 (n int not null primary key);
 
27685
set @@autocommit = 0;
27686
27686
insert into t1 values (4);
27687
27687
rollback;
27688
27688
select n, "after rollback" from t1;
27701
27701
n       after commit
27702
27702
4       after commit
27703
27703
5       after commit
27704
 
set autocommit=1;
 
27704
set @@autocommit = 1;
27705
27705
insert into t1 values (6);
27706
27706
insert into t1 values (4);
27707
27707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27710
27710
4
27711
27711
5
27712
27712
6
27713
 
set autocommit=0;
 
27713
set @@autocommit = 0;
27714
27714
DROP TABLE t1;
27715
27715
134;
27716
 
create table t1 (n int not null primary key) ;
27717
 
set autocommit=0;
 
27716
create table t1 (n int not null primary key);
 
27717
set @@autocommit = 0;
27718
27718
insert into t1 values (4);
27719
27719
rollback;
27720
27720
select n, "after rollback" from t1;
27733
27733
n       after commit
27734
27734
4       after commit
27735
27735
5       after commit
27736
 
set autocommit=1;
 
27736
set @@autocommit = 1;
27737
27737
insert into t1 values (6);
27738
27738
insert into t1 values (4);
27739
27739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27742
27742
4
27743
27743
5
27744
27744
6
27745
 
set autocommit=0;
 
27745
set @@autocommit = 0;
27746
27746
DROP TABLE t1;
27747
27747
133;
27748
 
create table t1 (n int not null primary key) ;
27749
 
set autocommit=0;
 
27748
create table t1 (n int not null primary key);
 
27749
set @@autocommit = 0;
27750
27750
insert into t1 values (4);
27751
27751
rollback;
27752
27752
select n, "after rollback" from t1;
27765
27765
n       after commit
27766
27766
4       after commit
27767
27767
5       after commit
27768
 
set autocommit=1;
 
27768
set @@autocommit = 1;
27769
27769
insert into t1 values (6);
27770
27770
insert into t1 values (4);
27771
27771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27774
27774
4
27775
27775
5
27776
27776
6
27777
 
set autocommit=0;
 
27777
set @@autocommit = 0;
27778
27778
DROP TABLE t1;
27779
27779
132;
27780
 
create table t1 (n int not null primary key) ;
27781
 
set autocommit=0;
 
27780
create table t1 (n int not null primary key);
 
27781
set @@autocommit = 0;
27782
27782
insert into t1 values (4);
27783
27783
rollback;
27784
27784
select n, "after rollback" from t1;
27797
27797
n       after commit
27798
27798
4       after commit
27799
27799
5       after commit
27800
 
set autocommit=1;
 
27800
set @@autocommit = 1;
27801
27801
insert into t1 values (6);
27802
27802
insert into t1 values (4);
27803
27803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27806
27806
4
27807
27807
5
27808
27808
6
27809
 
set autocommit=0;
 
27809
set @@autocommit = 0;
27810
27810
DROP TABLE t1;
27811
27811
131;
27812
 
create table t1 (n int not null primary key) ;
27813
 
set autocommit=0;
 
27812
create table t1 (n int not null primary key);
 
27813
set @@autocommit = 0;
27814
27814
insert into t1 values (4);
27815
27815
rollback;
27816
27816
select n, "after rollback" from t1;
27829
27829
n       after commit
27830
27830
4       after commit
27831
27831
5       after commit
27832
 
set autocommit=1;
 
27832
set @@autocommit = 1;
27833
27833
insert into t1 values (6);
27834
27834
insert into t1 values (4);
27835
27835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27838
27838
4
27839
27839
5
27840
27840
6
27841
 
set autocommit=0;
 
27841
set @@autocommit = 0;
27842
27842
DROP TABLE t1;
27843
27843
130;
27844
 
create table t1 (n int not null primary key) ;
27845
 
set autocommit=0;
 
27844
create table t1 (n int not null primary key);
 
27845
set @@autocommit = 0;
27846
27846
insert into t1 values (4);
27847
27847
rollback;
27848
27848
select n, "after rollback" from t1;
27861
27861
n       after commit
27862
27862
4       after commit
27863
27863
5       after commit
27864
 
set autocommit=1;
 
27864
set @@autocommit = 1;
27865
27865
insert into t1 values (6);
27866
27866
insert into t1 values (4);
27867
27867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27870
27870
4
27871
27871
5
27872
27872
6
27873
 
set autocommit=0;
 
27873
set @@autocommit = 0;
27874
27874
DROP TABLE t1;
27875
27875
129;
27876
 
create table t1 (n int not null primary key) ;
27877
 
set autocommit=0;
 
27876
create table t1 (n int not null primary key);
 
27877
set @@autocommit = 0;
27878
27878
insert into t1 values (4);
27879
27879
rollback;
27880
27880
select n, "after rollback" from t1;
27893
27893
n       after commit
27894
27894
4       after commit
27895
27895
5       after commit
27896
 
set autocommit=1;
 
27896
set @@autocommit = 1;
27897
27897
insert into t1 values (6);
27898
27898
insert into t1 values (4);
27899
27899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27902
27902
4
27903
27903
5
27904
27904
6
27905
 
set autocommit=0;
 
27905
set @@autocommit = 0;
27906
27906
DROP TABLE t1;
27907
27907
128;
27908
 
create table t1 (n int not null primary key) ;
27909
 
set autocommit=0;
 
27908
create table t1 (n int not null primary key);
 
27909
set @@autocommit = 0;
27910
27910
insert into t1 values (4);
27911
27911
rollback;
27912
27912
select n, "after rollback" from t1;
27925
27925
n       after commit
27926
27926
4       after commit
27927
27927
5       after commit
27928
 
set autocommit=1;
 
27928
set @@autocommit = 1;
27929
27929
insert into t1 values (6);
27930
27930
insert into t1 values (4);
27931
27931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27934
27934
4
27935
27935
5
27936
27936
6
27937
 
set autocommit=0;
 
27937
set @@autocommit = 0;
27938
27938
DROP TABLE t1;
27939
27939
127;
27940
 
create table t1 (n int not null primary key) ;
27941
 
set autocommit=0;
 
27940
create table t1 (n int not null primary key);
 
27941
set @@autocommit = 0;
27942
27942
insert into t1 values (4);
27943
27943
rollback;
27944
27944
select n, "after rollback" from t1;
27957
27957
n       after commit
27958
27958
4       after commit
27959
27959
5       after commit
27960
 
set autocommit=1;
 
27960
set @@autocommit = 1;
27961
27961
insert into t1 values (6);
27962
27962
insert into t1 values (4);
27963
27963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27966
27966
4
27967
27967
5
27968
27968
6
27969
 
set autocommit=0;
 
27969
set @@autocommit = 0;
27970
27970
DROP TABLE t1;
27971
27971
126;
27972
 
create table t1 (n int not null primary key) ;
27973
 
set autocommit=0;
 
27972
create table t1 (n int not null primary key);
 
27973
set @@autocommit = 0;
27974
27974
insert into t1 values (4);
27975
27975
rollback;
27976
27976
select n, "after rollback" from t1;
27989
27989
n       after commit
27990
27990
4       after commit
27991
27991
5       after commit
27992
 
set autocommit=1;
 
27992
set @@autocommit = 1;
27993
27993
insert into t1 values (6);
27994
27994
insert into t1 values (4);
27995
27995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
27998
27998
4
27999
27999
5
28000
28000
6
28001
 
set autocommit=0;
 
28001
set @@autocommit = 0;
28002
28002
DROP TABLE t1;
28003
28003
125;
28004
 
create table t1 (n int not null primary key) ;
28005
 
set autocommit=0;
 
28004
create table t1 (n int not null primary key);
 
28005
set @@autocommit = 0;
28006
28006
insert into t1 values (4);
28007
28007
rollback;
28008
28008
select n, "after rollback" from t1;
28021
28021
n       after commit
28022
28022
4       after commit
28023
28023
5       after commit
28024
 
set autocommit=1;
 
28024
set @@autocommit = 1;
28025
28025
insert into t1 values (6);
28026
28026
insert into t1 values (4);
28027
28027
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28030
28030
4
28031
28031
5
28032
28032
6
28033
 
set autocommit=0;
 
28033
set @@autocommit = 0;
28034
28034
DROP TABLE t1;
28035
28035
124;
28036
 
create table t1 (n int not null primary key) ;
28037
 
set autocommit=0;
 
28036
create table t1 (n int not null primary key);
 
28037
set @@autocommit = 0;
28038
28038
insert into t1 values (4);
28039
28039
rollback;
28040
28040
select n, "after rollback" from t1;
28053
28053
n       after commit
28054
28054
4       after commit
28055
28055
5       after commit
28056
 
set autocommit=1;
 
28056
set @@autocommit = 1;
28057
28057
insert into t1 values (6);
28058
28058
insert into t1 values (4);
28059
28059
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28062
28062
4
28063
28063
5
28064
28064
6
28065
 
set autocommit=0;
 
28065
set @@autocommit = 0;
28066
28066
DROP TABLE t1;
28067
28067
123;
28068
 
create table t1 (n int not null primary key) ;
28069
 
set autocommit=0;
 
28068
create table t1 (n int not null primary key);
 
28069
set @@autocommit = 0;
28070
28070
insert into t1 values (4);
28071
28071
rollback;
28072
28072
select n, "after rollback" from t1;
28085
28085
n       after commit
28086
28086
4       after commit
28087
28087
5       after commit
28088
 
set autocommit=1;
 
28088
set @@autocommit = 1;
28089
28089
insert into t1 values (6);
28090
28090
insert into t1 values (4);
28091
28091
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28094
28094
4
28095
28095
5
28096
28096
6
28097
 
set autocommit=0;
 
28097
set @@autocommit = 0;
28098
28098
DROP TABLE t1;
28099
28099
122;
28100
 
create table t1 (n int not null primary key) ;
28101
 
set autocommit=0;
 
28100
create table t1 (n int not null primary key);
 
28101
set @@autocommit = 0;
28102
28102
insert into t1 values (4);
28103
28103
rollback;
28104
28104
select n, "after rollback" from t1;
28117
28117
n       after commit
28118
28118
4       after commit
28119
28119
5       after commit
28120
 
set autocommit=1;
 
28120
set @@autocommit = 1;
28121
28121
insert into t1 values (6);
28122
28122
insert into t1 values (4);
28123
28123
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28126
28126
4
28127
28127
5
28128
28128
6
28129
 
set autocommit=0;
 
28129
set @@autocommit = 0;
28130
28130
DROP TABLE t1;
28131
28131
121;
28132
 
create table t1 (n int not null primary key) ;
28133
 
set autocommit=0;
 
28132
create table t1 (n int not null primary key);
 
28133
set @@autocommit = 0;
28134
28134
insert into t1 values (4);
28135
28135
rollback;
28136
28136
select n, "after rollback" from t1;
28149
28149
n       after commit
28150
28150
4       after commit
28151
28151
5       after commit
28152
 
set autocommit=1;
 
28152
set @@autocommit = 1;
28153
28153
insert into t1 values (6);
28154
28154
insert into t1 values (4);
28155
28155
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28158
28158
4
28159
28159
5
28160
28160
6
28161
 
set autocommit=0;
 
28161
set @@autocommit = 0;
28162
28162
DROP TABLE t1;
28163
28163
120;
28164
 
create table t1 (n int not null primary key) ;
28165
 
set autocommit=0;
 
28164
create table t1 (n int not null primary key);
 
28165
set @@autocommit = 0;
28166
28166
insert into t1 values (4);
28167
28167
rollback;
28168
28168
select n, "after rollback" from t1;
28181
28181
n       after commit
28182
28182
4       after commit
28183
28183
5       after commit
28184
 
set autocommit=1;
 
28184
set @@autocommit = 1;
28185
28185
insert into t1 values (6);
28186
28186
insert into t1 values (4);
28187
28187
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28190
28190
4
28191
28191
5
28192
28192
6
28193
 
set autocommit=0;
 
28193
set @@autocommit = 0;
28194
28194
DROP TABLE t1;
28195
28195
119;
28196
 
create table t1 (n int not null primary key) ;
28197
 
set autocommit=0;
 
28196
create table t1 (n int not null primary key);
 
28197
set @@autocommit = 0;
28198
28198
insert into t1 values (4);
28199
28199
rollback;
28200
28200
select n, "after rollback" from t1;
28213
28213
n       after commit
28214
28214
4       after commit
28215
28215
5       after commit
28216
 
set autocommit=1;
 
28216
set @@autocommit = 1;
28217
28217
insert into t1 values (6);
28218
28218
insert into t1 values (4);
28219
28219
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28222
28222
4
28223
28223
5
28224
28224
6
28225
 
set autocommit=0;
 
28225
set @@autocommit = 0;
28226
28226
DROP TABLE t1;
28227
28227
118;
28228
 
create table t1 (n int not null primary key) ;
28229
 
set autocommit=0;
 
28228
create table t1 (n int not null primary key);
 
28229
set @@autocommit = 0;
28230
28230
insert into t1 values (4);
28231
28231
rollback;
28232
28232
select n, "after rollback" from t1;
28245
28245
n       after commit
28246
28246
4       after commit
28247
28247
5       after commit
28248
 
set autocommit=1;
 
28248
set @@autocommit = 1;
28249
28249
insert into t1 values (6);
28250
28250
insert into t1 values (4);
28251
28251
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28254
28254
4
28255
28255
5
28256
28256
6
28257
 
set autocommit=0;
 
28257
set @@autocommit = 0;
28258
28258
DROP TABLE t1;
28259
28259
117;
28260
 
create table t1 (n int not null primary key) ;
28261
 
set autocommit=0;
 
28260
create table t1 (n int not null primary key);
 
28261
set @@autocommit = 0;
28262
28262
insert into t1 values (4);
28263
28263
rollback;
28264
28264
select n, "after rollback" from t1;
28277
28277
n       after commit
28278
28278
4       after commit
28279
28279
5       after commit
28280
 
set autocommit=1;
 
28280
set @@autocommit = 1;
28281
28281
insert into t1 values (6);
28282
28282
insert into t1 values (4);
28283
28283
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28286
28286
4
28287
28287
5
28288
28288
6
28289
 
set autocommit=0;
 
28289
set @@autocommit = 0;
28290
28290
DROP TABLE t1;
28291
28291
116;
28292
 
create table t1 (n int not null primary key) ;
28293
 
set autocommit=0;
 
28292
create table t1 (n int not null primary key);
 
28293
set @@autocommit = 0;
28294
28294
insert into t1 values (4);
28295
28295
rollback;
28296
28296
select n, "after rollback" from t1;
28309
28309
n       after commit
28310
28310
4       after commit
28311
28311
5       after commit
28312
 
set autocommit=1;
 
28312
set @@autocommit = 1;
28313
28313
insert into t1 values (6);
28314
28314
insert into t1 values (4);
28315
28315
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28318
28318
4
28319
28319
5
28320
28320
6
28321
 
set autocommit=0;
 
28321
set @@autocommit = 0;
28322
28322
DROP TABLE t1;
28323
28323
115;
28324
 
create table t1 (n int not null primary key) ;
28325
 
set autocommit=0;
 
28324
create table t1 (n int not null primary key);
 
28325
set @@autocommit = 0;
28326
28326
insert into t1 values (4);
28327
28327
rollback;
28328
28328
select n, "after rollback" from t1;
28341
28341
n       after commit
28342
28342
4       after commit
28343
28343
5       after commit
28344
 
set autocommit=1;
 
28344
set @@autocommit = 1;
28345
28345
insert into t1 values (6);
28346
28346
insert into t1 values (4);
28347
28347
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28350
28350
4
28351
28351
5
28352
28352
6
28353
 
set autocommit=0;
 
28353
set @@autocommit = 0;
28354
28354
DROP TABLE t1;
28355
28355
114;
28356
 
create table t1 (n int not null primary key) ;
28357
 
set autocommit=0;
 
28356
create table t1 (n int not null primary key);
 
28357
set @@autocommit = 0;
28358
28358
insert into t1 values (4);
28359
28359
rollback;
28360
28360
select n, "after rollback" from t1;
28373
28373
n       after commit
28374
28374
4       after commit
28375
28375
5       after commit
28376
 
set autocommit=1;
 
28376
set @@autocommit = 1;
28377
28377
insert into t1 values (6);
28378
28378
insert into t1 values (4);
28379
28379
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28382
28382
4
28383
28383
5
28384
28384
6
28385
 
set autocommit=0;
 
28385
set @@autocommit = 0;
28386
28386
DROP TABLE t1;
28387
28387
113;
28388
 
create table t1 (n int not null primary key) ;
28389
 
set autocommit=0;
 
28388
create table t1 (n int not null primary key);
 
28389
set @@autocommit = 0;
28390
28390
insert into t1 values (4);
28391
28391
rollback;
28392
28392
select n, "after rollback" from t1;
28405
28405
n       after commit
28406
28406
4       after commit
28407
28407
5       after commit
28408
 
set autocommit=1;
 
28408
set @@autocommit = 1;
28409
28409
insert into t1 values (6);
28410
28410
insert into t1 values (4);
28411
28411
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28414
28414
4
28415
28415
5
28416
28416
6
28417
 
set autocommit=0;
 
28417
set @@autocommit = 0;
28418
28418
DROP TABLE t1;
28419
28419
112;
28420
 
create table t1 (n int not null primary key) ;
28421
 
set autocommit=0;
 
28420
create table t1 (n int not null primary key);
 
28421
set @@autocommit = 0;
28422
28422
insert into t1 values (4);
28423
28423
rollback;
28424
28424
select n, "after rollback" from t1;
28437
28437
n       after commit
28438
28438
4       after commit
28439
28439
5       after commit
28440
 
set autocommit=1;
 
28440
set @@autocommit = 1;
28441
28441
insert into t1 values (6);
28442
28442
insert into t1 values (4);
28443
28443
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28446
28446
4
28447
28447
5
28448
28448
6
28449
 
set autocommit=0;
 
28449
set @@autocommit = 0;
28450
28450
DROP TABLE t1;
28451
28451
111;
28452
 
create table t1 (n int not null primary key) ;
28453
 
set autocommit=0;
 
28452
create table t1 (n int not null primary key);
 
28453
set @@autocommit = 0;
28454
28454
insert into t1 values (4);
28455
28455
rollback;
28456
28456
select n, "after rollback" from t1;
28469
28469
n       after commit
28470
28470
4       after commit
28471
28471
5       after commit
28472
 
set autocommit=1;
 
28472
set @@autocommit = 1;
28473
28473
insert into t1 values (6);
28474
28474
insert into t1 values (4);
28475
28475
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28478
28478
4
28479
28479
5
28480
28480
6
28481
 
set autocommit=0;
 
28481
set @@autocommit = 0;
28482
28482
DROP TABLE t1;
28483
28483
110;
28484
 
create table t1 (n int not null primary key) ;
28485
 
set autocommit=0;
 
28484
create table t1 (n int not null primary key);
 
28485
set @@autocommit = 0;
28486
28486
insert into t1 values (4);
28487
28487
rollback;
28488
28488
select n, "after rollback" from t1;
28501
28501
n       after commit
28502
28502
4       after commit
28503
28503
5       after commit
28504
 
set autocommit=1;
 
28504
set @@autocommit = 1;
28505
28505
insert into t1 values (6);
28506
28506
insert into t1 values (4);
28507
28507
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28510
28510
4
28511
28511
5
28512
28512
6
28513
 
set autocommit=0;
 
28513
set @@autocommit = 0;
28514
28514
DROP TABLE t1;
28515
28515
109;
28516
 
create table t1 (n int not null primary key) ;
28517
 
set autocommit=0;
 
28516
create table t1 (n int not null primary key);
 
28517
set @@autocommit = 0;
28518
28518
insert into t1 values (4);
28519
28519
rollback;
28520
28520
select n, "after rollback" from t1;
28533
28533
n       after commit
28534
28534
4       after commit
28535
28535
5       after commit
28536
 
set autocommit=1;
 
28536
set @@autocommit = 1;
28537
28537
insert into t1 values (6);
28538
28538
insert into t1 values (4);
28539
28539
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28542
28542
4
28543
28543
5
28544
28544
6
28545
 
set autocommit=0;
 
28545
set @@autocommit = 0;
28546
28546
DROP TABLE t1;
28547
28547
108;
28548
 
create table t1 (n int not null primary key) ;
28549
 
set autocommit=0;
 
28548
create table t1 (n int not null primary key);
 
28549
set @@autocommit = 0;
28550
28550
insert into t1 values (4);
28551
28551
rollback;
28552
28552
select n, "after rollback" from t1;
28565
28565
n       after commit
28566
28566
4       after commit
28567
28567
5       after commit
28568
 
set autocommit=1;
 
28568
set @@autocommit = 1;
28569
28569
insert into t1 values (6);
28570
28570
insert into t1 values (4);
28571
28571
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28574
28574
4
28575
28575
5
28576
28576
6
28577
 
set autocommit=0;
 
28577
set @@autocommit = 0;
28578
28578
DROP TABLE t1;
28579
28579
107;
28580
 
create table t1 (n int not null primary key) ;
28581
 
set autocommit=0;
 
28580
create table t1 (n int not null primary key);
 
28581
set @@autocommit = 0;
28582
28582
insert into t1 values (4);
28583
28583
rollback;
28584
28584
select n, "after rollback" from t1;
28597
28597
n       after commit
28598
28598
4       after commit
28599
28599
5       after commit
28600
 
set autocommit=1;
 
28600
set @@autocommit = 1;
28601
28601
insert into t1 values (6);
28602
28602
insert into t1 values (4);
28603
28603
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28606
28606
4
28607
28607
5
28608
28608
6
28609
 
set autocommit=0;
 
28609
set @@autocommit = 0;
28610
28610
DROP TABLE t1;
28611
28611
106;
28612
 
create table t1 (n int not null primary key) ;
28613
 
set autocommit=0;
 
28612
create table t1 (n int not null primary key);
 
28613
set @@autocommit = 0;
28614
28614
insert into t1 values (4);
28615
28615
rollback;
28616
28616
select n, "after rollback" from t1;
28629
28629
n       after commit
28630
28630
4       after commit
28631
28631
5       after commit
28632
 
set autocommit=1;
 
28632
set @@autocommit = 1;
28633
28633
insert into t1 values (6);
28634
28634
insert into t1 values (4);
28635
28635
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28638
28638
4
28639
28639
5
28640
28640
6
28641
 
set autocommit=0;
 
28641
set @@autocommit = 0;
28642
28642
DROP TABLE t1;
28643
28643
105;
28644
 
create table t1 (n int not null primary key) ;
28645
 
set autocommit=0;
 
28644
create table t1 (n int not null primary key);
 
28645
set @@autocommit = 0;
28646
28646
insert into t1 values (4);
28647
28647
rollback;
28648
28648
select n, "after rollback" from t1;
28661
28661
n       after commit
28662
28662
4       after commit
28663
28663
5       after commit
28664
 
set autocommit=1;
 
28664
set @@autocommit = 1;
28665
28665
insert into t1 values (6);
28666
28666
insert into t1 values (4);
28667
28667
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28670
28670
4
28671
28671
5
28672
28672
6
28673
 
set autocommit=0;
 
28673
set @@autocommit = 0;
28674
28674
DROP TABLE t1;
28675
28675
104;
28676
 
create table t1 (n int not null primary key) ;
28677
 
set autocommit=0;
 
28676
create table t1 (n int not null primary key);
 
28677
set @@autocommit = 0;
28678
28678
insert into t1 values (4);
28679
28679
rollback;
28680
28680
select n, "after rollback" from t1;
28693
28693
n       after commit
28694
28694
4       after commit
28695
28695
5       after commit
28696
 
set autocommit=1;
 
28696
set @@autocommit = 1;
28697
28697
insert into t1 values (6);
28698
28698
insert into t1 values (4);
28699
28699
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28702
28702
4
28703
28703
5
28704
28704
6
28705
 
set autocommit=0;
 
28705
set @@autocommit = 0;
28706
28706
DROP TABLE t1;
28707
28707
103;
28708
 
create table t1 (n int not null primary key) ;
28709
 
set autocommit=0;
 
28708
create table t1 (n int not null primary key);
 
28709
set @@autocommit = 0;
28710
28710
insert into t1 values (4);
28711
28711
rollback;
28712
28712
select n, "after rollback" from t1;
28725
28725
n       after commit
28726
28726
4       after commit
28727
28727
5       after commit
28728
 
set autocommit=1;
 
28728
set @@autocommit = 1;
28729
28729
insert into t1 values (6);
28730
28730
insert into t1 values (4);
28731
28731
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28734
28734
4
28735
28735
5
28736
28736
6
28737
 
set autocommit=0;
 
28737
set @@autocommit = 0;
28738
28738
DROP TABLE t1;
28739
28739
102;
28740
 
create table t1 (n int not null primary key) ;
28741
 
set autocommit=0;
 
28740
create table t1 (n int not null primary key);
 
28741
set @@autocommit = 0;
28742
28742
insert into t1 values (4);
28743
28743
rollback;
28744
28744
select n, "after rollback" from t1;
28757
28757
n       after commit
28758
28758
4       after commit
28759
28759
5       after commit
28760
 
set autocommit=1;
 
28760
set @@autocommit = 1;
28761
28761
insert into t1 values (6);
28762
28762
insert into t1 values (4);
28763
28763
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28766
28766
4
28767
28767
5
28768
28768
6
28769
 
set autocommit=0;
 
28769
set @@autocommit = 0;
28770
28770
DROP TABLE t1;
28771
28771
101;
28772
 
create table t1 (n int not null primary key) ;
28773
 
set autocommit=0;
 
28772
create table t1 (n int not null primary key);
 
28773
set @@autocommit = 0;
28774
28774
insert into t1 values (4);
28775
28775
rollback;
28776
28776
select n, "after rollback" from t1;
28789
28789
n       after commit
28790
28790
4       after commit
28791
28791
5       after commit
28792
 
set autocommit=1;
 
28792
set @@autocommit = 1;
28793
28793
insert into t1 values (6);
28794
28794
insert into t1 values (4);
28795
28795
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28798
28798
4
28799
28799
5
28800
28800
6
28801
 
set autocommit=0;
 
28801
set @@autocommit = 0;
28802
28802
DROP TABLE t1;
28803
28803
100;
28804
 
create table t1 (n int not null primary key) ;
28805
 
set autocommit=0;
 
28804
create table t1 (n int not null primary key);
 
28805
set @@autocommit = 0;
28806
28806
insert into t1 values (4);
28807
28807
rollback;
28808
28808
select n, "after rollback" from t1;
28821
28821
n       after commit
28822
28822
4       after commit
28823
28823
5       after commit
28824
 
set autocommit=1;
 
28824
set @@autocommit = 1;
28825
28825
insert into t1 values (6);
28826
28826
insert into t1 values (4);
28827
28827
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28830
28830
4
28831
28831
5
28832
28832
6
28833
 
set autocommit=0;
 
28833
set @@autocommit = 0;
28834
28834
DROP TABLE t1;
28835
28835
99;
28836
 
create table t1 (n int not null primary key) ;
28837
 
set autocommit=0;
 
28836
create table t1 (n int not null primary key);
 
28837
set @@autocommit = 0;
28838
28838
insert into t1 values (4);
28839
28839
rollback;
28840
28840
select n, "after rollback" from t1;
28853
28853
n       after commit
28854
28854
4       after commit
28855
28855
5       after commit
28856
 
set autocommit=1;
 
28856
set @@autocommit = 1;
28857
28857
insert into t1 values (6);
28858
28858
insert into t1 values (4);
28859
28859
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28862
28862
4
28863
28863
5
28864
28864
6
28865
 
set autocommit=0;
 
28865
set @@autocommit = 0;
28866
28866
DROP TABLE t1;
28867
28867
98;
28868
 
create table t1 (n int not null primary key) ;
28869
 
set autocommit=0;
 
28868
create table t1 (n int not null primary key);
 
28869
set @@autocommit = 0;
28870
28870
insert into t1 values (4);
28871
28871
rollback;
28872
28872
select n, "after rollback" from t1;
28885
28885
n       after commit
28886
28886
4       after commit
28887
28887
5       after commit
28888
 
set autocommit=1;
 
28888
set @@autocommit = 1;
28889
28889
insert into t1 values (6);
28890
28890
insert into t1 values (4);
28891
28891
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28894
28894
4
28895
28895
5
28896
28896
6
28897
 
set autocommit=0;
 
28897
set @@autocommit = 0;
28898
28898
DROP TABLE t1;
28899
28899
97;
28900
 
create table t1 (n int not null primary key) ;
28901
 
set autocommit=0;
 
28900
create table t1 (n int not null primary key);
 
28901
set @@autocommit = 0;
28902
28902
insert into t1 values (4);
28903
28903
rollback;
28904
28904
select n, "after rollback" from t1;
28917
28917
n       after commit
28918
28918
4       after commit
28919
28919
5       after commit
28920
 
set autocommit=1;
 
28920
set @@autocommit = 1;
28921
28921
insert into t1 values (6);
28922
28922
insert into t1 values (4);
28923
28923
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28926
28926
4
28927
28927
5
28928
28928
6
28929
 
set autocommit=0;
 
28929
set @@autocommit = 0;
28930
28930
DROP TABLE t1;
28931
28931
96;
28932
 
create table t1 (n int not null primary key) ;
28933
 
set autocommit=0;
 
28932
create table t1 (n int not null primary key);
 
28933
set @@autocommit = 0;
28934
28934
insert into t1 values (4);
28935
28935
rollback;
28936
28936
select n, "after rollback" from t1;
28949
28949
n       after commit
28950
28950
4       after commit
28951
28951
5       after commit
28952
 
set autocommit=1;
 
28952
set @@autocommit = 1;
28953
28953
insert into t1 values (6);
28954
28954
insert into t1 values (4);
28955
28955
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28958
28958
4
28959
28959
5
28960
28960
6
28961
 
set autocommit=0;
 
28961
set @@autocommit = 0;
28962
28962
DROP TABLE t1;
28963
28963
95;
28964
 
create table t1 (n int not null primary key) ;
28965
 
set autocommit=0;
 
28964
create table t1 (n int not null primary key);
 
28965
set @@autocommit = 0;
28966
28966
insert into t1 values (4);
28967
28967
rollback;
28968
28968
select n, "after rollback" from t1;
28981
28981
n       after commit
28982
28982
4       after commit
28983
28983
5       after commit
28984
 
set autocommit=1;
 
28984
set @@autocommit = 1;
28985
28985
insert into t1 values (6);
28986
28986
insert into t1 values (4);
28987
28987
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
28990
28990
4
28991
28991
5
28992
28992
6
28993
 
set autocommit=0;
 
28993
set @@autocommit = 0;
28994
28994
DROP TABLE t1;
28995
28995
94;
28996
 
create table t1 (n int not null primary key) ;
28997
 
set autocommit=0;
 
28996
create table t1 (n int not null primary key);
 
28997
set @@autocommit = 0;
28998
28998
insert into t1 values (4);
28999
28999
rollback;
29000
29000
select n, "after rollback" from t1;
29013
29013
n       after commit
29014
29014
4       after commit
29015
29015
5       after commit
29016
 
set autocommit=1;
 
29016
set @@autocommit = 1;
29017
29017
insert into t1 values (6);
29018
29018
insert into t1 values (4);
29019
29019
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29022
29022
4
29023
29023
5
29024
29024
6
29025
 
set autocommit=0;
 
29025
set @@autocommit = 0;
29026
29026
DROP TABLE t1;
29027
29027
93;
29028
 
create table t1 (n int not null primary key) ;
29029
 
set autocommit=0;
 
29028
create table t1 (n int not null primary key);
 
29029
set @@autocommit = 0;
29030
29030
insert into t1 values (4);
29031
29031
rollback;
29032
29032
select n, "after rollback" from t1;
29045
29045
n       after commit
29046
29046
4       after commit
29047
29047
5       after commit
29048
 
set autocommit=1;
 
29048
set @@autocommit = 1;
29049
29049
insert into t1 values (6);
29050
29050
insert into t1 values (4);
29051
29051
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29054
29054
4
29055
29055
5
29056
29056
6
29057
 
set autocommit=0;
 
29057
set @@autocommit = 0;
29058
29058
DROP TABLE t1;
29059
29059
92;
29060
 
create table t1 (n int not null primary key) ;
29061
 
set autocommit=0;
 
29060
create table t1 (n int not null primary key);
 
29061
set @@autocommit = 0;
29062
29062
insert into t1 values (4);
29063
29063
rollback;
29064
29064
select n, "after rollback" from t1;
29077
29077
n       after commit
29078
29078
4       after commit
29079
29079
5       after commit
29080
 
set autocommit=1;
 
29080
set @@autocommit = 1;
29081
29081
insert into t1 values (6);
29082
29082
insert into t1 values (4);
29083
29083
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29086
29086
4
29087
29087
5
29088
29088
6
29089
 
set autocommit=0;
 
29089
set @@autocommit = 0;
29090
29090
DROP TABLE t1;
29091
29091
91;
29092
 
create table t1 (n int not null primary key) ;
29093
 
set autocommit=0;
 
29092
create table t1 (n int not null primary key);
 
29093
set @@autocommit = 0;
29094
29094
insert into t1 values (4);
29095
29095
rollback;
29096
29096
select n, "after rollback" from t1;
29109
29109
n       after commit
29110
29110
4       after commit
29111
29111
5       after commit
29112
 
set autocommit=1;
 
29112
set @@autocommit = 1;
29113
29113
insert into t1 values (6);
29114
29114
insert into t1 values (4);
29115
29115
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29118
29118
4
29119
29119
5
29120
29120
6
29121
 
set autocommit=0;
 
29121
set @@autocommit = 0;
29122
29122
DROP TABLE t1;
29123
29123
90;
29124
 
create table t1 (n int not null primary key) ;
29125
 
set autocommit=0;
 
29124
create table t1 (n int not null primary key);
 
29125
set @@autocommit = 0;
29126
29126
insert into t1 values (4);
29127
29127
rollback;
29128
29128
select n, "after rollback" from t1;
29141
29141
n       after commit
29142
29142
4       after commit
29143
29143
5       after commit
29144
 
set autocommit=1;
 
29144
set @@autocommit = 1;
29145
29145
insert into t1 values (6);
29146
29146
insert into t1 values (4);
29147
29147
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29150
29150
4
29151
29151
5
29152
29152
6
29153
 
set autocommit=0;
 
29153
set @@autocommit = 0;
29154
29154
DROP TABLE t1;
29155
29155
89;
29156
 
create table t1 (n int not null primary key) ;
29157
 
set autocommit=0;
 
29156
create table t1 (n int not null primary key);
 
29157
set @@autocommit = 0;
29158
29158
insert into t1 values (4);
29159
29159
rollback;
29160
29160
select n, "after rollback" from t1;
29173
29173
n       after commit
29174
29174
4       after commit
29175
29175
5       after commit
29176
 
set autocommit=1;
 
29176
set @@autocommit = 1;
29177
29177
insert into t1 values (6);
29178
29178
insert into t1 values (4);
29179
29179
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29182
29182
4
29183
29183
5
29184
29184
6
29185
 
set autocommit=0;
 
29185
set @@autocommit = 0;
29186
29186
DROP TABLE t1;
29187
29187
88;
29188
 
create table t1 (n int not null primary key) ;
29189
 
set autocommit=0;
 
29188
create table t1 (n int not null primary key);
 
29189
set @@autocommit = 0;
29190
29190
insert into t1 values (4);
29191
29191
rollback;
29192
29192
select n, "after rollback" from t1;
29205
29205
n       after commit
29206
29206
4       after commit
29207
29207
5       after commit
29208
 
set autocommit=1;
 
29208
set @@autocommit = 1;
29209
29209
insert into t1 values (6);
29210
29210
insert into t1 values (4);
29211
29211
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29214
29214
4
29215
29215
5
29216
29216
6
29217
 
set autocommit=0;
 
29217
set @@autocommit = 0;
29218
29218
DROP TABLE t1;
29219
29219
87;
29220
 
create table t1 (n int not null primary key) ;
29221
 
set autocommit=0;
 
29220
create table t1 (n int not null primary key);
 
29221
set @@autocommit = 0;
29222
29222
insert into t1 values (4);
29223
29223
rollback;
29224
29224
select n, "after rollback" from t1;
29237
29237
n       after commit
29238
29238
4       after commit
29239
29239
5       after commit
29240
 
set autocommit=1;
 
29240
set @@autocommit = 1;
29241
29241
insert into t1 values (6);
29242
29242
insert into t1 values (4);
29243
29243
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29246
29246
4
29247
29247
5
29248
29248
6
29249
 
set autocommit=0;
 
29249
set @@autocommit = 0;
29250
29250
DROP TABLE t1;
29251
29251
86;
29252
 
create table t1 (n int not null primary key) ;
29253
 
set autocommit=0;
 
29252
create table t1 (n int not null primary key);
 
29253
set @@autocommit = 0;
29254
29254
insert into t1 values (4);
29255
29255
rollback;
29256
29256
select n, "after rollback" from t1;
29269
29269
n       after commit
29270
29270
4       after commit
29271
29271
5       after commit
29272
 
set autocommit=1;
 
29272
set @@autocommit = 1;
29273
29273
insert into t1 values (6);
29274
29274
insert into t1 values (4);
29275
29275
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29278
29278
4
29279
29279
5
29280
29280
6
29281
 
set autocommit=0;
 
29281
set @@autocommit = 0;
29282
29282
DROP TABLE t1;
29283
29283
85;
29284
 
create table t1 (n int not null primary key) ;
29285
 
set autocommit=0;
 
29284
create table t1 (n int not null primary key);
 
29285
set @@autocommit = 0;
29286
29286
insert into t1 values (4);
29287
29287
rollback;
29288
29288
select n, "after rollback" from t1;
29301
29301
n       after commit
29302
29302
4       after commit
29303
29303
5       after commit
29304
 
set autocommit=1;
 
29304
set @@autocommit = 1;
29305
29305
insert into t1 values (6);
29306
29306
insert into t1 values (4);
29307
29307
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29310
29310
4
29311
29311
5
29312
29312
6
29313
 
set autocommit=0;
 
29313
set @@autocommit = 0;
29314
29314
DROP TABLE t1;
29315
29315
84;
29316
 
create table t1 (n int not null primary key) ;
29317
 
set autocommit=0;
 
29316
create table t1 (n int not null primary key);
 
29317
set @@autocommit = 0;
29318
29318
insert into t1 values (4);
29319
29319
rollback;
29320
29320
select n, "after rollback" from t1;
29333
29333
n       after commit
29334
29334
4       after commit
29335
29335
5       after commit
29336
 
set autocommit=1;
 
29336
set @@autocommit = 1;
29337
29337
insert into t1 values (6);
29338
29338
insert into t1 values (4);
29339
29339
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29342
29342
4
29343
29343
5
29344
29344
6
29345
 
set autocommit=0;
 
29345
set @@autocommit = 0;
29346
29346
DROP TABLE t1;
29347
29347
83;
29348
 
create table t1 (n int not null primary key) ;
29349
 
set autocommit=0;
 
29348
create table t1 (n int not null primary key);
 
29349
set @@autocommit = 0;
29350
29350
insert into t1 values (4);
29351
29351
rollback;
29352
29352
select n, "after rollback" from t1;
29365
29365
n       after commit
29366
29366
4       after commit
29367
29367
5       after commit
29368
 
set autocommit=1;
 
29368
set @@autocommit = 1;
29369
29369
insert into t1 values (6);
29370
29370
insert into t1 values (4);
29371
29371
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29374
29374
4
29375
29375
5
29376
29376
6
29377
 
set autocommit=0;
 
29377
set @@autocommit = 0;
29378
29378
DROP TABLE t1;
29379
29379
82;
29380
 
create table t1 (n int not null primary key) ;
29381
 
set autocommit=0;
 
29380
create table t1 (n int not null primary key);
 
29381
set @@autocommit = 0;
29382
29382
insert into t1 values (4);
29383
29383
rollback;
29384
29384
select n, "after rollback" from t1;
29397
29397
n       after commit
29398
29398
4       after commit
29399
29399
5       after commit
29400
 
set autocommit=1;
 
29400
set @@autocommit = 1;
29401
29401
insert into t1 values (6);
29402
29402
insert into t1 values (4);
29403
29403
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29406
29406
4
29407
29407
5
29408
29408
6
29409
 
set autocommit=0;
 
29409
set @@autocommit = 0;
29410
29410
DROP TABLE t1;
29411
29411
81;
29412
 
create table t1 (n int not null primary key) ;
29413
 
set autocommit=0;
 
29412
create table t1 (n int not null primary key);
 
29413
set @@autocommit = 0;
29414
29414
insert into t1 values (4);
29415
29415
rollback;
29416
29416
select n, "after rollback" from t1;
29429
29429
n       after commit
29430
29430
4       after commit
29431
29431
5       after commit
29432
 
set autocommit=1;
 
29432
set @@autocommit = 1;
29433
29433
insert into t1 values (6);
29434
29434
insert into t1 values (4);
29435
29435
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29438
29438
4
29439
29439
5
29440
29440
6
29441
 
set autocommit=0;
 
29441
set @@autocommit = 0;
29442
29442
DROP TABLE t1;
29443
29443
80;
29444
 
create table t1 (n int not null primary key) ;
29445
 
set autocommit=0;
 
29444
create table t1 (n int not null primary key);
 
29445
set @@autocommit = 0;
29446
29446
insert into t1 values (4);
29447
29447
rollback;
29448
29448
select n, "after rollback" from t1;
29461
29461
n       after commit
29462
29462
4       after commit
29463
29463
5       after commit
29464
 
set autocommit=1;
 
29464
set @@autocommit = 1;
29465
29465
insert into t1 values (6);
29466
29466
insert into t1 values (4);
29467
29467
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29470
29470
4
29471
29471
5
29472
29472
6
29473
 
set autocommit=0;
 
29473
set @@autocommit = 0;
29474
29474
DROP TABLE t1;
29475
29475
79;
29476
 
create table t1 (n int not null primary key) ;
29477
 
set autocommit=0;
 
29476
create table t1 (n int not null primary key);
 
29477
set @@autocommit = 0;
29478
29478
insert into t1 values (4);
29479
29479
rollback;
29480
29480
select n, "after rollback" from t1;
29493
29493
n       after commit
29494
29494
4       after commit
29495
29495
5       after commit
29496
 
set autocommit=1;
 
29496
set @@autocommit = 1;
29497
29497
insert into t1 values (6);
29498
29498
insert into t1 values (4);
29499
29499
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29502
29502
4
29503
29503
5
29504
29504
6
29505
 
set autocommit=0;
 
29505
set @@autocommit = 0;
29506
29506
DROP TABLE t1;
29507
29507
78;
29508
 
create table t1 (n int not null primary key) ;
29509
 
set autocommit=0;
 
29508
create table t1 (n int not null primary key);
 
29509
set @@autocommit = 0;
29510
29510
insert into t1 values (4);
29511
29511
rollback;
29512
29512
select n, "after rollback" from t1;
29525
29525
n       after commit
29526
29526
4       after commit
29527
29527
5       after commit
29528
 
set autocommit=1;
 
29528
set @@autocommit = 1;
29529
29529
insert into t1 values (6);
29530
29530
insert into t1 values (4);
29531
29531
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29534
29534
4
29535
29535
5
29536
29536
6
29537
 
set autocommit=0;
 
29537
set @@autocommit = 0;
29538
29538
DROP TABLE t1;
29539
29539
77;
29540
 
create table t1 (n int not null primary key) ;
29541
 
set autocommit=0;
 
29540
create table t1 (n int not null primary key);
 
29541
set @@autocommit = 0;
29542
29542
insert into t1 values (4);
29543
29543
rollback;
29544
29544
select n, "after rollback" from t1;
29557
29557
n       after commit
29558
29558
4       after commit
29559
29559
5       after commit
29560
 
set autocommit=1;
 
29560
set @@autocommit = 1;
29561
29561
insert into t1 values (6);
29562
29562
insert into t1 values (4);
29563
29563
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29566
29566
4
29567
29567
5
29568
29568
6
29569
 
set autocommit=0;
 
29569
set @@autocommit = 0;
29570
29570
DROP TABLE t1;
29571
29571
76;
29572
 
create table t1 (n int not null primary key) ;
29573
 
set autocommit=0;
 
29572
create table t1 (n int not null primary key);
 
29573
set @@autocommit = 0;
29574
29574
insert into t1 values (4);
29575
29575
rollback;
29576
29576
select n, "after rollback" from t1;
29589
29589
n       after commit
29590
29590
4       after commit
29591
29591
5       after commit
29592
 
set autocommit=1;
 
29592
set @@autocommit = 1;
29593
29593
insert into t1 values (6);
29594
29594
insert into t1 values (4);
29595
29595
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29598
29598
4
29599
29599
5
29600
29600
6
29601
 
set autocommit=0;
 
29601
set @@autocommit = 0;
29602
29602
DROP TABLE t1;
29603
29603
75;
29604
 
create table t1 (n int not null primary key) ;
29605
 
set autocommit=0;
 
29604
create table t1 (n int not null primary key);
 
29605
set @@autocommit = 0;
29606
29606
insert into t1 values (4);
29607
29607
rollback;
29608
29608
select n, "after rollback" from t1;
29621
29621
n       after commit
29622
29622
4       after commit
29623
29623
5       after commit
29624
 
set autocommit=1;
 
29624
set @@autocommit = 1;
29625
29625
insert into t1 values (6);
29626
29626
insert into t1 values (4);
29627
29627
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29630
29630
4
29631
29631
5
29632
29632
6
29633
 
set autocommit=0;
 
29633
set @@autocommit = 0;
29634
29634
DROP TABLE t1;
29635
29635
74;
29636
 
create table t1 (n int not null primary key) ;
29637
 
set autocommit=0;
 
29636
create table t1 (n int not null primary key);
 
29637
set @@autocommit = 0;
29638
29638
insert into t1 values (4);
29639
29639
rollback;
29640
29640
select n, "after rollback" from t1;
29653
29653
n       after commit
29654
29654
4       after commit
29655
29655
5       after commit
29656
 
set autocommit=1;
 
29656
set @@autocommit = 1;
29657
29657
insert into t1 values (6);
29658
29658
insert into t1 values (4);
29659
29659
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29662
29662
4
29663
29663
5
29664
29664
6
29665
 
set autocommit=0;
 
29665
set @@autocommit = 0;
29666
29666
DROP TABLE t1;
29667
29667
73;
29668
 
create table t1 (n int not null primary key) ;
29669
 
set autocommit=0;
 
29668
create table t1 (n int not null primary key);
 
29669
set @@autocommit = 0;
29670
29670
insert into t1 values (4);
29671
29671
rollback;
29672
29672
select n, "after rollback" from t1;
29685
29685
n       after commit
29686
29686
4       after commit
29687
29687
5       after commit
29688
 
set autocommit=1;
 
29688
set @@autocommit = 1;
29689
29689
insert into t1 values (6);
29690
29690
insert into t1 values (4);
29691
29691
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29694
29694
4
29695
29695
5
29696
29696
6
29697
 
set autocommit=0;
 
29697
set @@autocommit = 0;
29698
29698
DROP TABLE t1;
29699
29699
72;
29700
 
create table t1 (n int not null primary key) ;
29701
 
set autocommit=0;
 
29700
create table t1 (n int not null primary key);
 
29701
set @@autocommit = 0;
29702
29702
insert into t1 values (4);
29703
29703
rollback;
29704
29704
select n, "after rollback" from t1;
29717
29717
n       after commit
29718
29718
4       after commit
29719
29719
5       after commit
29720
 
set autocommit=1;
 
29720
set @@autocommit = 1;
29721
29721
insert into t1 values (6);
29722
29722
insert into t1 values (4);
29723
29723
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29726
29726
4
29727
29727
5
29728
29728
6
29729
 
set autocommit=0;
 
29729
set @@autocommit = 0;
29730
29730
DROP TABLE t1;
29731
29731
71;
29732
 
create table t1 (n int not null primary key) ;
29733
 
set autocommit=0;
 
29732
create table t1 (n int not null primary key);
 
29733
set @@autocommit = 0;
29734
29734
insert into t1 values (4);
29735
29735
rollback;
29736
29736
select n, "after rollback" from t1;
29749
29749
n       after commit
29750
29750
4       after commit
29751
29751
5       after commit
29752
 
set autocommit=1;
 
29752
set @@autocommit = 1;
29753
29753
insert into t1 values (6);
29754
29754
insert into t1 values (4);
29755
29755
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29758
29758
4
29759
29759
5
29760
29760
6
29761
 
set autocommit=0;
 
29761
set @@autocommit = 0;
29762
29762
DROP TABLE t1;
29763
29763
70;
29764
 
create table t1 (n int not null primary key) ;
29765
 
set autocommit=0;
 
29764
create table t1 (n int not null primary key);
 
29765
set @@autocommit = 0;
29766
29766
insert into t1 values (4);
29767
29767
rollback;
29768
29768
select n, "after rollback" from t1;
29781
29781
n       after commit
29782
29782
4       after commit
29783
29783
5       after commit
29784
 
set autocommit=1;
 
29784
set @@autocommit = 1;
29785
29785
insert into t1 values (6);
29786
29786
insert into t1 values (4);
29787
29787
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29790
29790
4
29791
29791
5
29792
29792
6
29793
 
set autocommit=0;
 
29793
set @@autocommit = 0;
29794
29794
DROP TABLE t1;
29795
29795
69;
29796
 
create table t1 (n int not null primary key) ;
29797
 
set autocommit=0;
 
29796
create table t1 (n int not null primary key);
 
29797
set @@autocommit = 0;
29798
29798
insert into t1 values (4);
29799
29799
rollback;
29800
29800
select n, "after rollback" from t1;
29813
29813
n       after commit
29814
29814
4       after commit
29815
29815
5       after commit
29816
 
set autocommit=1;
 
29816
set @@autocommit = 1;
29817
29817
insert into t1 values (6);
29818
29818
insert into t1 values (4);
29819
29819
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29822
29822
4
29823
29823
5
29824
29824
6
29825
 
set autocommit=0;
 
29825
set @@autocommit = 0;
29826
29826
DROP TABLE t1;
29827
29827
68;
29828
 
create table t1 (n int not null primary key) ;
29829
 
set autocommit=0;
 
29828
create table t1 (n int not null primary key);
 
29829
set @@autocommit = 0;
29830
29830
insert into t1 values (4);
29831
29831
rollback;
29832
29832
select n, "after rollback" from t1;
29845
29845
n       after commit
29846
29846
4       after commit
29847
29847
5       after commit
29848
 
set autocommit=1;
 
29848
set @@autocommit = 1;
29849
29849
insert into t1 values (6);
29850
29850
insert into t1 values (4);
29851
29851
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29854
29854
4
29855
29855
5
29856
29856
6
29857
 
set autocommit=0;
 
29857
set @@autocommit = 0;
29858
29858
DROP TABLE t1;
29859
29859
67;
29860
 
create table t1 (n int not null primary key) ;
29861
 
set autocommit=0;
 
29860
create table t1 (n int not null primary key);
 
29861
set @@autocommit = 0;
29862
29862
insert into t1 values (4);
29863
29863
rollback;
29864
29864
select n, "after rollback" from t1;
29877
29877
n       after commit
29878
29878
4       after commit
29879
29879
5       after commit
29880
 
set autocommit=1;
 
29880
set @@autocommit = 1;
29881
29881
insert into t1 values (6);
29882
29882
insert into t1 values (4);
29883
29883
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29886
29886
4
29887
29887
5
29888
29888
6
29889
 
set autocommit=0;
 
29889
set @@autocommit = 0;
29890
29890
DROP TABLE t1;
29891
29891
66;
29892
 
create table t1 (n int not null primary key) ;
29893
 
set autocommit=0;
 
29892
create table t1 (n int not null primary key);
 
29893
set @@autocommit = 0;
29894
29894
insert into t1 values (4);
29895
29895
rollback;
29896
29896
select n, "after rollback" from t1;
29909
29909
n       after commit
29910
29910
4       after commit
29911
29911
5       after commit
29912
 
set autocommit=1;
 
29912
set @@autocommit = 1;
29913
29913
insert into t1 values (6);
29914
29914
insert into t1 values (4);
29915
29915
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29918
29918
4
29919
29919
5
29920
29920
6
29921
 
set autocommit=0;
 
29921
set @@autocommit = 0;
29922
29922
DROP TABLE t1;
29923
29923
65;
29924
 
create table t1 (n int not null primary key) ;
29925
 
set autocommit=0;
 
29924
create table t1 (n int not null primary key);
 
29925
set @@autocommit = 0;
29926
29926
insert into t1 values (4);
29927
29927
rollback;
29928
29928
select n, "after rollback" from t1;
29941
29941
n       after commit
29942
29942
4       after commit
29943
29943
5       after commit
29944
 
set autocommit=1;
 
29944
set @@autocommit = 1;
29945
29945
insert into t1 values (6);
29946
29946
insert into t1 values (4);
29947
29947
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29950
29950
4
29951
29951
5
29952
29952
6
29953
 
set autocommit=0;
 
29953
set @@autocommit = 0;
29954
29954
DROP TABLE t1;
29955
29955
64;
29956
 
create table t1 (n int not null primary key) ;
29957
 
set autocommit=0;
 
29956
create table t1 (n int not null primary key);
 
29957
set @@autocommit = 0;
29958
29958
insert into t1 values (4);
29959
29959
rollback;
29960
29960
select n, "after rollback" from t1;
29973
29973
n       after commit
29974
29974
4       after commit
29975
29975
5       after commit
29976
 
set autocommit=1;
 
29976
set @@autocommit = 1;
29977
29977
insert into t1 values (6);
29978
29978
insert into t1 values (4);
29979
29979
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
29982
29982
4
29983
29983
5
29984
29984
6
29985
 
set autocommit=0;
 
29985
set @@autocommit = 0;
29986
29986
DROP TABLE t1;
29987
29987
63;
29988
 
create table t1 (n int not null primary key) ;
29989
 
set autocommit=0;
 
29988
create table t1 (n int not null primary key);
 
29989
set @@autocommit = 0;
29990
29990
insert into t1 values (4);
29991
29991
rollback;
29992
29992
select n, "after rollback" from t1;
30005
30005
n       after commit
30006
30006
4       after commit
30007
30007
5       after commit
30008
 
set autocommit=1;
 
30008
set @@autocommit = 1;
30009
30009
insert into t1 values (6);
30010
30010
insert into t1 values (4);
30011
30011
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30014
30014
4
30015
30015
5
30016
30016
6
30017
 
set autocommit=0;
 
30017
set @@autocommit = 0;
30018
30018
DROP TABLE t1;
30019
30019
62;
30020
 
create table t1 (n int not null primary key) ;
30021
 
set autocommit=0;
 
30020
create table t1 (n int not null primary key);
 
30021
set @@autocommit = 0;
30022
30022
insert into t1 values (4);
30023
30023
rollback;
30024
30024
select n, "after rollback" from t1;
30037
30037
n       after commit
30038
30038
4       after commit
30039
30039
5       after commit
30040
 
set autocommit=1;
 
30040
set @@autocommit = 1;
30041
30041
insert into t1 values (6);
30042
30042
insert into t1 values (4);
30043
30043
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30046
30046
4
30047
30047
5
30048
30048
6
30049
 
set autocommit=0;
 
30049
set @@autocommit = 0;
30050
30050
DROP TABLE t1;
30051
30051
61;
30052
 
create table t1 (n int not null primary key) ;
30053
 
set autocommit=0;
 
30052
create table t1 (n int not null primary key);
 
30053
set @@autocommit = 0;
30054
30054
insert into t1 values (4);
30055
30055
rollback;
30056
30056
select n, "after rollback" from t1;
30069
30069
n       after commit
30070
30070
4       after commit
30071
30071
5       after commit
30072
 
set autocommit=1;
 
30072
set @@autocommit = 1;
30073
30073
insert into t1 values (6);
30074
30074
insert into t1 values (4);
30075
30075
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30078
30078
4
30079
30079
5
30080
30080
6
30081
 
set autocommit=0;
 
30081
set @@autocommit = 0;
30082
30082
DROP TABLE t1;
30083
30083
60;
30084
 
create table t1 (n int not null primary key) ;
30085
 
set autocommit=0;
 
30084
create table t1 (n int not null primary key);
 
30085
set @@autocommit = 0;
30086
30086
insert into t1 values (4);
30087
30087
rollback;
30088
30088
select n, "after rollback" from t1;
30101
30101
n       after commit
30102
30102
4       after commit
30103
30103
5       after commit
30104
 
set autocommit=1;
 
30104
set @@autocommit = 1;
30105
30105
insert into t1 values (6);
30106
30106
insert into t1 values (4);
30107
30107
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30110
30110
4
30111
30111
5
30112
30112
6
30113
 
set autocommit=0;
 
30113
set @@autocommit = 0;
30114
30114
DROP TABLE t1;
30115
30115
59;
30116
 
create table t1 (n int not null primary key) ;
30117
 
set autocommit=0;
 
30116
create table t1 (n int not null primary key);
 
30117
set @@autocommit = 0;
30118
30118
insert into t1 values (4);
30119
30119
rollback;
30120
30120
select n, "after rollback" from t1;
30133
30133
n       after commit
30134
30134
4       after commit
30135
30135
5       after commit
30136
 
set autocommit=1;
 
30136
set @@autocommit = 1;
30137
30137
insert into t1 values (6);
30138
30138
insert into t1 values (4);
30139
30139
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30142
30142
4
30143
30143
5
30144
30144
6
30145
 
set autocommit=0;
 
30145
set @@autocommit = 0;
30146
30146
DROP TABLE t1;
30147
30147
58;
30148
 
create table t1 (n int not null primary key) ;
30149
 
set autocommit=0;
 
30148
create table t1 (n int not null primary key);
 
30149
set @@autocommit = 0;
30150
30150
insert into t1 values (4);
30151
30151
rollback;
30152
30152
select n, "after rollback" from t1;
30165
30165
n       after commit
30166
30166
4       after commit
30167
30167
5       after commit
30168
 
set autocommit=1;
 
30168
set @@autocommit = 1;
30169
30169
insert into t1 values (6);
30170
30170
insert into t1 values (4);
30171
30171
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30174
30174
4
30175
30175
5
30176
30176
6
30177
 
set autocommit=0;
 
30177
set @@autocommit = 0;
30178
30178
DROP TABLE t1;
30179
30179
57;
30180
 
create table t1 (n int not null primary key) ;
30181
 
set autocommit=0;
 
30180
create table t1 (n int not null primary key);
 
30181
set @@autocommit = 0;
30182
30182
insert into t1 values (4);
30183
30183
rollback;
30184
30184
select n, "after rollback" from t1;
30197
30197
n       after commit
30198
30198
4       after commit
30199
30199
5       after commit
30200
 
set autocommit=1;
 
30200
set @@autocommit = 1;
30201
30201
insert into t1 values (6);
30202
30202
insert into t1 values (4);
30203
30203
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30206
30206
4
30207
30207
5
30208
30208
6
30209
 
set autocommit=0;
 
30209
set @@autocommit = 0;
30210
30210
DROP TABLE t1;
30211
30211
56;
30212
 
create table t1 (n int not null primary key) ;
30213
 
set autocommit=0;
 
30212
create table t1 (n int not null primary key);
 
30213
set @@autocommit = 0;
30214
30214
insert into t1 values (4);
30215
30215
rollback;
30216
30216
select n, "after rollback" from t1;
30229
30229
n       after commit
30230
30230
4       after commit
30231
30231
5       after commit
30232
 
set autocommit=1;
 
30232
set @@autocommit = 1;
30233
30233
insert into t1 values (6);
30234
30234
insert into t1 values (4);
30235
30235
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30238
30238
4
30239
30239
5
30240
30240
6
30241
 
set autocommit=0;
 
30241
set @@autocommit = 0;
30242
30242
DROP TABLE t1;
30243
30243
55;
30244
 
create table t1 (n int not null primary key) ;
30245
 
set autocommit=0;
 
30244
create table t1 (n int not null primary key);
 
30245
set @@autocommit = 0;
30246
30246
insert into t1 values (4);
30247
30247
rollback;
30248
30248
select n, "after rollback" from t1;
30261
30261
n       after commit
30262
30262
4       after commit
30263
30263
5       after commit
30264
 
set autocommit=1;
 
30264
set @@autocommit = 1;
30265
30265
insert into t1 values (6);
30266
30266
insert into t1 values (4);
30267
30267
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30270
30270
4
30271
30271
5
30272
30272
6
30273
 
set autocommit=0;
 
30273
set @@autocommit = 0;
30274
30274
DROP TABLE t1;
30275
30275
54;
30276
 
create table t1 (n int not null primary key) ;
30277
 
set autocommit=0;
 
30276
create table t1 (n int not null primary key);
 
30277
set @@autocommit = 0;
30278
30278
insert into t1 values (4);
30279
30279
rollback;
30280
30280
select n, "after rollback" from t1;
30293
30293
n       after commit
30294
30294
4       after commit
30295
30295
5       after commit
30296
 
set autocommit=1;
 
30296
set @@autocommit = 1;
30297
30297
insert into t1 values (6);
30298
30298
insert into t1 values (4);
30299
30299
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30302
30302
4
30303
30303
5
30304
30304
6
30305
 
set autocommit=0;
 
30305
set @@autocommit = 0;
30306
30306
DROP TABLE t1;
30307
30307
53;
30308
 
create table t1 (n int not null primary key) ;
30309
 
set autocommit=0;
 
30308
create table t1 (n int not null primary key);
 
30309
set @@autocommit = 0;
30310
30310
insert into t1 values (4);
30311
30311
rollback;
30312
30312
select n, "after rollback" from t1;
30325
30325
n       after commit
30326
30326
4       after commit
30327
30327
5       after commit
30328
 
set autocommit=1;
 
30328
set @@autocommit = 1;
30329
30329
insert into t1 values (6);
30330
30330
insert into t1 values (4);
30331
30331
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30334
30334
4
30335
30335
5
30336
30336
6
30337
 
set autocommit=0;
 
30337
set @@autocommit = 0;
30338
30338
DROP TABLE t1;
30339
30339
52;
30340
 
create table t1 (n int not null primary key) ;
30341
 
set autocommit=0;
 
30340
create table t1 (n int not null primary key);
 
30341
set @@autocommit = 0;
30342
30342
insert into t1 values (4);
30343
30343
rollback;
30344
30344
select n, "after rollback" from t1;
30357
30357
n       after commit
30358
30358
4       after commit
30359
30359
5       after commit
30360
 
set autocommit=1;
 
30360
set @@autocommit = 1;
30361
30361
insert into t1 values (6);
30362
30362
insert into t1 values (4);
30363
30363
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30366
30366
4
30367
30367
5
30368
30368
6
30369
 
set autocommit=0;
 
30369
set @@autocommit = 0;
30370
30370
DROP TABLE t1;
30371
30371
51;
30372
 
create table t1 (n int not null primary key) ;
30373
 
set autocommit=0;
 
30372
create table t1 (n int not null primary key);
 
30373
set @@autocommit = 0;
30374
30374
insert into t1 values (4);
30375
30375
rollback;
30376
30376
select n, "after rollback" from t1;
30389
30389
n       after commit
30390
30390
4       after commit
30391
30391
5       after commit
30392
 
set autocommit=1;
 
30392
set @@autocommit = 1;
30393
30393
insert into t1 values (6);
30394
30394
insert into t1 values (4);
30395
30395
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30398
30398
4
30399
30399
5
30400
30400
6
30401
 
set autocommit=0;
 
30401
set @@autocommit = 0;
30402
30402
DROP TABLE t1;
30403
30403
50;
30404
 
create table t1 (n int not null primary key) ;
30405
 
set autocommit=0;
 
30404
create table t1 (n int not null primary key);
 
30405
set @@autocommit = 0;
30406
30406
insert into t1 values (4);
30407
30407
rollback;
30408
30408
select n, "after rollback" from t1;
30421
30421
n       after commit
30422
30422
4       after commit
30423
30423
5       after commit
30424
 
set autocommit=1;
 
30424
set @@autocommit = 1;
30425
30425
insert into t1 values (6);
30426
30426
insert into t1 values (4);
30427
30427
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30430
30430
4
30431
30431
5
30432
30432
6
30433
 
set autocommit=0;
 
30433
set @@autocommit = 0;
30434
30434
DROP TABLE t1;
30435
30435
49;
30436
 
create table t1 (n int not null primary key) ;
30437
 
set autocommit=0;
 
30436
create table t1 (n int not null primary key);
 
30437
set @@autocommit = 0;
30438
30438
insert into t1 values (4);
30439
30439
rollback;
30440
30440
select n, "after rollback" from t1;
30453
30453
n       after commit
30454
30454
4       after commit
30455
30455
5       after commit
30456
 
set autocommit=1;
 
30456
set @@autocommit = 1;
30457
30457
insert into t1 values (6);
30458
30458
insert into t1 values (4);
30459
30459
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30462
30462
4
30463
30463
5
30464
30464
6
30465
 
set autocommit=0;
 
30465
set @@autocommit = 0;
30466
30466
DROP TABLE t1;
30467
30467
48;
30468
 
create table t1 (n int not null primary key) ;
30469
 
set autocommit=0;
 
30468
create table t1 (n int not null primary key);
 
30469
set @@autocommit = 0;
30470
30470
insert into t1 values (4);
30471
30471
rollback;
30472
30472
select n, "after rollback" from t1;
30485
30485
n       after commit
30486
30486
4       after commit
30487
30487
5       after commit
30488
 
set autocommit=1;
 
30488
set @@autocommit = 1;
30489
30489
insert into t1 values (6);
30490
30490
insert into t1 values (4);
30491
30491
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30494
30494
4
30495
30495
5
30496
30496
6
30497
 
set autocommit=0;
 
30497
set @@autocommit = 0;
30498
30498
DROP TABLE t1;
30499
30499
47;
30500
 
create table t1 (n int not null primary key) ;
30501
 
set autocommit=0;
 
30500
create table t1 (n int not null primary key);
 
30501
set @@autocommit = 0;
30502
30502
insert into t1 values (4);
30503
30503
rollback;
30504
30504
select n, "after rollback" from t1;
30517
30517
n       after commit
30518
30518
4       after commit
30519
30519
5       after commit
30520
 
set autocommit=1;
 
30520
set @@autocommit = 1;
30521
30521
insert into t1 values (6);
30522
30522
insert into t1 values (4);
30523
30523
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30526
30526
4
30527
30527
5
30528
30528
6
30529
 
set autocommit=0;
 
30529
set @@autocommit = 0;
30530
30530
DROP TABLE t1;
30531
30531
46;
30532
 
create table t1 (n int not null primary key) ;
30533
 
set autocommit=0;
 
30532
create table t1 (n int not null primary key);
 
30533
set @@autocommit = 0;
30534
30534
insert into t1 values (4);
30535
30535
rollback;
30536
30536
select n, "after rollback" from t1;
30549
30549
n       after commit
30550
30550
4       after commit
30551
30551
5       after commit
30552
 
set autocommit=1;
 
30552
set @@autocommit = 1;
30553
30553
insert into t1 values (6);
30554
30554
insert into t1 values (4);
30555
30555
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30558
30558
4
30559
30559
5
30560
30560
6
30561
 
set autocommit=0;
 
30561
set @@autocommit = 0;
30562
30562
DROP TABLE t1;
30563
30563
45;
30564
 
create table t1 (n int not null primary key) ;
30565
 
set autocommit=0;
 
30564
create table t1 (n int not null primary key);
 
30565
set @@autocommit = 0;
30566
30566
insert into t1 values (4);
30567
30567
rollback;
30568
30568
select n, "after rollback" from t1;
30581
30581
n       after commit
30582
30582
4       after commit
30583
30583
5       after commit
30584
 
set autocommit=1;
 
30584
set @@autocommit = 1;
30585
30585
insert into t1 values (6);
30586
30586
insert into t1 values (4);
30587
30587
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30590
30590
4
30591
30591
5
30592
30592
6
30593
 
set autocommit=0;
 
30593
set @@autocommit = 0;
30594
30594
DROP TABLE t1;
30595
30595
44;
30596
 
create table t1 (n int not null primary key) ;
30597
 
set autocommit=0;
 
30596
create table t1 (n int not null primary key);
 
30597
set @@autocommit = 0;
30598
30598
insert into t1 values (4);
30599
30599
rollback;
30600
30600
select n, "after rollback" from t1;
30613
30613
n       after commit
30614
30614
4       after commit
30615
30615
5       after commit
30616
 
set autocommit=1;
 
30616
set @@autocommit = 1;
30617
30617
insert into t1 values (6);
30618
30618
insert into t1 values (4);
30619
30619
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30622
30622
4
30623
30623
5
30624
30624
6
30625
 
set autocommit=0;
 
30625
set @@autocommit = 0;
30626
30626
DROP TABLE t1;
30627
30627
43;
30628
 
create table t1 (n int not null primary key) ;
30629
 
set autocommit=0;
 
30628
create table t1 (n int not null primary key);
 
30629
set @@autocommit = 0;
30630
30630
insert into t1 values (4);
30631
30631
rollback;
30632
30632
select n, "after rollback" from t1;
30645
30645
n       after commit
30646
30646
4       after commit
30647
30647
5       after commit
30648
 
set autocommit=1;
 
30648
set @@autocommit = 1;
30649
30649
insert into t1 values (6);
30650
30650
insert into t1 values (4);
30651
30651
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30654
30654
4
30655
30655
5
30656
30656
6
30657
 
set autocommit=0;
 
30657
set @@autocommit = 0;
30658
30658
DROP TABLE t1;
30659
30659
42;
30660
 
create table t1 (n int not null primary key) ;
30661
 
set autocommit=0;
 
30660
create table t1 (n int not null primary key);
 
30661
set @@autocommit = 0;
30662
30662
insert into t1 values (4);
30663
30663
rollback;
30664
30664
select n, "after rollback" from t1;
30677
30677
n       after commit
30678
30678
4       after commit
30679
30679
5       after commit
30680
 
set autocommit=1;
 
30680
set @@autocommit = 1;
30681
30681
insert into t1 values (6);
30682
30682
insert into t1 values (4);
30683
30683
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30686
30686
4
30687
30687
5
30688
30688
6
30689
 
set autocommit=0;
 
30689
set @@autocommit = 0;
30690
30690
DROP TABLE t1;
30691
30691
41;
30692
 
create table t1 (n int not null primary key) ;
30693
 
set autocommit=0;
 
30692
create table t1 (n int not null primary key);
 
30693
set @@autocommit = 0;
30694
30694
insert into t1 values (4);
30695
30695
rollback;
30696
30696
select n, "after rollback" from t1;
30709
30709
n       after commit
30710
30710
4       after commit
30711
30711
5       after commit
30712
 
set autocommit=1;
 
30712
set @@autocommit = 1;
30713
30713
insert into t1 values (6);
30714
30714
insert into t1 values (4);
30715
30715
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30718
30718
4
30719
30719
5
30720
30720
6
30721
 
set autocommit=0;
 
30721
set @@autocommit = 0;
30722
30722
DROP TABLE t1;
30723
30723
40;
30724
 
create table t1 (n int not null primary key) ;
30725
 
set autocommit=0;
 
30724
create table t1 (n int not null primary key);
 
30725
set @@autocommit = 0;
30726
30726
insert into t1 values (4);
30727
30727
rollback;
30728
30728
select n, "after rollback" from t1;
30741
30741
n       after commit
30742
30742
4       after commit
30743
30743
5       after commit
30744
 
set autocommit=1;
 
30744
set @@autocommit = 1;
30745
30745
insert into t1 values (6);
30746
30746
insert into t1 values (4);
30747
30747
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30750
30750
4
30751
30751
5
30752
30752
6
30753
 
set autocommit=0;
 
30753
set @@autocommit = 0;
30754
30754
DROP TABLE t1;
30755
30755
39;
30756
 
create table t1 (n int not null primary key) ;
30757
 
set autocommit=0;
 
30756
create table t1 (n int not null primary key);
 
30757
set @@autocommit = 0;
30758
30758
insert into t1 values (4);
30759
30759
rollback;
30760
30760
select n, "after rollback" from t1;
30773
30773
n       after commit
30774
30774
4       after commit
30775
30775
5       after commit
30776
 
set autocommit=1;
 
30776
set @@autocommit = 1;
30777
30777
insert into t1 values (6);
30778
30778
insert into t1 values (4);
30779
30779
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30782
30782
4
30783
30783
5
30784
30784
6
30785
 
set autocommit=0;
 
30785
set @@autocommit = 0;
30786
30786
DROP TABLE t1;
30787
30787
38;
30788
 
create table t1 (n int not null primary key) ;
30789
 
set autocommit=0;
 
30788
create table t1 (n int not null primary key);
 
30789
set @@autocommit = 0;
30790
30790
insert into t1 values (4);
30791
30791
rollback;
30792
30792
select n, "after rollback" from t1;
30805
30805
n       after commit
30806
30806
4       after commit
30807
30807
5       after commit
30808
 
set autocommit=1;
 
30808
set @@autocommit = 1;
30809
30809
insert into t1 values (6);
30810
30810
insert into t1 values (4);
30811
30811
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30814
30814
4
30815
30815
5
30816
30816
6
30817
 
set autocommit=0;
 
30817
set @@autocommit = 0;
30818
30818
DROP TABLE t1;
30819
30819
37;
30820
 
create table t1 (n int not null primary key) ;
30821
 
set autocommit=0;
 
30820
create table t1 (n int not null primary key);
 
30821
set @@autocommit = 0;
30822
30822
insert into t1 values (4);
30823
30823
rollback;
30824
30824
select n, "after rollback" from t1;
30837
30837
n       after commit
30838
30838
4       after commit
30839
30839
5       after commit
30840
 
set autocommit=1;
 
30840
set @@autocommit = 1;
30841
30841
insert into t1 values (6);
30842
30842
insert into t1 values (4);
30843
30843
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30846
30846
4
30847
30847
5
30848
30848
6
30849
 
set autocommit=0;
 
30849
set @@autocommit = 0;
30850
30850
DROP TABLE t1;
30851
30851
36;
30852
 
create table t1 (n int not null primary key) ;
30853
 
set autocommit=0;
 
30852
create table t1 (n int not null primary key);
 
30853
set @@autocommit = 0;
30854
30854
insert into t1 values (4);
30855
30855
rollback;
30856
30856
select n, "after rollback" from t1;
30869
30869
n       after commit
30870
30870
4       after commit
30871
30871
5       after commit
30872
 
set autocommit=1;
 
30872
set @@autocommit = 1;
30873
30873
insert into t1 values (6);
30874
30874
insert into t1 values (4);
30875
30875
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30878
30878
4
30879
30879
5
30880
30880
6
30881
 
set autocommit=0;
 
30881
set @@autocommit = 0;
30882
30882
DROP TABLE t1;
30883
30883
35;
30884
 
create table t1 (n int not null primary key) ;
30885
 
set autocommit=0;
 
30884
create table t1 (n int not null primary key);
 
30885
set @@autocommit = 0;
30886
30886
insert into t1 values (4);
30887
30887
rollback;
30888
30888
select n, "after rollback" from t1;
30901
30901
n       after commit
30902
30902
4       after commit
30903
30903
5       after commit
30904
 
set autocommit=1;
 
30904
set @@autocommit = 1;
30905
30905
insert into t1 values (6);
30906
30906
insert into t1 values (4);
30907
30907
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30910
30910
4
30911
30911
5
30912
30912
6
30913
 
set autocommit=0;
 
30913
set @@autocommit = 0;
30914
30914
DROP TABLE t1;
30915
30915
34;
30916
 
create table t1 (n int not null primary key) ;
30917
 
set autocommit=0;
 
30916
create table t1 (n int not null primary key);
 
30917
set @@autocommit = 0;
30918
30918
insert into t1 values (4);
30919
30919
rollback;
30920
30920
select n, "after rollback" from t1;
30933
30933
n       after commit
30934
30934
4       after commit
30935
30935
5       after commit
30936
 
set autocommit=1;
 
30936
set @@autocommit = 1;
30937
30937
insert into t1 values (6);
30938
30938
insert into t1 values (4);
30939
30939
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30942
30942
4
30943
30943
5
30944
30944
6
30945
 
set autocommit=0;
 
30945
set @@autocommit = 0;
30946
30946
DROP TABLE t1;
30947
30947
33;
30948
 
create table t1 (n int not null primary key) ;
30949
 
set autocommit=0;
 
30948
create table t1 (n int not null primary key);
 
30949
set @@autocommit = 0;
30950
30950
insert into t1 values (4);
30951
30951
rollback;
30952
30952
select n, "after rollback" from t1;
30965
30965
n       after commit
30966
30966
4       after commit
30967
30967
5       after commit
30968
 
set autocommit=1;
 
30968
set @@autocommit = 1;
30969
30969
insert into t1 values (6);
30970
30970
insert into t1 values (4);
30971
30971
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
30974
30974
4
30975
30975
5
30976
30976
6
30977
 
set autocommit=0;
 
30977
set @@autocommit = 0;
30978
30978
DROP TABLE t1;
30979
30979
32;
30980
 
create table t1 (n int not null primary key) ;
30981
 
set autocommit=0;
 
30980
create table t1 (n int not null primary key);
 
30981
set @@autocommit = 0;
30982
30982
insert into t1 values (4);
30983
30983
rollback;
30984
30984
select n, "after rollback" from t1;
30997
30997
n       after commit
30998
30998
4       after commit
30999
30999
5       after commit
31000
 
set autocommit=1;
 
31000
set @@autocommit = 1;
31001
31001
insert into t1 values (6);
31002
31002
insert into t1 values (4);
31003
31003
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31006
31006
4
31007
31007
5
31008
31008
6
31009
 
set autocommit=0;
 
31009
set @@autocommit = 0;
31010
31010
DROP TABLE t1;
31011
31011
31;
31012
 
create table t1 (n int not null primary key) ;
31013
 
set autocommit=0;
 
31012
create table t1 (n int not null primary key);
 
31013
set @@autocommit = 0;
31014
31014
insert into t1 values (4);
31015
31015
rollback;
31016
31016
select n, "after rollback" from t1;
31029
31029
n       after commit
31030
31030
4       after commit
31031
31031
5       after commit
31032
 
set autocommit=1;
 
31032
set @@autocommit = 1;
31033
31033
insert into t1 values (6);
31034
31034
insert into t1 values (4);
31035
31035
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31038
31038
4
31039
31039
5
31040
31040
6
31041
 
set autocommit=0;
 
31041
set @@autocommit = 0;
31042
31042
DROP TABLE t1;
31043
31043
30;
31044
 
create table t1 (n int not null primary key) ;
31045
 
set autocommit=0;
 
31044
create table t1 (n int not null primary key);
 
31045
set @@autocommit = 0;
31046
31046
insert into t1 values (4);
31047
31047
rollback;
31048
31048
select n, "after rollback" from t1;
31061
31061
n       after commit
31062
31062
4       after commit
31063
31063
5       after commit
31064
 
set autocommit=1;
 
31064
set @@autocommit = 1;
31065
31065
insert into t1 values (6);
31066
31066
insert into t1 values (4);
31067
31067
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31070
31070
4
31071
31071
5
31072
31072
6
31073
 
set autocommit=0;
 
31073
set @@autocommit = 0;
31074
31074
DROP TABLE t1;
31075
31075
29;
31076
 
create table t1 (n int not null primary key) ;
31077
 
set autocommit=0;
 
31076
create table t1 (n int not null primary key);
 
31077
set @@autocommit = 0;
31078
31078
insert into t1 values (4);
31079
31079
rollback;
31080
31080
select n, "after rollback" from t1;
31093
31093
n       after commit
31094
31094
4       after commit
31095
31095
5       after commit
31096
 
set autocommit=1;
 
31096
set @@autocommit = 1;
31097
31097
insert into t1 values (6);
31098
31098
insert into t1 values (4);
31099
31099
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31102
31102
4
31103
31103
5
31104
31104
6
31105
 
set autocommit=0;
 
31105
set @@autocommit = 0;
31106
31106
DROP TABLE t1;
31107
31107
28;
31108
 
create table t1 (n int not null primary key) ;
31109
 
set autocommit=0;
 
31108
create table t1 (n int not null primary key);
 
31109
set @@autocommit = 0;
31110
31110
insert into t1 values (4);
31111
31111
rollback;
31112
31112
select n, "after rollback" from t1;
31125
31125
n       after commit
31126
31126
4       after commit
31127
31127
5       after commit
31128
 
set autocommit=1;
 
31128
set @@autocommit = 1;
31129
31129
insert into t1 values (6);
31130
31130
insert into t1 values (4);
31131
31131
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31134
31134
4
31135
31135
5
31136
31136
6
31137
 
set autocommit=0;
 
31137
set @@autocommit = 0;
31138
31138
DROP TABLE t1;
31139
31139
27;
31140
 
create table t1 (n int not null primary key) ;
31141
 
set autocommit=0;
 
31140
create table t1 (n int not null primary key);
 
31141
set @@autocommit = 0;
31142
31142
insert into t1 values (4);
31143
31143
rollback;
31144
31144
select n, "after rollback" from t1;
31157
31157
n       after commit
31158
31158
4       after commit
31159
31159
5       after commit
31160
 
set autocommit=1;
 
31160
set @@autocommit = 1;
31161
31161
insert into t1 values (6);
31162
31162
insert into t1 values (4);
31163
31163
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31166
31166
4
31167
31167
5
31168
31168
6
31169
 
set autocommit=0;
 
31169
set @@autocommit = 0;
31170
31170
DROP TABLE t1;
31171
31171
26;
31172
 
create table t1 (n int not null primary key) ;
31173
 
set autocommit=0;
 
31172
create table t1 (n int not null primary key);
 
31173
set @@autocommit = 0;
31174
31174
insert into t1 values (4);
31175
31175
rollback;
31176
31176
select n, "after rollback" from t1;
31189
31189
n       after commit
31190
31190
4       after commit
31191
31191
5       after commit
31192
 
set autocommit=1;
 
31192
set @@autocommit = 1;
31193
31193
insert into t1 values (6);
31194
31194
insert into t1 values (4);
31195
31195
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31198
31198
4
31199
31199
5
31200
31200
6
31201
 
set autocommit=0;
 
31201
set @@autocommit = 0;
31202
31202
DROP TABLE t1;
31203
31203
25;
31204
 
create table t1 (n int not null primary key) ;
31205
 
set autocommit=0;
 
31204
create table t1 (n int not null primary key);
 
31205
set @@autocommit = 0;
31206
31206
insert into t1 values (4);
31207
31207
rollback;
31208
31208
select n, "after rollback" from t1;
31221
31221
n       after commit
31222
31222
4       after commit
31223
31223
5       after commit
31224
 
set autocommit=1;
 
31224
set @@autocommit = 1;
31225
31225
insert into t1 values (6);
31226
31226
insert into t1 values (4);
31227
31227
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31230
31230
4
31231
31231
5
31232
31232
6
31233
 
set autocommit=0;
 
31233
set @@autocommit = 0;
31234
31234
DROP TABLE t1;
31235
31235
24;
31236
 
create table t1 (n int not null primary key) ;
31237
 
set autocommit=0;
 
31236
create table t1 (n int not null primary key);
 
31237
set @@autocommit = 0;
31238
31238
insert into t1 values (4);
31239
31239
rollback;
31240
31240
select n, "after rollback" from t1;
31253
31253
n       after commit
31254
31254
4       after commit
31255
31255
5       after commit
31256
 
set autocommit=1;
 
31256
set @@autocommit = 1;
31257
31257
insert into t1 values (6);
31258
31258
insert into t1 values (4);
31259
31259
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31262
31262
4
31263
31263
5
31264
31264
6
31265
 
set autocommit=0;
 
31265
set @@autocommit = 0;
31266
31266
DROP TABLE t1;
31267
31267
23;
31268
 
create table t1 (n int not null primary key) ;
31269
 
set autocommit=0;
 
31268
create table t1 (n int not null primary key);
 
31269
set @@autocommit = 0;
31270
31270
insert into t1 values (4);
31271
31271
rollback;
31272
31272
select n, "after rollback" from t1;
31285
31285
n       after commit
31286
31286
4       after commit
31287
31287
5       after commit
31288
 
set autocommit=1;
 
31288
set @@autocommit = 1;
31289
31289
insert into t1 values (6);
31290
31290
insert into t1 values (4);
31291
31291
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31294
31294
4
31295
31295
5
31296
31296
6
31297
 
set autocommit=0;
 
31297
set @@autocommit = 0;
31298
31298
DROP TABLE t1;
31299
31299
22;
31300
 
create table t1 (n int not null primary key) ;
31301
 
set autocommit=0;
 
31300
create table t1 (n int not null primary key);
 
31301
set @@autocommit = 0;
31302
31302
insert into t1 values (4);
31303
31303
rollback;
31304
31304
select n, "after rollback" from t1;
31317
31317
n       after commit
31318
31318
4       after commit
31319
31319
5       after commit
31320
 
set autocommit=1;
 
31320
set @@autocommit = 1;
31321
31321
insert into t1 values (6);
31322
31322
insert into t1 values (4);
31323
31323
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31326
31326
4
31327
31327
5
31328
31328
6
31329
 
set autocommit=0;
 
31329
set @@autocommit = 0;
31330
31330
DROP TABLE t1;
31331
31331
21;
31332
 
create table t1 (n int not null primary key) ;
31333
 
set autocommit=0;
 
31332
create table t1 (n int not null primary key);
 
31333
set @@autocommit = 0;
31334
31334
insert into t1 values (4);
31335
31335
rollback;
31336
31336
select n, "after rollback" from t1;
31349
31349
n       after commit
31350
31350
4       after commit
31351
31351
5       after commit
31352
 
set autocommit=1;
 
31352
set @@autocommit = 1;
31353
31353
insert into t1 values (6);
31354
31354
insert into t1 values (4);
31355
31355
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31358
31358
4
31359
31359
5
31360
31360
6
31361
 
set autocommit=0;
 
31361
set @@autocommit = 0;
31362
31362
DROP TABLE t1;
31363
31363
20;
31364
 
create table t1 (n int not null primary key) ;
31365
 
set autocommit=0;
 
31364
create table t1 (n int not null primary key);
 
31365
set @@autocommit = 0;
31366
31366
insert into t1 values (4);
31367
31367
rollback;
31368
31368
select n, "after rollback" from t1;
31381
31381
n       after commit
31382
31382
4       after commit
31383
31383
5       after commit
31384
 
set autocommit=1;
 
31384
set @@autocommit = 1;
31385
31385
insert into t1 values (6);
31386
31386
insert into t1 values (4);
31387
31387
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31390
31390
4
31391
31391
5
31392
31392
6
31393
 
set autocommit=0;
 
31393
set @@autocommit = 0;
31394
31394
DROP TABLE t1;
31395
31395
19;
31396
 
create table t1 (n int not null primary key) ;
31397
 
set autocommit=0;
 
31396
create table t1 (n int not null primary key);
 
31397
set @@autocommit = 0;
31398
31398
insert into t1 values (4);
31399
31399
rollback;
31400
31400
select n, "after rollback" from t1;
31413
31413
n       after commit
31414
31414
4       after commit
31415
31415
5       after commit
31416
 
set autocommit=1;
 
31416
set @@autocommit = 1;
31417
31417
insert into t1 values (6);
31418
31418
insert into t1 values (4);
31419
31419
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31422
31422
4
31423
31423
5
31424
31424
6
31425
 
set autocommit=0;
 
31425
set @@autocommit = 0;
31426
31426
DROP TABLE t1;
31427
31427
18;
31428
 
create table t1 (n int not null primary key) ;
31429
 
set autocommit=0;
 
31428
create table t1 (n int not null primary key);
 
31429
set @@autocommit = 0;
31430
31430
insert into t1 values (4);
31431
31431
rollback;
31432
31432
select n, "after rollback" from t1;
31445
31445
n       after commit
31446
31446
4       after commit
31447
31447
5       after commit
31448
 
set autocommit=1;
 
31448
set @@autocommit = 1;
31449
31449
insert into t1 values (6);
31450
31450
insert into t1 values (4);
31451
31451
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31454
31454
4
31455
31455
5
31456
31456
6
31457
 
set autocommit=0;
 
31457
set @@autocommit = 0;
31458
31458
DROP TABLE t1;
31459
31459
17;
31460
 
create table t1 (n int not null primary key) ;
31461
 
set autocommit=0;
 
31460
create table t1 (n int not null primary key);
 
31461
set @@autocommit = 0;
31462
31462
insert into t1 values (4);
31463
31463
rollback;
31464
31464
select n, "after rollback" from t1;
31477
31477
n       after commit
31478
31478
4       after commit
31479
31479
5       after commit
31480
 
set autocommit=1;
 
31480
set @@autocommit = 1;
31481
31481
insert into t1 values (6);
31482
31482
insert into t1 values (4);
31483
31483
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31486
31486
4
31487
31487
5
31488
31488
6
31489
 
set autocommit=0;
 
31489
set @@autocommit = 0;
31490
31490
DROP TABLE t1;
31491
31491
16;
31492
 
create table t1 (n int not null primary key) ;
31493
 
set autocommit=0;
 
31492
create table t1 (n int not null primary key);
 
31493
set @@autocommit = 0;
31494
31494
insert into t1 values (4);
31495
31495
rollback;
31496
31496
select n, "after rollback" from t1;
31509
31509
n       after commit
31510
31510
4       after commit
31511
31511
5       after commit
31512
 
set autocommit=1;
 
31512
set @@autocommit = 1;
31513
31513
insert into t1 values (6);
31514
31514
insert into t1 values (4);
31515
31515
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31518
31518
4
31519
31519
5
31520
31520
6
31521
 
set autocommit=0;
 
31521
set @@autocommit = 0;
31522
31522
DROP TABLE t1;
31523
31523
15;
31524
 
create table t1 (n int not null primary key) ;
31525
 
set autocommit=0;
 
31524
create table t1 (n int not null primary key);
 
31525
set @@autocommit = 0;
31526
31526
insert into t1 values (4);
31527
31527
rollback;
31528
31528
select n, "after rollback" from t1;
31541
31541
n       after commit
31542
31542
4       after commit
31543
31543
5       after commit
31544
 
set autocommit=1;
 
31544
set @@autocommit = 1;
31545
31545
insert into t1 values (6);
31546
31546
insert into t1 values (4);
31547
31547
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31550
31550
4
31551
31551
5
31552
31552
6
31553
 
set autocommit=0;
 
31553
set @@autocommit = 0;
31554
31554
DROP TABLE t1;
31555
31555
14;
31556
 
create table t1 (n int not null primary key) ;
31557
 
set autocommit=0;
 
31556
create table t1 (n int not null primary key);
 
31557
set @@autocommit = 0;
31558
31558
insert into t1 values (4);
31559
31559
rollback;
31560
31560
select n, "after rollback" from t1;
31573
31573
n       after commit
31574
31574
4       after commit
31575
31575
5       after commit
31576
 
set autocommit=1;
 
31576
set @@autocommit = 1;
31577
31577
insert into t1 values (6);
31578
31578
insert into t1 values (4);
31579
31579
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31582
31582
4
31583
31583
5
31584
31584
6
31585
 
set autocommit=0;
 
31585
set @@autocommit = 0;
31586
31586
DROP TABLE t1;
31587
31587
13;
31588
 
create table t1 (n int not null primary key) ;
31589
 
set autocommit=0;
 
31588
create table t1 (n int not null primary key);
 
31589
set @@autocommit = 0;
31590
31590
insert into t1 values (4);
31591
31591
rollback;
31592
31592
select n, "after rollback" from t1;
31605
31605
n       after commit
31606
31606
4       after commit
31607
31607
5       after commit
31608
 
set autocommit=1;
 
31608
set @@autocommit = 1;
31609
31609
insert into t1 values (6);
31610
31610
insert into t1 values (4);
31611
31611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31614
31614
4
31615
31615
5
31616
31616
6
31617
 
set autocommit=0;
 
31617
set @@autocommit = 0;
31618
31618
DROP TABLE t1;
31619
31619
12;
31620
 
create table t1 (n int not null primary key) ;
31621
 
set autocommit=0;
 
31620
create table t1 (n int not null primary key);
 
31621
set @@autocommit = 0;
31622
31622
insert into t1 values (4);
31623
31623
rollback;
31624
31624
select n, "after rollback" from t1;
31637
31637
n       after commit
31638
31638
4       after commit
31639
31639
5       after commit
31640
 
set autocommit=1;
 
31640
set @@autocommit = 1;
31641
31641
insert into t1 values (6);
31642
31642
insert into t1 values (4);
31643
31643
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31646
31646
4
31647
31647
5
31648
31648
6
31649
 
set autocommit=0;
 
31649
set @@autocommit = 0;
31650
31650
DROP TABLE t1;
31651
31651
11;
31652
 
create table t1 (n int not null primary key) ;
31653
 
set autocommit=0;
 
31652
create table t1 (n int not null primary key);
 
31653
set @@autocommit = 0;
31654
31654
insert into t1 values (4);
31655
31655
rollback;
31656
31656
select n, "after rollback" from t1;
31669
31669
n       after commit
31670
31670
4       after commit
31671
31671
5       after commit
31672
 
set autocommit=1;
 
31672
set @@autocommit = 1;
31673
31673
insert into t1 values (6);
31674
31674
insert into t1 values (4);
31675
31675
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31678
31678
4
31679
31679
5
31680
31680
6
31681
 
set autocommit=0;
 
31681
set @@autocommit = 0;
31682
31682
DROP TABLE t1;
31683
31683
10;
31684
 
create table t1 (n int not null primary key) ;
31685
 
set autocommit=0;
 
31684
create table t1 (n int not null primary key);
 
31685
set @@autocommit = 0;
31686
31686
insert into t1 values (4);
31687
31687
rollback;
31688
31688
select n, "after rollback" from t1;
31701
31701
n       after commit
31702
31702
4       after commit
31703
31703
5       after commit
31704
 
set autocommit=1;
 
31704
set @@autocommit = 1;
31705
31705
insert into t1 values (6);
31706
31706
insert into t1 values (4);
31707
31707
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31710
31710
4
31711
31711
5
31712
31712
6
31713
 
set autocommit=0;
 
31713
set @@autocommit = 0;
31714
31714
DROP TABLE t1;
31715
31715
9;
31716
 
create table t1 (n int not null primary key) ;
31717
 
set autocommit=0;
 
31716
create table t1 (n int not null primary key);
 
31717
set @@autocommit = 0;
31718
31718
insert into t1 values (4);
31719
31719
rollback;
31720
31720
select n, "after rollback" from t1;
31733
31733
n       after commit
31734
31734
4       after commit
31735
31735
5       after commit
31736
 
set autocommit=1;
 
31736
set @@autocommit = 1;
31737
31737
insert into t1 values (6);
31738
31738
insert into t1 values (4);
31739
31739
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31742
31742
4
31743
31743
5
31744
31744
6
31745
 
set autocommit=0;
 
31745
set @@autocommit = 0;
31746
31746
DROP TABLE t1;
31747
31747
8;
31748
 
create table t1 (n int not null primary key) ;
31749
 
set autocommit=0;
 
31748
create table t1 (n int not null primary key);
 
31749
set @@autocommit = 0;
31750
31750
insert into t1 values (4);
31751
31751
rollback;
31752
31752
select n, "after rollback" from t1;
31765
31765
n       after commit
31766
31766
4       after commit
31767
31767
5       after commit
31768
 
set autocommit=1;
 
31768
set @@autocommit = 1;
31769
31769
insert into t1 values (6);
31770
31770
insert into t1 values (4);
31771
31771
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31774
31774
4
31775
31775
5
31776
31776
6
31777
 
set autocommit=0;
 
31777
set @@autocommit = 0;
31778
31778
DROP TABLE t1;
31779
31779
7;
31780
 
create table t1 (n int not null primary key) ;
31781
 
set autocommit=0;
 
31780
create table t1 (n int not null primary key);
 
31781
set @@autocommit = 0;
31782
31782
insert into t1 values (4);
31783
31783
rollback;
31784
31784
select n, "after rollback" from t1;
31797
31797
n       after commit
31798
31798
4       after commit
31799
31799
5       after commit
31800
 
set autocommit=1;
 
31800
set @@autocommit = 1;
31801
31801
insert into t1 values (6);
31802
31802
insert into t1 values (4);
31803
31803
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31806
31806
4
31807
31807
5
31808
31808
6
31809
 
set autocommit=0;
 
31809
set @@autocommit = 0;
31810
31810
DROP TABLE t1;
31811
31811
6;
31812
 
create table t1 (n int not null primary key) ;
31813
 
set autocommit=0;
 
31812
create table t1 (n int not null primary key);
 
31813
set @@autocommit = 0;
31814
31814
insert into t1 values (4);
31815
31815
rollback;
31816
31816
select n, "after rollback" from t1;
31829
31829
n       after commit
31830
31830
4       after commit
31831
31831
5       after commit
31832
 
set autocommit=1;
 
31832
set @@autocommit = 1;
31833
31833
insert into t1 values (6);
31834
31834
insert into t1 values (4);
31835
31835
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31838
31838
4
31839
31839
5
31840
31840
6
31841
 
set autocommit=0;
 
31841
set @@autocommit = 0;
31842
31842
DROP TABLE t1;
31843
31843
5;
31844
 
create table t1 (n int not null primary key) ;
31845
 
set autocommit=0;
 
31844
create table t1 (n int not null primary key);
 
31845
set @@autocommit = 0;
31846
31846
insert into t1 values (4);
31847
31847
rollback;
31848
31848
select n, "after rollback" from t1;
31861
31861
n       after commit
31862
31862
4       after commit
31863
31863
5       after commit
31864
 
set autocommit=1;
 
31864
set @@autocommit = 1;
31865
31865
insert into t1 values (6);
31866
31866
insert into t1 values (4);
31867
31867
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31870
31870
4
31871
31871
5
31872
31872
6
31873
 
set autocommit=0;
 
31873
set @@autocommit = 0;
31874
31874
DROP TABLE t1;
31875
31875
4;
31876
 
create table t1 (n int not null primary key) ;
31877
 
set autocommit=0;
 
31876
create table t1 (n int not null primary key);
 
31877
set @@autocommit = 0;
31878
31878
insert into t1 values (4);
31879
31879
rollback;
31880
31880
select n, "after rollback" from t1;
31893
31893
n       after commit
31894
31894
4       after commit
31895
31895
5       after commit
31896
 
set autocommit=1;
 
31896
set @@autocommit = 1;
31897
31897
insert into t1 values (6);
31898
31898
insert into t1 values (4);
31899
31899
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31902
31902
4
31903
31903
5
31904
31904
6
31905
 
set autocommit=0;
 
31905
set @@autocommit = 0;
31906
31906
DROP TABLE t1;
31907
31907
3;
31908
 
create table t1 (n int not null primary key) ;
31909
 
set autocommit=0;
 
31908
create table t1 (n int not null primary key);
 
31909
set @@autocommit = 0;
31910
31910
insert into t1 values (4);
31911
31911
rollback;
31912
31912
select n, "after rollback" from t1;
31925
31925
n       after commit
31926
31926
4       after commit
31927
31927
5       after commit
31928
 
set autocommit=1;
 
31928
set @@autocommit = 1;
31929
31929
insert into t1 values (6);
31930
31930
insert into t1 values (4);
31931
31931
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31934
31934
4
31935
31935
5
31936
31936
6
31937
 
set autocommit=0;
 
31937
set @@autocommit = 0;
31938
31938
DROP TABLE t1;
31939
31939
2;
31940
 
create table t1 (n int not null primary key) ;
31941
 
set autocommit=0;
 
31940
create table t1 (n int not null primary key);
 
31941
set @@autocommit = 0;
31942
31942
insert into t1 values (4);
31943
31943
rollback;
31944
31944
select n, "after rollback" from t1;
31957
31957
n       after commit
31958
31958
4       after commit
31959
31959
5       after commit
31960
 
set autocommit=1;
 
31960
set @@autocommit = 1;
31961
31961
insert into t1 values (6);
31962
31962
insert into t1 values (4);
31963
31963
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31966
31966
4
31967
31967
5
31968
31968
6
31969
 
set autocommit=0;
 
31969
set @@autocommit = 0;
31970
31970
DROP TABLE t1;
31971
31971
1;
31972
 
create table t1 (n int not null primary key) ;
31973
 
set autocommit=0;
 
31972
create table t1 (n int not null primary key);
 
31973
set @@autocommit = 0;
31974
31974
insert into t1 values (4);
31975
31975
rollback;
31976
31976
select n, "after rollback" from t1;
31989
31989
n       after commit
31990
31990
4       after commit
31991
31991
5       after commit
31992
 
set autocommit=1;
 
31992
set @@autocommit = 1;
31993
31993
insert into t1 values (6);
31994
31994
insert into t1 values (4);
31995
31995
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
31998
31998
4
31999
31999
5
32000
32000
6
32001
 
set autocommit=0;
 
32001
set @@autocommit = 0;
32002
32002
DROP TABLE t1;
32003
32003
0;
 
32004
SET @@autocommit = DEFAULT;
 
32005
DROP TABLE IF EXISTS t1;