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
e2eed1c5
Commit
e2eed1c5
authored
Feb 24, 2009
by
Chad MILLER
Browse files
Options
Browse Files
Download
Plain Diff
Merge bug 39370 fix from bug tree.
parents
11b20f27
00aa5ad5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
extra/perror.c
extra/perror.c
+11
-0
include/my_base.h
include/my_base.h
+1
-0
No files found.
extra/perror.c
View file @
e2eed1c5
...
...
@@ -97,6 +97,17 @@ static HA_ERRORS ha_errlist[]=
{
150
,
"Foreign key constraint is incorrectly formed"
},
{
151
,
"Cannot add a child row"
},
{
152
,
"Cannot delete a parent row"
},
{
153
,
"No savepoint with that name"
},
{
154
,
"Non unique key block size"
},
{
155
,
"The table does not exist in engine"
},
{
156
,
"The table existed in storage engine"
},
{
157
,
"Could not connect to storage engine"
},
{
158
,
"NULLs are not supported in spatial index"
},
{
159
,
"The table changed in storage engine"
},
{
160
,
"The table changed in storage engine"
},
{
161
,
"The table is not writable"
},
{
162
,
"Failed to get the next autoinc value"
},
{
163
,
"Failed to set the row autoinc value"
},
{
-
30999
,
"DB_INCOMPLETE: Sync didn't finish"
},
{
-
30998
,
"DB_KEYEMPTY: Key/data deleted or never created"
},
{
-
30997
,
"DB_KEYEXIST: The key/data pair already exists"
},
...
...
include/my_base.h
View file @
e2eed1c5
...
...
@@ -377,6 +377,7 @@ enum ha_base_keytype {
#define HA_ERR_TABLE_READONLY 161
/* The table is not writable */
#define HA_ERR_AUTOINC_READ_FAILED 162
/* Failed to get the next autoinc value */
#define HA_ERR_AUTOINC_ERANGE 163
/* Failed to set the row autoinc value */
/* You must also add numbers and description to extra/perror.c ! */
#define HA_ERR_LAST 163
/*Copy last error nr.*/
/* Add error numbers before HA_ERR_LAST and change it accordingly. */
...
...
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