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
fb9681b9
Commit
fb9681b9
authored
May 08, 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
09a28474
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 @
fb9681b9
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;
...
...
mysql-test/suite/tokudb.bugs/t/lock_uniq_key_empty.test
View file @
fb9681b9
...
...
@@ -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
,,);
...
...
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