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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
965f06cc
Commit
965f06cc
authored
Mar 09, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed error code mapping for unique constraint violation
parent
3d3d366d
Changes
1
Hide 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 @
965f06cc
...
@@ -112,7 +112,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -112,7 +112,7 @@ ErrorBundle ErrorCodes[] = {
{
630
,
HA_ERR_FOUND_DUPP_KEY
,
CV
,
"Tuple already existed when attempting to insert"
},
{
630
,
HA_ERR_FOUND_DUPP_KEY
,
CV
,
"Tuple already existed when attempting to insert"
},
{
839
,
DMEC
,
CV
,
"Illegal null attribute"
},
{
839
,
DMEC
,
CV
,
"Illegal null attribute"
},
{
840
,
DMEC
,
CV
,
"Trying to set a NOT NULL attribute to NULL"
},
{
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
* Node recovery errors
...
@@ -577,7 +577,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -577,7 +577,7 @@ ErrorBundle ErrorCodes[] = {
{
4248
,
DMEC
,
AE
,
"Trigger/index name invalid"
},
{
4248
,
DMEC
,
AE
,
"Trigger/index name invalid"
},
{
4249
,
DMEC
,
AE
,
"Invalid table"
},
{
4249
,
DMEC
,
AE
,
"Invalid table"
},
{
4250
,
DMEC
,
AE
,
"Invalid index type or index logging option"
},
{
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"
},
{
4252
,
DMEC
,
AE
,
"Failed to allocate space for index"
},
{
4253
,
DMEC
,
AE
,
"Failed to create index table"
},
{
4253
,
DMEC
,
AE
,
"Failed to create index table"
},
{
4254
,
DMEC
,
AE
,
"Table not an 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