#231 change lock_uniq_key_empty test to work without the bulk insert avoidance patch

This commit is contained in:
Rich Prohaska 2014-05-08 17:39:29 -04:00
parent bfb0a4dd87
commit 749b290e64
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,7 @@
set default_storage_engine=tokudb;
drop table if exists t;
create table t (id int, unique key(id));
set tokudb_prelock_empty=OFF;
begin;
insert into t values (1);
begin;
@ -13,6 +14,7 @@ id
2
drop table if exists t;
create table t (id int not null, unique key(id));
set tokudb_prelock_empty=OFF;
begin;
insert into t values (1);
begin;

View file

@ -7,6 +7,7 @@ enable_warnings;
create table t (id int, unique key(id));
connect(c1,localhost,root,,);
set tokudb_prelock_empty=OFF; # disable the tokudb bulk loader
begin;
insert into t values (1);
connect(c2,localhost,root,,);
@ -24,6 +25,7 @@ drop table if exists t;
create table t (id int not null, unique key(id));
connect(c1,localhost,root,,);
set tokudb_prelock_empty=OFF; # disable the tokudb bulk loader
begin;
insert into t values (1);
connect(c2,localhost,root,,);