Commit 131eb3b2 authored by sunny's avatar sunny

branches/zip: The test for issue#36 assumed that AUTOCOMMIT=OFF. Add an

explicit BEGIN.
parent afb44e21
...@@ -134,6 +134,7 @@ drop table t1; ...@@ -134,6 +134,7 @@ drop table t1;
create table t1( c1 int not null, c2 blob, c3 blob, c4 blob, create table t1( c1 int not null, c2 blob, c3 blob, c4 blob,
primary key(c1, c2(22), c3(22))) primary key(c1, c2(22), c3(22)))
engine = innodb row_format = dynamic; engine = innodb row_format = dynamic;
begin;
insert into t1 values(1, repeat('A', 20000), repeat('B', 20000), insert into t1 values(1, repeat('A', 20000), repeat('B', 20000),
repeat('C', 20000)); repeat('C', 20000));
update t1 set c3 = repeat('D', 20000) where c1 = 1; update t1 set c3 = repeat('D', 20000) where c1 = 1;
......
...@@ -107,7 +107,7 @@ drop table t1; ...@@ -107,7 +107,7 @@ drop table t1;
create table t1( c1 int not null, c2 blob, c3 blob, c4 blob, create table t1( c1 int not null, c2 blob, c3 blob, c4 blob,
primary key(c1, c2(22), c3(22))) primary key(c1, c2(22), c3(22)))
engine = innodb row_format = dynamic; engine = innodb row_format = dynamic;
begin;
insert into t1 values(1, repeat('A', 20000), repeat('B', 20000), insert into t1 values(1, repeat('A', 20000), repeat('B', 20000),
repeat('C', 20000)); repeat('C', 20000));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment