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
63814890
Commit
63814890
authored
Oct 16, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #21072 Duplicate key error in NDB references wrong key: re-generated test results
parent
8a88e57c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/ndb_charset.result
mysql-test/r/ndb_charset.result
+2
-2
mysql-test/r/ndb_index_unique.result
mysql-test/r/ndb_index_unique.result
+1
-1
No files found.
mysql-test/r/ndb_charset.result
View file @
63814890
...
@@ -138,9 +138,9 @@ unique key(a)
...
@@ -138,9 +138,9 @@ unique key(a)
) engine=ndb;
) engine=ndb;
insert into t1 values (1,'A'),(2,'b '),(3,'C '),(4,'d '),(5,'E'),(6,'f');
insert into t1 values (1,'A'),(2,'b '),(3,'C '),(4,'d '),(5,'E'),(6,'f');
insert into t1 values(99,'b');
insert into t1 values(99,'b');
ERROR 23000: Duplicate entry '
99' for key 1
ERROR 23000: Duplicate entry '
' for key 0
insert into t1 values(99,'a ');
insert into t1 values(99,'a ');
ERROR 23000: Duplicate entry '
99' for key 1
ERROR 23000: Duplicate entry '
' for key 0
select a,length(a) from t1 order by a;
select a,length(a) from t1 order by a;
a length(a)
a length(a)
A 1
A 1
...
...
mysql-test/r/ndb_index_unique.result
View file @
63814890
...
@@ -630,7 +630,7 @@ create table t1 (a int primary key, b varchar(1000) not null, unique key (b))
...
@@ -630,7 +630,7 @@ create table t1 (a int primary key, b varchar(1000) not null, unique key (b))
engine=ndb charset=utf8;
engine=ndb charset=utf8;
insert into t1 values (1, repeat(_utf8 0xe288ab6474, 200));
insert into t1 values (1, repeat(_utf8 0xe288ab6474, 200));
insert into t1 values (2, repeat(_utf8 0xe288ab6474, 200));
insert into t1 values (2, repeat(_utf8 0xe288ab6474, 200));
ERROR 23000: Duplicate entry '
2' for key 1
ERROR 23000: Duplicate entry '
' for key 0
select a, sha1(b) from t1;
select a, sha1(b) from t1;
a sha1(b)
a sha1(b)
1 08f5d02c8b8bc244f275bdfc22c42c5cab0d9d7d
1 08f5d02c8b8bc244f275bdfc22c42c5cab0d9d7d
...
...
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