Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a403d7d3
Commit
a403d7d3
authored
May 12, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#231 change lock_uniq_key_empty test to work without the bulk insert avoidance patch
parent
67f6b32a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mysql-test/suite/tokudb.bugs/r/lock_uniq_key_empty.result
mysql-test/suite/tokudb.bugs/r/lock_uniq_key_empty.result
+2
-0
mysql-test/suite/tokudb.bugs/t/lock_uniq_key_empty.test
mysql-test/suite/tokudb.bugs/t/lock_uniq_key_empty.test
+2
-0
No files found.
mysql-test/suite/tokudb.bugs/r/lock_uniq_key_empty.result
View file @
a403d7d3
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;
...
...
mysql-test/suite/tokudb.bugs/t/lock_uniq_key_empty.test
View file @
a403d7d3
...
@@ -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
,,);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment