summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-02-24 12:05:37 +0200
committerChad MILLER <chad@mysql.com>2009-02-24 12:05:37 +0200
commitdb076da82adec94176472289a76bf9c94f1bd4ac (patch)
tree417ba9695da3cd9e412246025ad395373d1455c1 /extra
parenteecf716a833990408e14b3aff13509e11dd80cac (diff)
downloadmariadb-git-db076da82adec94176472289a76bf9c94f1bd4ac.tar.gz
Bug#39370: wrong output for error code 153
Add all HA error numbers and descriptions to perror. Add reminder to header. This is already fixed in smarter ways in future codebases, and this codebase is unlikely to change, since new development is forbidden here.
Diffstat (limited to 'extra')
-rw-r--r--extra/perror.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/perror.c b/extra/perror.c
index 37d6b45c8dd..ba638aca819 100644
--- a/extra/perror.c
+++ b/extra/perror.c
@@ -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"},