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
bafba788
Commit
bafba788
authored
Nov 17, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB-766 add reproducer
parent
3fbe68e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
mysql-test/suite/tokudb.bugs/r/db766.result
mysql-test/suite/tokudb.bugs/r/db766.result
+7
-0
mysql-test/suite/tokudb.bugs/t/db766.test
mysql-test/suite/tokudb.bugs/t/db766.test
+12
-0
No files found.
mysql-test/suite/tokudb.bugs/r/db766.result
0 → 100644
View file @
bafba788
set default_storage_engine=TokuDB;
drop table if exists t1;
CREATE TABLE t1(c1 INT,c2 CHAR)PARTITION BY KEY(c1) PARTITIONS 5;
insert INTO t1 values(1,1),(2,1),(2,2),(2,3);
ALTER TABLE t1 ADD UNIQUE INDEX i1(c1);
ERROR 23000: Can't write; duplicate key in table 't1'
drop table t1;
mysql-test/suite/tokudb.bugs/t/db766.test
0 → 100644
View file @
bafba788
# reproducer for DB-766
source
include
/
have_tokudb
.
inc
;
source
include
/
have_partition
.
inc
;
set
default_storage_engine
=
TokuDB
;
disable_warnings
;
drop
table
if
exists
t1
;
enable_warnings
;
CREATE
TABLE
t1
(
c1
INT
,
c2
CHAR
)
PARTITION
BY
KEY
(
c1
)
PARTITIONS
5
;
insert
INTO
t1
values
(
1
,
1
),(
2
,
1
),(
2
,
2
),(
2
,
3
);
--
error
ER_DUP_KEY
ALTER
TABLE
t1
ADD
UNIQUE
INDEX
i1
(
c1
);
drop
table
t1
;
\ No newline at end of file
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