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

explicit BEGIN.
This commit is contained in:
sunny 2008-07-21 08:43:54 +00:00
parent afb44e21e2
commit 131eb3b2e1
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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));