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
2a89d99d
Commit
2a89d99d
authored
Apr 26, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test for violation of uniqueness constraint at create index
parent
09999bc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/r/ndb_index_unique.result
mysql-test/r/ndb_index_unique.result
+2
-0
mysql-test/t/ndb_index_unique.test
mysql-test/t/ndb_index_unique.test
+2
-2
No files found.
mysql-test/r/ndb_index_unique.result
View file @
2a89d99d
...
...
@@ -45,6 +45,8 @@ a b c
8 2 3
alter table t1 drop index ib;
insert into t1 values(1, 2, 3);
create unique index ib on t1(b);
ERROR 23000: Can't write, because of unique constraint, to table 't1'
drop table t1;
CREATE TABLE t1 (
a int unsigned NOT NULL PRIMARY KEY,
...
...
mysql-test/t/ndb_index_unique.test
View file @
2a89d99d
...
...
@@ -32,8 +32,8 @@ select * from t1 order by a;
alter
table
t1
drop
index
ib
;
insert
into
t1
values
(
1
,
2
,
3
);
# Bug# #18129
#
--error 1169
#
create unique index ib on t1(b);
--
error
1169
create
unique
index
ib
on
t1
(
b
);
drop
table
t1
;
...
...
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