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
5ebe4f37
Commit
5ebe4f37
authored
Mar 09, 2006
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed error code mapping for unique constraint violation
parent
adb6c4de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+2
-2
No files found.
storage/ndb/src/ndbapi/ndberror.c
View file @
5ebe4f37
...
...
@@ -112,7 +112,7 @@ ErrorBundle ErrorCodes[] = {
{
630
,
HA_ERR_FOUND_DUPP_KEY
,
CV
,
"Tuple already existed when attempting to insert"
},
{
839
,
DMEC
,
CV
,
"Illegal null attribute"
},
{
840
,
DMEC
,
CV
,
"Trying to set a NOT NULL attribute to NULL"
},
{
893
,
HA_ERR_FOUND_DUPP_
KEY
,
CV
,
"Constraint violation e.g. duplicate value in unique index"
},
{
893
,
HA_ERR_FOUND_DUPP_
UNIQUE
,
CV
,
"Constraint violation e.g. duplicate value in unique index"
},
/**
* Node recovery errors
...
...
@@ -577,7 +577,7 @@ ErrorBundle ErrorCodes[] = {
{
4248
,
DMEC
,
AE
,
"Trigger/index name invalid"
},
{
4249
,
DMEC
,
AE
,
"Invalid table"
},
{
4250
,
DMEC
,
AE
,
"Invalid index type or index logging option"
},
{
4251
,
DMEC
,
AE
,
"Cannot create unique index, duplicate keys found"
},
{
4251
,
HA_ERR_FOUND_DUPP_UNIQUE
,
AE
,
"Cannot create unique index, duplicate keys found"
},
{
4252
,
DMEC
,
AE
,
"Failed to allocate space for index"
},
{
4253
,
DMEC
,
AE
,
"Failed to create index table"
},
{
4254
,
DMEC
,
AE
,
"Table not an index table"
},
...
...
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