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
fa2673f1
Commit
fa2673f1
authored
Jun 20, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #17297 Fix error messages
parent
c782aadd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
storage/ndb/include/mgmapi/ndbd_exit_codes.h
storage/ndb/include/mgmapi/ndbd_exit_codes.h
+4
-0
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+3
-2
storage/ndb/src/kernel/error/ndbd_exit_codes.c
storage/ndb/src/kernel/error/ndbd_exit_codes.c
+1
-0
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+1
-0
No files found.
storage/ndb/include/mgmapi/ndbd_exit_codes.h
View file @
fa2673f1
...
@@ -77,6 +77,7 @@ typedef ndbd_exit_classification_enum ndbd_exit_classification;
...
@@ -77,6 +77,7 @@ typedef ndbd_exit_classification_enum ndbd_exit_classification;
#define NDBD_EXIT_SR_RESTARTCONFLICT 2311
#define NDBD_EXIT_SR_RESTARTCONFLICT 2311
#define NDBD_EXIT_NO_MORE_UNDOLOG 2312
#define NDBD_EXIT_NO_MORE_UNDOLOG 2312
#define NDBD_EXIT_SR_UNDOLOG 2313
#define NDBD_EXIT_SR_UNDOLOG 2313
#define NDBD_EXIT_SR_SCHEMAFILE 2310
#define NDBD_EXIT_MEMALLOC 2327
#define NDBD_EXIT_MEMALLOC 2327
#define NDBD_EXIT_BLOCK_JBUFCONGESTION 2334
#define NDBD_EXIT_BLOCK_JBUFCONGESTION 2334
#define NDBD_EXIT_TIME_QUEUE_SHORT 2335
#define NDBD_EXIT_TIME_QUEUE_SHORT 2335
...
@@ -91,6 +92,9 @@ typedef ndbd_exit_classification_enum ndbd_exit_classification;
...
@@ -91,6 +92,9 @@ typedef ndbd_exit_classification_enum ndbd_exit_classification;
#define NDBD_EXIT_INVALID_CONFIG 2350
#define NDBD_EXIT_INVALID_CONFIG 2350
#define NDBD_EXIT_OUT_OF_LONG_SIGNAL_MEMORY 2351
#define NDBD_EXIT_OUT_OF_LONG_SIGNAL_MEMORY 2351
/* Errorcodes for fatal resource errors */
#define NDBD_EXIT_RESOURCE_ALLOC_ERROR 2500
#define NDBD_EXIT_OS_SIGNAL_RECEIVED 6000
#define NDBD_EXIT_OS_SIGNAL_RECEIVED 6000
/* VM 6050-> */
/* VM 6050-> */
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
fa2673f1
...
@@ -1355,10 +1355,11 @@ void Dbdict::readSchemaConf(Signal* signal,
...
@@ -1355,10 +1355,11 @@ void Dbdict::readSchemaConf(Signal* signal,
sf
->
FileSize
==
sf0
->
FileSize
&&
sf
->
FileSize
==
sf0
->
FileSize
&&
sf
->
PageNumber
==
n
&&
sf
->
PageNumber
==
n
&&
computeChecksum
((
Uint32
*
)
sf
,
NDB_SF_PAGE_SIZE_IN_WORDS
)
==
0
;
computeChecksum
((
Uint32
*
)
sf
,
NDB_SF_PAGE_SIZE_IN_WORDS
)
==
0
;
ndbrequire
(
ok
||
!
crashInd
);
ndbrequire
Err
(
ok
||
!
crashInd
,
NDBD_EXIT_SR_SCHEMAFILE
);
if
(
!
ok
)
{
if
(
!
ok
)
{
jam
();
jam
();
ndbrequire
(
fsPtr
.
p
->
fsState
==
FsConnectRecord
::
READ_SCHEMA1
);
ndbrequireErr
(
fsPtr
.
p
->
fsState
==
FsConnectRecord
::
READ_SCHEMA1
,
NDBD_EXIT_SR_SCHEMAFILE
);
readSchemaRef
(
signal
,
fsPtr
);
readSchemaRef
(
signal
,
fsPtr
);
return
;
return
;
}
}
...
...
storage/ndb/src/kernel/error/ndbd_exit_codes.c
View file @
fa2673f1
...
@@ -59,6 +59,7 @@ static const ErrStruct errArray[] =
...
@@ -59,6 +59,7 @@ static const ErrStruct errArray[] =
{
NDBD_EXIT_NODE_NOT_DEAD
,
XRE
,
"Internal node state conflict, "
{
NDBD_EXIT_NODE_NOT_DEAD
,
XRE
,
"Internal node state conflict, "
"most probably resolved by restarting node again"
},
"most probably resolved by restarting node again"
},
{
NDBD_EXIT_SR_REDOLOG
,
XFI
,
"Error while reading the REDO log"
},
{
NDBD_EXIT_SR_REDOLOG
,
XFI
,
"Error while reading the REDO log"
},
{
NDBD_EXIT_SR_SCHEMAFILE
,
XFI
,
"Error while reading the schema file"
},
/* Currently unused? */
/* Currently unused? */
{
2311
,
XIE
,
"Conflict when selecting restart type"
},
{
2311
,
XIE
,
"Conflict when selecting restart type"
},
{
NDBD_EXIT_NO_MORE_UNDOLOG
,
XCR
,
{
NDBD_EXIT_NO_MORE_UNDOLOG
,
XCR
,
...
...
storage/ndb/src/ndbapi/ndberror.c
View file @
fa2673f1
...
@@ -344,6 +344,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -344,6 +344,7 @@ ErrorBundle ErrorCodes[] = {
/**
/**
* SchemaError
* SchemaError
*/
*/
{
311
,
DMEC
,
IE
,
"Undefined fragment"
},
{
703
,
DMEC
,
SE
,
"Invalid table format"
},
{
703
,
DMEC
,
SE
,
"Invalid table format"
},
{
704
,
DMEC
,
SE
,
"Attribute name too long"
},
{
704
,
DMEC
,
SE
,
"Attribute name too long"
},
{
705
,
DMEC
,
SE
,
"Table name too long"
},
{
705
,
DMEC
,
SE
,
"Table name too long"
},
...
...
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