Commit a403d7d3 authored by Rich Prohaska's avatar Rich Prohaska

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

parent 67f6b32a
set default_storage_engine=tokudb; set default_storage_engine=tokudb;
drop table if exists t; drop table if exists t;
create table t (id int, unique key(id)); create table t (id int, unique key(id));
set tokudb_prelock_empty=OFF;
begin; begin;
insert into t values (1); insert into t values (1);
begin; begin;
...@@ -13,6 +14,7 @@ id ...@@ -13,6 +14,7 @@ id
2 2
drop table if exists t; drop table if exists t;
create table t (id int not null, unique key(id)); create table t (id int not null, unique key(id));
set tokudb_prelock_empty=OFF;
begin; begin;
insert into t values (1); insert into t values (1);
begin; begin;
......
...@@ -7,6 +7,7 @@ enable_warnings; ...@@ -7,6 +7,7 @@ enable_warnings;
create table t (id int, unique key(id)); create table t (id int, unique key(id));
connect(c1,localhost,root,,); connect(c1,localhost,root,,);
set tokudb_prelock_empty=OFF; # disable the tokudb bulk loader
begin; begin;
insert into t values (1); insert into t values (1);
connect(c2,localhost,root,,); connect(c2,localhost,root,,);
...@@ -24,6 +25,7 @@ drop table if exists t; ...@@ -24,6 +25,7 @@ drop table if exists t;
create table t (id int not null, unique key(id)); create table t (id int not null, unique key(id));
connect(c1,localhost,root,,); connect(c1,localhost,root,,);
set tokudb_prelock_empty=OFF; # disable the tokudb bulk loader
begin; begin;
insert into t values (1); insert into t values (1);
connect(c2,localhost,root,,); connect(c2,localhost,root,,);
......
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