DROP TABLE IF EXISTS t1;
SET @@storage_engine = Falcon;
CREATE TABLE t1 (a int);
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `a` int(11) DEFAULT NULL
) ENGINE=Falcon DEFAULT CHARSET=latin1
DROP TABLE t1;
*** Bug #96 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
SET @@storage_engine = Falcon;
CREATE TABLE t1 (a int);
ALTER TABLE t1 ADD PRIMARY KEY(a);
DROP TABLE t1;
*** Bug #100 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 SELECT 'foo' FROM DUAL UNION SELECT 'bar' FROM DUAL;
SELECT * FROM t1;
foo
foo
bar
DROP TABLE t1;
*** Bug #85 ***
SET @@storage_engine = Falcon;
SET @@tx_isolation = 'READ-COMMITTED';
SET @@autocommit = 0;
create table t1 (a int);
insert into t1 values (1);
select * from t1;
a
drop table t1;
*** Bug #95 ***
SET @@storage_engine = Falcon;
SET @@storage_engine = Falcon;
SET @@tx_isolation = 'READ-COMMITTED';
SET @@autocommit = 0;
CREATE TABLE t1 (a int);
INSERT INTO t1 VALUES (1);
SET @@tx_isolation = 'READ-COMMITTED';
SET @@autocommit = 0;
SELECT * FROM t1;
a
COMMIT;
SELECT * FROM t1;
a
1
DROP TABLE t1;
*** Bug #97 ***
SET @@storage_engine = Falcon;
create table t1 (
a char(10) not null, 
b int not null auto_increment, 
primary key(a,b)
);
drop table t1;
*** Bug #87 ***
SET @@storage_engine = Falcon;
create table t1 (a varchar(4), b varchar(1000), key (a, b(255)));
insert into t1 values (1, 0x6441F4);
insert into t1 values (1, 'foo');
SELECT * FROM t1;
a	b
1	dAô
1	foo
drop table t1;
*** Bug #102 ***
SET @@storage_engine = Falcon;
create schema my1;
drop schema my1;
create schema my1;
create table my1.my1 (a int);
drop schema my1;
create schema my1;
create table my1.my1 (a int);
drop schema my1;
*** Bug #88 ***
SET @@storage_engine = Falcon;
create schema mysqltest_1;
create table mysqltest_1.t1 (a int);
drop schema mysqltest_1;
*** Bug #111 ***
SET @@storage_engine = Falcon;
SET @@autocommit = 0;
CREATE TABLE t1 (a int);
insert into t1 values (1),(2),(3),(4),(5);
select * from t1;
a
1
2
3
4
5
commit;
update t1 set a=33 where a=3;
select * from t1;
a
1
2
33
4
5
select * from t1;
a
1
2
3
4
5
SET @@autocommit = 0;
select * from t1;
a
1
2
33
4
5
commit;
select * from t1;
a
1
2
3
4
5
select * from t1;
a
1
2
33
4
5
drop table t1;
*** Bug #112 ***
SET @@storage_engine = Falcon;
CREATE TABLE t1 (a int not null auto_increment primary key);
INSERT INTO t1 VALUES (0);
ALTER TABLE t1 AUTO_INCREMENT=100;
INSERT INTO t1 VALUES (0);
SELECT a FROM t1;
a
1
100
DROP TABLE t1;
*** Bug #94 ***
SET @@storage_engine = Falcon;
CREATE TABLE `t1` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(64) NOT NULL default '',
`email` varchar(64) NOT NULL default '',
`password` varchar(64) NOT NULL default '',
`dob` date default NULL,
`address` varchar(128) NOT NULL default '',
`city` varchar(64) NOT NULL default '',
`state_id` tinyint(3) unsigned NOT NULL default '0',
`zip` varchar(8) NOT NULL default '',
`country_id` smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`),
KEY `country_id` (`country_id`,`state_id`,`city`)
) DEFAULT CHARSET=latin1;
INSERT INTO t1 (id,name,password,email,city,zip,dob,country_id,state_id) VALUES (2,'4leluys0vf1c10e9q2a5iog0hfubks5p','50ce8','wjrs2htec8@pb82n6mjh362j5663i6m.com','04k675wjvgbxjfsze182t5sm','pppbc','2006-04-20',131,8);
select * from t1 where country_id=131;
id	name	email	password	dob	address	city	state_id	zip	country_id
2	4leluys0vf1c10e9q2a5iog0hfubks5p	wjrs2htec8@pb82n6mjh362j5663i6m.com	50ce8	2006-04-20		04k675wjvgbxjfsze182t5sm	8	pppbc	131
drop table t1;
*** Bug #91 ***
SET @@storage_engine = Falcon;
create table t1 (C001 VARCHAR(1000) CHARACTER SET utf8, PRIMARY KEY (C001(255)));
DROP TABLE t1;
*** Bug #122 ***
SET @@storage_engine = Falcon;
CREATE TABLE IF NOT EXISTS `falcon` (
`id` int(10) unsigned NOT NULL,
`f2` int(10) NOT NULL,
`f3` int(10) NOT NULL,
PRIMARY KEY (`id`),
KEY `f3` (`f3`)
);
DROP TABLE falcon;
*** Bug #115 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a varchar(8)) DEFAULT CHARSET ucs2;
INSERT INTO t1 VALUES ();
SELECT * FROM t1;
a
NULL
DROP TABLE t1;
SET @@tx_isolation = 'READ-COMMITTED';
SET @@autocommit = 0;
CREATE TABLE t1 (a int);
DROP TABLE t1;
*** Bug #110 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int not null primary key, b varchar(20));
INSERT INTO t1 (a,b) VALUES (1,'foo') ON DUPLICATE KEY UPDATE a=3;
INSERT INTO t1 (a,b) VALUES (1,'foo') ON DUPLICATE KEY UPDATE a=3;
SELECT * FROM t1;
a	b
3	foo
DROP TABLE t1;
*** Bug #129 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS T002_1;
CREATE TABLE T002_1 (
C001 INT NOT NULL,
C002 VARBINARY(1800),
C003 VARCHAR(255) CHARACTER SET latin1,
C004 VARCHAR(255) CHARACTER SET latin1,
C005 VARCHAR(255) CHARACTER SET latin1,
C006 VARCHAR(255) CHARACTER SET latin1,
C007 VARCHAR(255) CHARACTER SET latin1,
C008 VARCHAR(255) CHARACTER SET latin1,
C009 VARCHAR(255) CHARACTER SET latin1,
C010 VARCHAR(255) CHARACTER SET latin1,
C011 VARCHAR(255) CHARACTER SET latin1,
C012 VARCHAR(255) CHARACTER SET latin1,
C013 VARCHAR(255) CHARACTER SET latin1,
C014 VARCHAR(255) CHARACTER SET latin1,
C015 VARCHAR(255) CHARACTER SET latin1,
C016 VARCHAR(255) CHARACTER SET latin1 
);
ALTER TABLE T002_1
ADD PRIMARY KEY
(C001,C002(60),C003(60),C004(60),C005(60),C006(60),C007(60),C008(60),C009(60),C010(60),C011(60),C012(60),C013(60),C014(60),C015(58));
INSERT INTO T002_1 VALUES
(1, REPEAT('0',60), REPEAT('0',60), REPEAT('0',60), REPEAT('0',60),
REPEAT('0',60), REPEAT('0',60), REPEAT('0',60), REPEAT('0',60),
REPEAT('0',60), REPEAT('0',60), REPEAT('0',60), REPEAT('0',60),
REPEAT('0',60), CONCAT(REPEAT('0',56),'1'), "0"),
(1, REPEAT('0',60), REPEAT('0',60), REPEAT('0',60), REPEAT('0',60),
REPEAT('0',60), REPEAT('0',60), REPEAT('0',60), REPEAT('0',60),
REPEAT('0',60), REPEAT('0',60), REPEAT('0',60), REPEAT('0',60),
REPEAT('0',60), CONCAT(REPEAT('0',56),'2'), "0");
DROP TABLE T002_1;
*** Bug #154 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t2;
CREATE TABLE t2 (s1 int, index (s1));
INSERT INTO t2 VALUES (1),(null),(2),(2);
SELECT * FROM t2 WHERE s1 IS NULL OR s1 = 2;
s1
2
2
NULL
DROP TABLE t2;
*** Bug #163 ***
SET @@storage_engine = Falcon;
DROP PROCEDURE IF EXISTS p56;
DROP TABLE IF EXISTS t55;
create procedure p56 ()
begin
set @@autocommit = 1;
create table t55 (s1 int, s2 char(1), s3 blob);
insert into t55 values (1,'a','x');
update t55 set s1 = s1, s2='';
select hex(left(s3,1)) from t55;
end//
call p56();
hex(left(s3,1))
78
DROP TABLE t55;
DROP PROCEDURE p56;
*** Bug #152 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (s1 text);
INSERT INTO t1 VALUES (repeat('a',16384));
ALTER TABLE t1 MODIFY COLUMN s1 varchar(30000);
SELECT character_length(s1) FROM t1;
character_length(s1)
16384
DROP TABLE t1;
*** Bug #156 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
create table t1 (s1 int, s3 varchar(1000), unique (s1,s3));
start transaction;
insert into t1 values (1,repeat('b',1000));
rollback;
start transaction;
insert into t1 values (1,repeat('b',1000));
rollback;
start transaction;
insert into t1 values (1,repeat('b',1000));
commit;
DROP TABLE t1;
*** Bug #159 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS tia;
DROP TABLE IF EXISTS tib;
set @@autocommit = 0;
create table tia (s2 char(1), unique(s2));
insert into tia values ('a');
create table tib (s2 char(1));
create trigger tia_bi before insert on tia for each row insert into tib values (new.s2);
insert into tia values ('a');
ERROR 23000: Duplicate entry 'a' for key 's2'
select * from tib;
s2
DROP TRIGGER tia_bi;
DROP TABLE tia;
DROP TABLE tib;
*** Bug #137 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t4;
DROP TABLE IF EXISTS t4a;
create table t4 (s1 varbinary(3) primary key);
insert into t4 values (0x41),(0x4100),(0x410000);
rename table t4 to t4a;
insert into t4a values (0x00);
insert into t4a values (0x42);
delete from t4a;
DROP TABLE t4a;
*** Bug #149 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (NUMKEY DECIMAL(3) NOT NULL UNIQUE, COL2 CHAR(2));
INSERT INTO t1 VALUES(1,'A');
INSERT INTO t1 VALUES(2,'B');
DROP TABLE t1;
*** Bug #162 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t;
create table t (s1 int);
create trigger t_bi before insert on t for each row set @a=5;
insert into t values (0);
insert into t values (0);
select * from t;
s1
0
0
select @a;
@a
5
DROP TRIGGER t_bi;
DROP TABLE t;
*** Bug #166 ***
SET @@storage_engine = Falcon;
SET @@sql_mode = 'ANSI_QUOTES';
DROP TABLE IF EXISTS "aa";
CREATE TABLE "aa" (
"ba" varchar(8) collate latin1_bin NOT NULL default ' ',
"bb" varchar(40) collate latin1_bin NOT NULL default ' ',
"bc" varchar(3) collate latin1_bin NOT NULL default ' ',
"bd" varchar(10) collate latin1_bin NOT NULL default ' ',
"be" varchar(3) collate latin1_bin NOT NULL default ' ',
"bf" varchar(8) collate latin1_bin NOT NULL default '00000000',
"bg" varchar(6) collate latin1_bin NOT NULL default '000000',
"bh" varchar(8) collate latin1_bin NOT NULL default '00000000',
"bi" varchar(6) collate latin1_bin NOT NULL default '000000',
"ak" varchar(6) collate latin1_bin NOT NULL default ' ',
"al" int(11) NOT NULL default '0',
"am" int(11) NOT NULL default '0',
"an" int(11) NOT NULL default '0',
"ao" int(11) NOT NULL default '0',
"ap" int(11) NOT NULL default '0',
"aq" int(11) NOT NULL default '0',
"ar" int(11) NOT NULL default '0',
"as" int(11) NOT NULL default '0',
"at" int(11) NOT NULL default '0',
"au" int(11) NOT NULL default '0',
"av" varchar(16) collate latin1_bin NOT NULL default ' ',
"aw" varchar(30) collate latin1_bin NOT NULL default ' ',
"ax" varchar(40) collate latin1_bin NOT NULL default ' ',
"ay" varchar(12) collate latin1_bin NOT NULL default ' ',
"az" decimal(15,0) NOT NULL default '0',
PRIMARY KEY ("ba","bb","bc","bd","be","bf","bg","bh","bi"));
DROP TABLE "aa";
*** Bug #175 ***
SET @@storage_engine = Falcon;
SET @@sql_mode = 'ANSI_QUOTES';
DROP TABLE IF EXISTS "aa";
CREATE TABLE "aa" (
"gt" varchar(3) collate latin1_bin NOT NULL default '000',
"fm" varchar(12) collate latin1_bin NOT NULL default ' ',
"gn" varchar(2) collate latin1_bin NOT NULL default ' ',
"gu" varchar(40) collate latin1_bin NOT NULL default ' ',
"af" varchar(2) collate latin1_bin NOT NULL default ' ',
"ag" varchar(1) collate latin1_bin NOT NULL default ' ',
"ah" varchar(12) collate latin1_bin NOT NULL default ' ',
"ai" varchar(8) collate latin1_bin NOT NULL default '00000000',
"aj" varchar(12) collate latin1_bin NOT NULL default ' ',
"ak" varchar(8) collate latin1_bin NOT NULL default '00000000',
"al" varchar(6) collate latin1_bin NOT NULL default '000000',
"fq" varchar(8) collate latin1_bin NOT NULL default '00000000',
"an" varchar(12) collate latin1_bin NOT NULL default ' ',
"ao" varchar(8) collate latin1_bin NOT NULL default '00000000',
"ap" varchar(6) collate latin1_bin NOT NULL default '000000',
"aq" varchar(8) collate latin1_bin NOT NULL default '00000000',
"ar" varchar(6) collate latin1_bin NOT NULL default '000000',
"as" varchar(5) collate latin1_bin NOT NULL default ' ',
"ft" varchar(12) collate latin1_bin NOT NULL default ' ',
"au" varchar(4) collate latin1_bin NOT NULL default ' ',
"av" varchar(18) collate latin1_bin NOT NULL default ' ',
"aw" varchar(4) collate latin1_bin NOT NULL default ' ',
"ax" varchar(12) collate latin1_bin NOT NULL default ' ',
"gm" varchar(18) collate latin1_bin NOT NULL default ' ',
"az" varchar(2) collate latin1_bin NOT NULL default ' ',
"ba" varchar(9) collate latin1_bin NOT NULL default ' ',
"bb" varchar(18) collate latin1_bin NOT NULL default ' ',
"bc" varchar(1) collate latin1_bin NOT NULL default ' ',
"bd" varchar(1) collate latin1_bin NOT NULL default ' ',
"gd" varchar(10) collate latin1_bin NOT NULL default ' ',
"bf" varchar(1) collate latin1_bin NOT NULL default ' ',
"bg" varchar(1) collate latin1_bin NOT NULL default ' ',
"fp" varchar(22) collate latin1_bin NOT NULL default ' ',
"bi" varchar(8) collate latin1_bin NOT NULL default '00000000',
"bj" varchar(6) collate latin1_bin NOT NULL default '000000',
"bk" varchar(9) collate latin1_bin NOT NULL default ' ',
"bl" varchar(1) collate latin1_bin NOT NULL default ' ',
"bm" varchar(1) collate latin1_bin NOT NULL default ' ',
"bn" varchar(1) collate latin1_bin NOT NULL default ' ',
"bo" varchar(2) collate latin1_bin NOT NULL default ' ',
"bp" varchar(8) collate latin1_bin NOT NULL default '00000000',
"bq" varchar(6) collate latin1_bin NOT NULL default '000000',
"fw" varchar(10) collate latin1_bin NOT NULL default ' ',
"bs" varchar(12) collate latin1_bin NOT NULL default ' ',
"bt" varchar(10) collate latin1_bin NOT NULL default ' ',
"bu" varchar(35) collate latin1_bin NOT NULL default ' ',
"bv" varchar(8) collate latin1_bin NOT NULL default '00000000',
"gg" varchar(2) collate latin1_bin NOT NULL default ' ',
"ge" varchar(4) collate latin1_bin NOT NULL default ' ',
"gf" varchar(2) collate latin1_bin NOT NULL default ' ',
"bz" varchar(10) collate latin1_bin NOT NULL default ' ',
"ca" varchar(6) collate latin1_bin NOT NULL default '000000',
"cb" varchar(6) collate latin1_bin NOT NULL default '000000',
"go" varchar(4) collate latin1_bin NOT NULL default ' ',
"cd" varchar(1) collate latin1_bin NOT NULL default ' ',
"ce" varchar(8) collate latin1_bin NOT NULL default ' ',
"cf" varchar(4) collate latin1_bin NOT NULL default ' ',
"cg" varchar(4) collate latin1_bin NOT NULL default ' ',
"ch" varchar(4) collate latin1_bin NOT NULL default ' ',
"gr" varchar(12) collate latin1_bin NOT NULL default '000000000000',
"cj" varchar(10) collate latin1_bin NOT NULL default ' ',
"ck" varchar(4) collate latin1_bin NOT NULL default ' ',
"cl" varchar(15) collate latin1_bin NOT NULL default ' ',
"cm" varchar(10) collate latin1_bin NOT NULL default ' ',
"cn" varchar(18) collate latin1_bin NOT NULL default ' ',
"fx" varchar(4) collate latin1_bin NOT NULL default ' ',
"cp" varchar(3) collate latin1_bin NOT NULL default ' ',
"cq" varchar(4) collate latin1_bin NOT NULL default ' ',
"cr" varchar(12) collate latin1_bin NOT NULL default ' ',
"cs" varchar(10) collate latin1_bin NOT NULL default '0000000000',
"ct" varchar(10) collate latin1_bin NOT NULL default ' ',
"cu" varchar(5) collate latin1_bin NOT NULL default '00000',
"cv" varchar(4) collate latin1_bin NOT NULL default '0000',
"cw" varchar(10) collate latin1_bin NOT NULL default ' ',
"cx" varchar(4) collate latin1_bin NOT NULL default '0000',
"cy" varchar(10) collate latin1_bin NOT NULL default ' ',
"cz" varchar(6) collate latin1_bin NOT NULL default '000000',
"da" varchar(10) collate latin1_bin NOT NULL default ' ',
"db" varchar(6) collate latin1_bin NOT NULL default '000000',
"dc" varchar(2) collate latin1_bin NOT NULL default ' ',
"dd" varchar(8) collate latin1_bin NOT NULL default '00000000',
"de" varchar(4) collate latin1_bin NOT NULL default ' ',
"df" varchar(8) collate latin1_bin NOT NULL default ' ',
"dg" varchar(8) collate latin1_bin NOT NULL default '00000000',
"dh" decimal(13,3) NOT NULL default '0.000',
"di" decimal(13,3) NOT NULL default '0.000',
"dj" varchar(3) collate latin1_bin NOT NULL default ' ',
"dk" decimal(13,3) NOT NULL default '0.000',
"dl" decimal(13,3) NOT NULL default '0.000',
"dm" decimal(13,3) NOT NULL default '0.000',
"dn" varchar(8) collate latin1_bin NOT NULL default '00000000',
"do" varchar(12) collate latin1_bin NOT NULL default ' ',
"dp" varchar(12) collate latin1_bin NOT NULL default ' ',
"dq" varchar(20) collate latin1_bin NOT NULL default ' ',
"dr" varchar(35) collate latin1_bin NOT NULL default ' ',
"ds" varchar(35) collate latin1_bin NOT NULL default ' ',
"dt" varchar(18) collate latin1_bin NOT NULL default ' ',
"du" varchar(1) collate latin1_bin NOT NULL default ' ',
"dv" varchar(8) collate latin1_bin NOT NULL default '00000000',
"dw" varchar(40) collate latin1_bin NOT NULL default ' ',
"dx" varchar(4) collate latin1_bin NOT NULL default ' ',
"dy" varchar(3) collate latin1_bin NOT NULL default ' ',
"dz" varchar(1) collate latin1_bin NOT NULL default ' ',
"ea" varchar(12) collate latin1_bin NOT NULL default '000000000000',
"eb" varchar(8) collate latin1_bin NOT NULL default '00000000',
"ec" varchar(2) collate latin1_bin NOT NULL default ' ',
"ed" varchar(8) collate latin1_bin NOT NULL default '00000000',
"ee" varchar(22) collate latin1_bin NOT NULL default ' ',
"ef" varchar(1) collate latin1_bin NOT NULL default ' ',
"eg" varchar(10) collate latin1_bin NOT NULL default ' ',
"eh" varchar(6) collate latin1_bin NOT NULL default ' ',
"ei" varchar(1) collate latin1_bin NOT NULL default ' ',
"ej" varchar(4) collate latin1_bin NOT NULL default ' ',
"ek" varchar(10) collate latin1_bin NOT NULL default ' ',
"el" varchar(24) collate latin1_bin NOT NULL default '000000000000000000000000',
"em" varchar(10) collate latin1_bin NOT NULL default ' ',
"en" varchar(10) collate latin1_bin NOT NULL default ' ',
"eo" varchar(10) collate latin1_bin NOT NULL default ' ',
"ep" varchar(20) collate latin1_bin NOT NULL default ' ',
"eq" varchar(10) collate latin1_bin NOT NULL default ' ',
"er" varchar(1) collate latin1_bin NOT NULL default ' ',
"es" varchar(10) collate latin1_bin NOT NULL default ' ',
"et" varchar(10) collate latin1_bin NOT NULL default ' ',
"eu" varchar(14) collate latin1_bin NOT NULL default '00000000000000',
"ev" varchar(1) collate latin1_bin NOT NULL default ' ',
"ew" varchar(8) collate latin1_bin NOT NULL default '00000000',
"ex" varchar(6) collate latin1_bin NOT NULL default '000000',
"ey" varchar(8) collate latin1_bin NOT NULL default ' ',
"ez" varchar(3) collate latin1_bin NOT NULL default '000',
"fa" varchar(8) collate latin1_bin NOT NULL default '00000000',
"fb" decimal(13,2) NOT NULL default '0.00',
"fc" decimal(13,2) NOT NULL default '0.00',
"fd" decimal(13,2) NOT NULL default '0.00',
"fe" varchar(2) collate latin1_bin NOT NULL default '00',
"ff" varchar(2) collate latin1_bin NOT NULL default ' ',
"fg" varchar(12) collate latin1_bin NOT NULL default '000000000000',
"fh" varchar(4) collate latin1_bin NOT NULL default ' ',
"fi" varchar(22) collate latin1_bin NOT NULL default ' ',
"fj" varchar(22) collate latin1_bin NOT NULL default ' ',
"fk" varchar(1) collate latin1_bin NOT NULL default ' ',
PRIMARY KEY ("gt","fm"),
UNIQUE KEY "fn" ("gt","fp","fq"),
KEY "fr" ("gt","ft"),
KEY "fu" ("gt","fw","fx","gm","go","gn"),
KEY "gb" ("gt","gd","ge","gf","gg","gm","go","gn"),
KEY "gk" ("gt","gm","gn","go"),
KEY "gp" ("gt","gr"),
KEY "gs" ("gt","gu")
);
DROP TABLE "aa";
*** Bug #164 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS tg;
create table tg (s1 int);
create unique index tgi2 on tg (s1);
insert into tg values (1);
insert into tg values (1);
ERROR 23000: Duplicate entry '1' for key 'tgi2'
create index tgi3 on tg (s1);
insert into tg values (1);
ERROR 23000: Duplicate entry '1' for key 'tgi2'
DROP TABLE tg;
*** Bug #143 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
DROP TABLE IF EXISTS t2;
create table t1 (id int);
create table t2 (id int not null primary key, val int);
insert into t1 values (1);
insert into t2 values (1,1);
select * from t1, t2 where t1.id=t2.id;
id	id	val
1	1	1
DROP TABLE t1, t2;
*** Bug #146 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
create table t1 (a int not null auto_increment primary key, val int);
insert into t1 (val) values (1);
update t1 set a=2 where a=1;
insert into t1 (val) values (1);
select * from t1;
a	val
2	1
3	1
DROP TABLE t1;
*** Bug #145 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1,t3;
create table t1 (libname varchar(21) not null, city text, primary key (libname));
create table t3 (libname varchar(21) not null, city text, primary key (libname));
insert into t1 values ('New York Public Libra','1');
insert into t3 values ('New York Public Libra','3');
select * from t3 where libname in (select libname from t1);
libname	city
New York Public Libra	3
drop table t1;
create table t1 (id int, key(id));
insert into t1 values (1),(2),(3);
select count(*) from t1 where id not in (1,2);
count(*)
1
DROP TABLE t1,t3;
*** Bug #144 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (id bigint auto_increment primary key, a int)
auto_increment=9999999999;
INSERT INTO t1 VALUES (null,1);
SELECT * FROM t1;
id	a
9999999999	1
DROP TABLE t1;
*** Bug #165 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (s1 int);
CREATE UNIQUE INDEX tgi2 ON t1 (s1);
INSERT INTO t1 VALUES (null),(null);
SELECT * FROM t1;
s1
NULL
NULL
DROP TABLE t1;
*** Bug #157 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
SET @@autocommit = 0//
create table t1 (s1 int)//
create procedure p1 ()
begin
declare v int default 0;
while v < 2000 do
insert into t1 values (v);
if mod(v,300)=0 then
rollback;
end if;
set v = v + 1;
end while;
end//
start transaction//
call p1()//
select count(*) from t1//
count(*)
199
DROP PROCEDURE p1;
DROP TABLE t1;
*** Bug #177 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS `cq`;
CREATE TABLE `cq` (
`cj` varchar(3) collate latin1_bin NOT NULL default '000',
`ck` varchar(50) collate latin1_bin NOT NULL default ' ',
`cm` varchar(10) collate latin1_bin NOT NULL default '0000000000',
`bd` varchar(3) collate latin1_bin NOT NULL default '000',
`co` varchar(1) collate latin1_bin NOT NULL default ' ',
`cl` varchar(3) collate latin1_bin NOT NULL default ' ',
`bg` varchar(4) collate latin1_bin NOT NULL default '0000',
`cf` varchar(30) collate latin1_bin default NULL,
`cn` double default NULL,
`ak` varchar(3) collate latin1_bin default NULL,
`al` double default NULL,
`am` varchar(3) collate latin1_bin default NULL,
`an` varchar(1) collate latin1_bin NOT NULL default ' ',
`ao` double default NULL,
`ap` double default NULL,
`aq` varchar(1) collate latin1_bin default NULL,
`ar` double default NULL,
`as` varchar(1) collate latin1_bin default NULL,
`bj` varchar(12) collate latin1_bin default NULL,
`cp` varchar(8) collate latin1_bin NOT NULL default '00000000',
`av` varchar(1) collate latin1_bin NOT NULL default ' ',
`aw` varchar(10) collate latin1_bin default NULL,
`ax` varchar(3) collate latin1_bin default NULL,
`ay` varchar(4) collate latin1_bin NOT NULL default '0000',
`az` varchar(1) collate latin1_bin NOT NULL default ' ',
PRIMARY KEY  (`cj`,`ck`,`cm`,`bd`,`co`,`cl`,`bg`),
KEY `bh` (`cj`,`bj`),
KEY `bk` (`cj`,`cl`,`cm`,`cf`,`ck`,`co`,`cp`),
KEY `bs` (`cj`,`cl`,`cm`,`cn`,`ck`,`co`,`cp`),
KEY `ca` (`cj`,`ck`,`cl`,`cm`,`cf`,`co`,`cp`),
KEY `ci` (`cj`,`ck`,`cl`,`cm`,`cn`,`co`,`cp`)
) DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
INSERT INTO `cq` VALUES ('900','ATO_KEYBOARDDE_00','0000000001','001','O','200','0000','DE',0,'',0,'','1',0,0,'',0,'','','00000000','','0000000000','000','0000','');
DROP TABLE `cq`;
*** Bug #213 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a decimal(20));
DROP TABLE t1;
*** Bug #219 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
create table t1(a date);
create table t2(a date, key(a));
insert into t1 values('2005-10-01');
insert into t2 values('2005-10-01');
select * from t1
where t1.a between t1.a and t1.a;
a
2005-10-01
select * from t1, t2
where t2.a = t1.a;
a	a
2005-10-01	2005-10-01
DROP TABLE t1, t2;
*** Bug #212 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (c1 char(50));
ALTER TABLE t1 ADD INDEX(c1(5));
INSERT INTO t1 VALUES ('abcdefg'),('abcdefg'),('abcdefg');
SELECT c1 FROM t1 WHERE c1 LIKE 'abcdef%';
c1
abcdefg
abcdefg
abcdefg
DROP TABLE t1;
*** Bug #214 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(
Month date NOT NULL,
Type tinyint(3) unsigned NOT NULL auto_increment,
UNIQUE KEY Month (Month,Type)
);
INSERT INTO t1 VALUES
('2003-09-01', 1),
('2003-09-01', 1),
('2003-09-01', 2),
('2003-09-01', 2),
('2003-09-01', 3);
ERROR 23000: Duplicate entry '2003-09-01-1' for key 'Month'
DROP TABLE t1;
*** Bug #206 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t315;
CREATE TABLE t315 (s1 varbinary(5));
INSERT INTO t315 VALUES (0x0001020304);
CREATE INDEX it315 ON t315 (s1);
SELECT hex(s1) FROM t315 WHERE s1=0x0001020304;
hex(s1)
0001020304
DROP TABLE t315;
*** Bug #197 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t15;
CREATE TABLE t15 (
s1 enum('a','b','c','d')
);
INSERT INTO t15 VALUES ('a'),('b'),('c'),('d');
SELECT * FROM t15 WHERE s1 = 'a' OR s1 = 'b' OR s1 = 'c' OR s1 = 'd';
s1
a
b
c
d
CREATE INDEX it15 ON t15 (s1);
SELECT * FROM t15 WHERE s1 = 'a' OR s1 = 'b' OR s1 = 'c' OR s1 = 'd';
s1
a
b
c
d
DROP TABLE t15;
*** Bug #196 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t14_1;
CREATE TABLE t14_1 (f1 NUMERIC (64));
INSERT INTO t14_1 SET f1 = 1;
SELECT 1;
1
1
SELECT * FROM t14_1;
f1
1
DROP TABLE t14_1;
*** Bug #205 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
999;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
998;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
997;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
996;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
995;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
994;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
993;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
992;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
991;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
990;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
989;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
988;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
987;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
986;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
985;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
984;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
983;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
982;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
981;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
980;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
979;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
978;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
977;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
976;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
975;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
974;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
973;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
972;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
971;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
970;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
969;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
968;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
967;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
966;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
965;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
964;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
963;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
962;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
961;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
960;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
959;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
958;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
957;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
956;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
955;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
954;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
953;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
952;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
951;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
950;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
949;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
948;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
947;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
946;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
945;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
944;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
943;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
942;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
941;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
940;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
939;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
938;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
937;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
936;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
935;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
934;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
933;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
932;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
931;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
930;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
929;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
928;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
927;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
926;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
925;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
924;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
923;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
922;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
921;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
920;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
919;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
918;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
917;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
916;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
915;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
914;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
913;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
912;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
911;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
910;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
909;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
908;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
907;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
906;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
905;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
904;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
903;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
902;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
901;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
900;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
899;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
898;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
897;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
896;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
895;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
894;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
893;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
892;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
891;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
890;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
889;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
888;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
887;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
886;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
885;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
884;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
883;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
882;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
881;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
880;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
879;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
878;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
877;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
876;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
875;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
874;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
873;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
872;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
871;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
870;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
869;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
868;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
867;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
866;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
865;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
864;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
863;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
862;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
861;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
860;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
859;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
858;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
857;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
856;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
855;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
854;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
853;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
852;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
851;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
850;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
849;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
848;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
847;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
846;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
845;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
844;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
843;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
842;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
841;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
840;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
839;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
838;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
837;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
836;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
835;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
834;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
833;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
832;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
831;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
830;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
829;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
828;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
827;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
826;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
825;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
824;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
823;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
822;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
821;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
820;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
819;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
818;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
817;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
816;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
815;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
814;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
813;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
812;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
811;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
810;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
809;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
808;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
807;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
806;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
805;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
804;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
803;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
802;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
801;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
800;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
799;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
798;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
797;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
796;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
795;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
794;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
793;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
792;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
791;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
790;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
789;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
788;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
787;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
786;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
785;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
784;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
783;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
782;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
781;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
780;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
779;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
778;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
777;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
776;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
775;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
774;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
773;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
772;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
771;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
770;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
769;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
768;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
767;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
766;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
765;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
764;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
763;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
762;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
761;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
760;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
759;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
758;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
757;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
756;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
755;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
754;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
753;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
752;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
751;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
750;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
749;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
748;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
747;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
746;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
745;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
744;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
743;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
742;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
741;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
740;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
739;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
738;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
737;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
736;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
735;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
734;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
733;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
732;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
731;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
730;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
729;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
728;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
727;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
726;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
725;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
724;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
723;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
722;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
721;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
720;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
719;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
718;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
717;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
716;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
715;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
714;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
713;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
712;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
711;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
710;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
709;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
708;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
707;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
706;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
705;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
704;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
703;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
702;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
701;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
700;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
699;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
698;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
697;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
696;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
695;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
694;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
693;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
692;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
691;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
690;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
689;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
688;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
687;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
686;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
685;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
684;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
683;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
682;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
681;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
680;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
679;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
678;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
677;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
676;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
675;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
674;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
673;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
672;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
671;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
670;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
669;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
668;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
667;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
666;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
665;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
664;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
663;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
662;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
661;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
660;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
659;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
658;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
657;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
656;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
655;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
654;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
653;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
652;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
651;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
650;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
649;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
648;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
647;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
646;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
645;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
644;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
643;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
642;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
641;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
640;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
639;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
638;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
637;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
636;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
635;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
634;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
633;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
632;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
631;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
630;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
629;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
628;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
627;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
626;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
625;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
624;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
623;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
622;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
621;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
620;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
619;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
618;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
617;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
616;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
615;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
614;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
613;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
612;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
611;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
610;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
609;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
608;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
607;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
606;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
605;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
604;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
603;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
602;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
601;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
600;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
599;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
598;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
597;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
596;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
595;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
594;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
593;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
592;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
591;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
590;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
589;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
588;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
587;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
586;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
585;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
584;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
583;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
582;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
581;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
580;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
579;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
578;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
577;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
576;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
575;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
574;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
573;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
572;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
571;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
570;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
569;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
568;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
567;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
566;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
565;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
564;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
563;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
562;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
561;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
560;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
559;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
558;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
557;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
556;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
555;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
554;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
553;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
552;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
551;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
550;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
549;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
548;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
547;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
546;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
545;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
544;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
543;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
542;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
541;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
540;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
539;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
538;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
537;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
536;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
535;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
534;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
533;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
532;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
531;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
530;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
529;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
528;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
527;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
526;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
525;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
524;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
523;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
522;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
521;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
520;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
519;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
518;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
517;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
516;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
515;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
514;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
513;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
512;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
511;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
510;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
509;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
508;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
507;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
506;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
505;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
504;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
503;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
502;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
501;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
500;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
499;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
498;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
497;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
496;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
495;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
494;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
493;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
492;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
491;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
490;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
489;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
488;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
487;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
486;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
485;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
484;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
483;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
482;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
481;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
480;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
479;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
478;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
477;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
476;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
475;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
474;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
473;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
472;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
471;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
470;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
469;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
468;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
467;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
466;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
465;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
464;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
463;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
462;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
461;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
460;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
459;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
458;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
457;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
456;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
455;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
454;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
453;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
452;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
451;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
450;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
449;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
448;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
447;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
446;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
445;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
444;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
443;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
442;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
441;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
440;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
439;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
438;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
437;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
436;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
435;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
434;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
433;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
432;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
431;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
430;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
429;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
428;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
427;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
426;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
425;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
424;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
423;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
422;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
421;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
420;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
419;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
418;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
417;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
416;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
415;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
414;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
413;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
412;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
411;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
410;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
409;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
408;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
407;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
406;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
405;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
404;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
403;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
402;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
401;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
400;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
399;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
398;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
397;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
396;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
395;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
394;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
393;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
392;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
391;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
390;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
389;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
388;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
387;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
386;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
385;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
384;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
383;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
382;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
381;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
380;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
379;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
378;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
377;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
376;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
375;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
374;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
373;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
372;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
371;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
370;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
369;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
368;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
367;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
366;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
365;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
364;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
363;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
362;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
361;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
360;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
359;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
358;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
357;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
356;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
355;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
354;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
353;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
352;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
351;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
350;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
349;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
348;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
347;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
346;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
345;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
344;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
343;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
342;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
341;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
340;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
339;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
338;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
337;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
336;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
335;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
334;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
333;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
332;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
331;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
330;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
329;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
328;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
327;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
326;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
325;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
324;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
323;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
322;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
321;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
320;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
319;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
318;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
317;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
316;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
315;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
314;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
313;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
312;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
311;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
310;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
309;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
308;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
307;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
306;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
305;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
304;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
303;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
302;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
301;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
300;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
299;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
298;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
297;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
296;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
295;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
294;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
293;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
292;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
291;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
290;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
289;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
288;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
287;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
286;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
285;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
284;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
283;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
282;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
281;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
280;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
279;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
278;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
277;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
276;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
275;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
274;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
273;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
272;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
271;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
270;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
269;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
268;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
267;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
266;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
265;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
264;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
263;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
262;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
261;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
260;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
259;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
258;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
257;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
256;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
255;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
254;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
253;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
252;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
251;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
250;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
249;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
248;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
247;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
246;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
245;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
244;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
243;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
242;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
241;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
240;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
239;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
238;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
237;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
236;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
235;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
234;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
233;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
232;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
231;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
230;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
229;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
228;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
227;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
226;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
225;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
224;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
223;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
222;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
221;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
220;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
219;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
218;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
217;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
216;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
215;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
214;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
213;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
212;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
211;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
210;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
209;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
208;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
207;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
206;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
205;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
204;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
203;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
202;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
201;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
200;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
199;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
198;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
197;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
196;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
195;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
194;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
193;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
192;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
191;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
190;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
189;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
188;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
187;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
186;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
185;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
184;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
183;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
182;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
181;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
180;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
179;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
178;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
177;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
176;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
175;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
174;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
173;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
172;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
171;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
170;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
169;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
168;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
167;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
166;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
165;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
164;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
163;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
162;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
161;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
160;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
159;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
158;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
157;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
156;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
155;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
154;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
153;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
152;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
151;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
150;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
149;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
148;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
147;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
146;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
145;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
144;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
143;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
142;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
141;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
140;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
139;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
138;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
137;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
136;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
135;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
134;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
133;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
132;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
131;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
130;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
129;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
128;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
127;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
126;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
125;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
124;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
123;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
122;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
121;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
120;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
119;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
118;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
117;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
116;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
115;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
114;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
113;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
112;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
111;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
110;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
109;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
108;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
107;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
106;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
105;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
104;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
103;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
102;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
101;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
100;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
99;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
98;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
97;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
96;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
95;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
94;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
93;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
92;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
91;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
90;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
89;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
88;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
87;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
86;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
85;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
84;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
83;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
82;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
81;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
80;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
79;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
78;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
77;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
76;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
75;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
74;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
73;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
72;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
71;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
70;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
69;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
68;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
67;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
66;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
65;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
64;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
63;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
62;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
61;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
60;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
59;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
58;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
57;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
56;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
55;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
54;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
53;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
52;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
51;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
50;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
49;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
48;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
47;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
46;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
45;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
44;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
43;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
42;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
41;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
40;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
39;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
38;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
37;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
36;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
35;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
34;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
33;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
32;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
31;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
30;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
29;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
28;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
27;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
26;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
25;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
24;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
23;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
22;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
21;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
20;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
19;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
18;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
17;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
16;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
15;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
14;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
13;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
12;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
11;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
10;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
9;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
8;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
7;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
6;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
5;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
4;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
3;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
2;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
1;
create table t1 (n int not null primary key);
SET @@autocommit = 0;
insert into t1 values (4);
rollback;
select n, 'after rollback' from t1;
n	after rollback
insert into t1 values (4);
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
commit;
insert into t1 values (5);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
commit;
select n, 'after commit' from t1;
n	after commit
4	after commit
5	after commit
SET @@autocommit = 1;
insert into t1 values (6);
insert into t1 values (4);
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
select n from t1;
n
4
5
6
SET @@autocommit = 0;
DROP TABLE t1;
0;
*** Bug #209 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a bit);
DROP TABLE t1;
*** Bug #239 ***
SET @@storage_engine = Falcon;
DROP DATABASE IF EXISTS rechange;
CREATE DATABASE rechange;
USE rechange;
CREATE TABLE t1 (a int);
INSERT INTO t1 VALUES (239);
DROP DATABASE rechange;
USE test;
CREATE TABLE t1 (a int);
INSERT INTO t1 VALUES (239);
DROP TABLE t1;
*** Bug #133 ***
SET @@storage_engine = Falcon;
DROP VIEW IF EXISTS v5y;
CREATE VIEW v5y AS SELECT 1 AS ` `;
Warnings:
Warning	1548	Leading spaces are removed from name ' '
DROP VIEW v5y;
*** Bug #134 ***
SET @@storage_engine = Falcon;
SET names utf8;
DROP TABLE IF EXISTS Ã¤;
DROP TABLE IF EXISTS Ä±;
CREATE TABLE Ã¤ (Ã¤ int);
CREATE TABLE Ä± (Ä± int);
DROP TABLE Ã¤;
DROP TABLE Ä±;
*** Bug #135 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS i;
SET names utf8;
CREATE TABLE i (
i char(1) CHARACTER SET utf8 COLLATE utf8_turkish_ci
);
INSERT INTO i VALUES ('i'),('Ä±');
SELECT * FROM i WHERE i = 'i';
i
i
CREATE INDEX i ON i (i);
SELECT * FROM i WHERE i = 'i';
i
i
DROP TABLE i;
*** Bug #139 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t3;
CREATE TABLE t3 (
place_id int (10) unsigned,
ts timestamp, 
PRIMARY KEY (place_id, ts)
);
INSERT INTO t3 VALUES (1,20000928174434);
SELECT * FROM t3 WHERE place_id = 1 AND ts>='2000-09-28 00:00:00';
place_id	ts
1	2000-09-28 17:44:34
SELECT * FROM t3 WHERE place_id = 1 AND ts >= 20000928000000;
place_id	ts
1	2000-09-28 17:44:34
DROP TABLE t3;
*** Bug #140 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS ti;
SET @@autocommit = 1;
SELECT @@autocommit;
@@autocommit
1
CREATE TABLE ti (s1 int);
START TRANSACTION;
INSERT INTO ti VALUES (0);
ROLLBACK;
SELECT count(*) FROM ti;
count(*)
0
DROP TABLE ti;
*** Bug #150 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (
EMPNUM   CHAR(3) NOT NULL UNIQUE,
EMPNAME  CHAR(20),
GRADE    DECIMAL(4),
CITY     CHAR(15)
);
INSERT INTO t1 VALUES ('E1','Alice',12,'Deale');
SELECT EMPNUM,CITY FROM t1 WHERE EMPNUM='E1' OR NOT(EMPNUM='E1');
EMPNUM	CITY
E1	Deale
DROP TABLE t1;
*** Bug #155 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t2;
CREATE TABLE t2 (s1 varchar(5));
CREATE INDEX i2 ON t2 (s1(1));
INSERT INTO t2 VALUES ('b'),('ba');
SELECT * FROM t2 WHERE s1 = 'b';
s1
b
SELECT * FROM t2 WHERE s1 = 'ba';
s1
ba
DROP TABLE t2;
*** Bug #186 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t;
CREATE TABLE t (
s2 int(11) DEFAULT NULL,
s3 int(11) DEFAULT NULL,
KEY s2 (s2),
KEY s3 (s3)
);
INSERT INTO t VALUES (0,0),(1,1),(null,null);
SELECT * FROM t WHERE s2 IS NULL or s3 IS NULL;
s2	s3
NULL	NULL
DROP TABLE t;
*** Bug #187 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS tj23;
CREATE TABLE tj23 (
s1 decimal(20)
);
INSERT INTO tj23 VALUES (12345678901234567890);
SELECT * FROM tj23;
s1
12345678901234567890
DROP TABLE tj23;
*** Bug #188 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
# Establish connection con1 (root)
SET @@storage_engine = Falcon;
# Switch to connection default
SET @@tx_isolation = 'READ-COMMITTED';
SET @@autocommit = 0;
CREATE TABLE t1 (
s1 int,
s2 int,
PRIMARY KEY (s1)
);
INSERT INTO t1 VALUES (1,2);
# Switch to connection con1
SET @@tx_isolation = 'READ-COMMITTED';
SET @@autocommit = 0;
INSERT INTO t1 VALUES (1,2) ON DUPLICATE KEY UPDATE s2 = 5;
# Switch to connection default
COMMIT;
# Switch to connection con1
SELECT * FROM t1;
s1	s2
1	5
COMMIT;
DROP TABLE t1;
*** Bug #190 ***
SET @@storage_engine = Falcon;
DROP DATABASE IF EXISTS test_db;
CREATE DATABASE test_db;
USE test_db;
CREATE TABLE BASE_TESTREPORT (
TESTNO CHAR(4),
RESULT CHAR(4),
TESTTYPE CHAR(3)
);
DROP DATABASE test_db;
USE test;
*** Bug #191 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (EMPNUM    CHAR(3) NOT NULL,
EMPNAME  CHAR(20) DEFAULT NULL,
GRADE DECIMAL(4) NOT NULL ,
CITY   CHAR(15), PRIMARY KEY (GRADE));
INSERT INTO t1 (EMPNUM,EMPNAME,GRADE)
VALUES ('E3','Bill',151);
SELECT * FROM t1;
EMPNUM	EMPNAME	GRADE	CITY
E3	Bill	151	NULL
SELECT * FROM t1 WHERE GRADE= 151;
EMPNUM	EMPNAME	GRADE	CITY
E3	Bill	151	NULL
ALTER TABLE t1 DROP PRIMARY KEY;
SELECT * FROM t1;
EMPNUM	EMPNAME	GRADE	CITY
E3	Bill	151	NULL
SELECT * FROM t1 WHERE GRADE= 151;
EMPNUM	EMPNAME	GRADE	CITY
E3	Bill	151	NULL
DROP TABLE t1;
*** Bug #192 ***
SET @@storage_engine = Falcon;
DROP PROCEDURE IF EXISTS falcon4.pf3;
DROP DATABASE IF EXISTS falcon4;
CREATE DATABASE falcon4//
USE falcon4//
CREATE TABLE tf3 (
s1 int, 
s2 varchar(200)
)//
CREATE PROCEDURE pf3 () 
BEGIN 
declare v int default 0; 
while v < 2 
do 
alter table tf3 partition by range (s1) (partition p4 values less than maxvalue);
alter table tf3 remove partitioning;
set v = v + 1; 
end while; 
END//
CALL falcon4.pf3()//
DROP PROCEDURE falcon4.pf3;
DROP DATABASE falcon4;
USE test;
*** Bug #234 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t315;
CREATE TABLE t315 (s1 binary(5));
CREATE INDEX it315 ON t315 (s1);
INSERT INTO t315 VALUES (0x0001020300),(0x0001020300),(0x0001020300);
SELECT hex(s1) FROM t315 WHERE s1=0x0001020300;
hex(s1)
0001020300
0001020300
0001020300
DROP TABLE t315;
*** Bug #230 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t7;
CREATE TABLE t7 (s1 int);
CREATE INDEX it7 ON t7 (s1);
INSERT INTO t7 VALUES (null),(0),(1);
SELECT * FROM t7;
s1
NULL
0
1
SELECT * FROM t7 WHERE s1 IS NULL OR s1 = 0 OR s1 = 1;
s1
NULL
0
1
DROP TABLE t7;
CREATE TABLE t7 (s1 varchar(5));
CREATE INDEX it7 ON t7 (s1);
INSERT INTO t7 VALUES (null),(''),(' ');
SELECT * FROM t7;
s1
NULL

 
SELECT * FROM t7 WHERE s1 >= '' OR s1 IS NULL;
s1
NULL

 
DROP TABLE t7;
*** Bug #141 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 SELECT repeat('a',50) AS c1;
INSERT INTO t1 VALUES ('aaa');
SELECT * FROM t1 WHERE c1 LIKE 'aaa%';
c1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaa
ALTER TABLE t1 ADD index(c1(5));
SELECT * FROM t1 WHERE c1 LIKE 'aaa%';
c1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaa
DROP TABLE t1;
*** Bug #202 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
create table t1 (id int not null ,
name char(20) not null,
primary key (id));
insert into t1 (id, name) values (1, 'Tim'), (2, 'Monty');
select id, name from t1 order by id;
id	name
1	Tim
2	Monty
update ignore t1 set id = 8, name = 'Sinisa' where id < 3;
select count(*) from t1 where name = 'Sinisa';
count(*)
1
drop table t1;
create table t1 (id int unsigned not null auto_increment,
code tinyint unsigned not null, name char(20) not null,
primary key (id), key (code), unique (name));
insert into t1 (code, name) values (1, 'Tim'), (1, 'Monty');
select id, code, name from t1 order by id;
id	code	name
1	1	Tim
2	1	Monty
update ignore t1 set id = 8, name = 'Sinisa' where id < 3;
select count(*) from t1 where name = 'Sinisa';
count(*)
1
DROP TABLE t1;
*** Bug #200 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS testSavepoints;
SET @@autocommit = 1;
CREATE TABLE testSavepoints (field1 int);
SET @@autocommit = 0;
INSERT INTO testSavepoints VALUES (1);
SAVEPOINT `afterInsert`;
UPDATE testSavepoints SET field1=2;
SAVEPOINT `afterUpdate`;
DELETE FROM testSavepoints;
SELECT count(*) FROM testSavepoints;
count(*)
0
ROLLBACK TO SAVEPOINT afterUpdate;
SELECT count(*) FROM testSavepoints;
count(*)
1
DROP TABLE testSavepoints;
*** Bug #201 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
# If I remove the auto_increment, the crash on the update disappers
CREATE TABLE t1 (
id BIGINT NOT NULL auto_increment,
parent_id BIGINT,
PRIMARY KEY (id)
);
INSERT INTO t1 VALUES (9,2),(24,4);
# This UPDATE gets a crash
update t1 set parent_id=parent_id+100;
SELECT * FROM t1;
id	parent_id
9	102
24	104
DROP TABLE t1;
CREATE TABLE t1 (
id int(11) NOT NULL auto_increment,
parent_id int(11) DEFAULT '0' NOT NULL,
level tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (id),
KEY parent_id (parent_id),
KEY level (level)
);
INSERT INTO t1 VALUES (9,2,2),(24,4,2);
# This UPDATE gets a crash
update t1 set parent_id=parent_id+100;
update t1 set id=24 where id=9;
Got one of the listed errors
SELECT * FROM t1;
id	parent_id	level
9	102	2
24	104	2
DROP TABLE t1;
*** Bug #232 ***
SET @@storage_engine = Falcon;
DROP DATABASE IF EXISTS f12;
SET @@storage_engine = Falcon;
CREATE DATABASE f12;
USE f12;
SET @@autocommit = 0;
CREATE TABLE tf2 (s2 char(50));
COMMIT;
START TRANSACTION;
INSERT INTO tf2 VALUES ('The plain');
SAVEPOINT a;
UPDATE tf2 SET s2 = 'b';
ROLLBACK TO SAVEPOINT a;
SELECT * FROM tf2;
s2
The plain
COMMIT;
DROP DATABASE f12;
USE test;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (c1 int, c2 varchar(8));
INSERT INTO t1 VALUES (1, 'AAAAAAAA');
INSERT INTO t1 VALUES (2, 'BBBBBBBB');
BEGIN;
SELECT * FROM t1;
c1	c2
1	AAAAAAAA
2	BBBBBBBB
INSERT INTO t1 VALUES (3, 'CCCCCCCC');
UPDATE t1 SET c2 = lower(c2);
SAVEPOINT sp1;
SELECT * FROM t1;
c1	c2
1	aaaaaaaa
2	bbbbbbbb
3	cccccccc
UPDATE t1 SET c2 = upper(c2);
UPDATE t1 SET c2 = right(c2, 6);
SAVEPOINT sp2;
SELECT * FROM t1;
c1	c2
1	AAAAAA
2	BBBBBB
3	CCCCCC
UPDATE t1 SET c2 = lower(c2);
UPDATE t1 SET c2 = right(c2, 4);
DELETE FROM t1 WHERE c1 = 2;
Savepoint sp3;
SELECT * FROM t1;
c1	c2
1	aaaa
3	cccc
ROLLBACK TO SAVEPOINT sp1;
SELECT * FROM t1;
c1	c2
1	aaaaaaaa
2	bbbbbbbb
3	cccccccc
SAVEPOINT sp1;
ROLLBACK;
SELECT * FROM t1;
c1	c2
1	AAAAAAAA
2	BBBBBBBB
COMMIT;
DROP TABLE t1;
*** Bug #207 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1;
DROP PROCEDURE IF EXISTS p;
SET @@autocommit = 0//
create procedure p ()
begin
declare v int default 0;
declare continue handler for sqlexception begin end;
create table t1 (s1 int unique);
while v < 1000 do
insert into t1 values (v);
update t1 set s1 = s1 * 2;
select distinct v from t1;
set v = v + 1;
end while;
end;
//
call p()//
v
0
v
1
v
2
v
3
v
4
v
5
v
6
v
7
v
8
v
9
v
10
v
11
v
12
v
13
v
14
v
15
v
16
v
17
v
18
v
19
v
20
v
21
v
22
v
23
v
24
v
25
v
26
v
27
v
28
v
29
v
30
v
31
v
32
v
33
v
34
v
35
v
36
v
37
v
38
v
39
v
40
v
41
v
42
v
43
v
44
v
45
v
46
v
47
v
48
v
49
v
50
v
51
v
52
v
53
v
54
v
55
v
56
v
57
v
58
v
59
v
60
v
61
v
62
v
63
v
64
v
65
v
66
v
67
v
68
v
69
v
70
v
71
v
72
v
73
v
74
v
75
v
76
v
77
v
78
v
79
v
80
v
81
v
82
v
83
v
84
v
85
v
86
v
87
v
88
v
89
v
90
v
91
v
92
v
93
v
94
v
95
v
96
v
97
v
98
v
99
v
100
v
101
v
102
v
103
v
104
v
105
v
106
v
107
v
108
v
109
v
110
v
111
v
112
v
113
v
114
v
115
v
116
v
117
v
118
v
119
v
120
v
121
v
122
v
123
v
124
v
125
v
126
v
127
v
128
v
129
v
130
v
131
v
132
v
133
v
134
v
135
v
136
v
137
v
138
v
139
v
140
v
141
v
142
v
143
v
144
v
145
v
146
v
147
v
148
v
149
v
150
v
151
v
152
v
153
v
154
v
155
v
156
v
157
v
158
v
159
v
160
v
161
v
162
v
163
v
164
v
165
v
166
v
167
v
168
v
169
v
170
v
171
v
172
v
173
v
174
v
175
v
176
v
177
v
178
v
179
v
180
v
181
v
182
v
183
v
184
v
185
v
186
v
187
v
188
v
189
v
190
v
191
v
192
v
193
v
194
v
195
v
196
v
197
v
198
v
199
v
200
v
201
v
202
v
203
v
204
v
205
v
206
v
207
v
208
v
209
v
210
v
211
v
212
v
213
v
214
v
215
v
216
v
217
v
218
v
219
v
220
v
221
v
222
v
223
v
224
v
225
v
226
v
227
v
228
v
229
v
230
v
231
v
232
v
233
v
234
v
235
v
236
v
237
v
238
v
239
v
240
v
241
v
242
v
243
v
244
v
245
v
246
v
247
v
248
v
249
v
250
v
251
v
252
v
253
v
254
v
255
v
256
v
257
v
258
v
259
v
260
v
261
v
262
v
263
v
264
v
265
v
266
v
267
v
268
v
269
v
270
v
271
v
272
v
273
v
274
v
275
v
276
v
277
v
278
v
279
v
280
v
281
v
282
v
283
v
284
v
285
v
286
v
287
v
288
v
289
v
290
v
291
v
292
v
293
v
294
v
295
v
296
v
297
v
298
v
299
v
300
v
301
v
302
v
303
v
304
v
305
v
306
v
307
v
308
v
309
v
310
v
311
v
312
v
313
v
314
v
315
v
316
v
317
v
318
v
319
v
320
v
321
v
322
v
323
v
324
v
325
v
326
v
327
v
328
v
329
v
330
v
331
v
332
v
333
v
334
v
335
v
336
v
337
v
338
v
339
v
340
v
341
v
342
v
343
v
344
v
345
v
346
v
347
v
348
v
349
v
350
v
351
v
352
v
353
v
354
v
355
v
356
v
357
v
358
v
359
v
360
v
361
v
362
v
363
v
364
v
365
v
366
v
367
v
368
v
369
v
370
v
371
v
372
v
373
v
374
v
375
v
376
v
377
v
378
v
379
v
380
v
381
v
382
v
383
v
384
v
385
v
386
v
387
v
388
v
389
v
390
v
391
v
392
v
393
v
394
v
395
v
396
v
397
v
398
v
399
v
400
v
401
v
402
v
403
v
404
v
405
v
406
v
407
v
408
v
409
v
410
v
411
v
412
v
413
v
414
v
415
v
416
v
417
v
418
v
419
v
420
v
421
v
422
v
423
v
424
v
425
v
426
v
427
v
428
v
429
v
430
v
431
v
432
v
433
v
434
v
435
v
436
v
437
v
438
v
439
v
440
v
441
v
442
v
443
v
444
v
445
v
446
v
447
v
448
v
449
v
450
v
451
v
452
v
453
v
454
v
455
v
456
v
457
v
458
v
459
v
460
v
461
v
462
v
463
v
464
v
465
v
466
v
467
v
468
v
469
v
470
v
471
v
472
v
473
v
474
v
475
v
476
v
477
v
478
v
479
v
480
v
481
v
482
v
483
v
484
v
485
v
486
v
487
v
488
v
489
v
490
v
491
v
492
v
493
v
494
v
495
v
496
v
497
v
498
v
499
v
500
v
501
v
502
v
503
v
504
v
505
v
506
v
507
v
508
v
509
v
510
v
511
v
512
v
513
v
514
v
515
v
516
v
517
v
518
v
519
v
520
v
521
v
522
v
523
v
524
v
525
v
526
v
527
v
528
v
529
v
530
v
531
v
532
v
533
v
534
v
535
v
536
v
537
v
538
v
539
v
540
v
541
v
542
v
543
v
544
v
545
v
546
v
547
v
548
v
549
v
550
v
551
v
552
v
553
v
554
v
555
v
556
v
557
v
558
v
559
v
560
v
561
v
562
v
563
v
564
v
565
v
566
v
567
v
568
v
569
v
570
v
571
v
572
v
573
v
574
v
575
v
576
v
577
v
578
v
579
v
580
v
581
v
582
v
583
v
584
v
585
v
586
v
587
v
588
v
589
v
590
v
591
v
592
v
593
v
594
v
595
v
596
v
597
v
598
v
599
v
600
v
601
v
602
v
603
v
604
v
605
v
606
v
607
v
608
v
609
v
610
v
611
v
612
v
613
v
614
v
615
v
616
v
617
v
618
v
619
v
620
v
621
v
622
v
623
v
624
v
625
v
626
v
627
v
628
v
629
v
630
v
631
v
632
v
633
v
634
v
635
v
636
v
637
v
638
v
639
v
640
v
641
v
642
v
643
v
644
v
645
v
646
v
647
v
648
v
649
v
650
v
651
v
652
v
653
v
654
v
655
v
656
v
657
v
658
v
659
v
660
v
661
v
662
v
663
v
664
v
665
v
666
v
667
v
668
v
669
v
670
v
671
v
672
v
673
v
674
v
675
v
676
v
677
v
678
v
679
v
680
v
681
v
682
v
683
v
684
v
685
v
686
v
687
v
688
v
689
v
690
v
691
v
692
v
693
v
694
v
695
v
696
v
697
v
698
v
699
v
700
v
701
v
702
v
703
v
704
v
705
v
706
v
707
v
708
v
709
v
710
v
711
v
712
v
713
v
714
v
715
v
716
v
717
v
718
v
719
v
720
v
721
v
722
v
723
v
724
v
725
v
726
v
727
v
728
v
729
v
730
v
731
v
732
v
733
v
734
v
735
v
736
v
737
v
738
v
739
v
740
v
741
v
742
v
743
v
744
v
745
v
746
v
747
v
748
v
749
v
750
v
751
v
752
v
753
v
754
v
755
v
756
v
757
v
758
v
759
v
760
v
761
v
762
v
763
v
764
v
765
v
766
v
767
v
768
v
769
v
770
v
771
v
772
v
773
v
774
v
775
v
776
v
777
v
778
v
779
v
780
v
781
v
782
v
783
v
784
v
785
v
786
v
787
v
788
v
789
v
790
v
791
v
792
v
793
v
794
v
795
v
796
v
797
v
798
v
799
v
800
v
801
v
802
v
803
v
804
v
805
v
806
v
807
v
808
v
809
v
810
v
811
v
812
v
813
v
814
v
815
v
816
v
817
v
818
v
819
v
820
v
821
v
822
v
823
v
824
v
825
v
826
v
827
v
828
v
829
v
830
v
831
v
832
v
833
v
834
v
835
v
836
v
837
v
838
v
839
v
840
v
841
v
842
v
843
v
844
v
845
v
846
v
847
v
848
v
849
v
850
v
851
v
852
v
853
v
854
v
855
v
856
v
857
v
858
v
859
v
860
v
861
v
862
v
863
v
864
v
865
v
866
v
867
v
868
v
869
v
870
v
871
v
872
v
873
v
874
v
875
v
876
v
877
v
878
v
879
v
880
v
881
v
882
v
883
v
884
v
885
v
886
v
887
v
888
v
889
v
890
v
891
v
892
v
893
v
894
v
895
v
896
v
897
v
898
v
899
v
900
v
901
v
902
v
903
v
904
v
905
v
906
v
907
v
908
v
909
v
910
v
911
v
912
v
913
v
914
v
915
v
916
v
917
v
918
v
919
v
920
v
921
v
922
v
923
v
924
v
925
v
926
v
927
v
928
v
929
v
930
v
931
v
932
v
933
v
934
v
935
v
936
v
937
v
938
v
939
v
940
v
941
v
942
v
943
v
944
v
945
v
946
v
947
v
948
v
949
v
950
v
951
v
952
v
953
v
954
v
955
v
956
v
957
v
958
v
959
v
960
v
961
v
962
v
963
v
964
v
965
v
966
v
967
v
968
v
969
v
970
v
971
v
972
v
973
v
974
v
975
v
976
v
977
v
978
v
979
v
980
v
981
v
982
v
983
v
984
v
985
v
986
v
987
v
988
v
989
v
990
v
991
v
992
v
993
v
994
v
995
v
996
v
997
v
998
v
999
Warnings:
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 4
Warning	1264	Out of range value for column 's1' at row 2
Warning	1264	Out of range value for column 's1' at row 3
Warning	1264	Out of range value for column 's1' at row 3
DROP TABLE t1//
DROP PROCEDURE p//
*** Bug 216 ***
SET @@storage_engine = Falcon;
DROP TABLE IF EXISTS t1, t2;
create table t1 (a int not null, b int, primary key (a));
create table t2 (a int not null, b int, primary key (a));
insert into t1 values (10, 20);
insert into t2 values (10, 20);
update t1, t2 set t1.b = 150, t2.b = t1.b where t2.a = t1.a and t1.a = 10;
select count(*) from t1 where b = 150;
count(*)
1
select count(*) from t2 where b = 150;
count(*)
1
DROP TABLE t1, t2;
