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
0290aad3
Commit
0290aad3
authored
Jan 09, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added some doxygen docs
removed unused error codes
parent
3fbb1dd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
ndb/include/mgmapi/mgmapi.h
ndb/include/mgmapi/mgmapi.h
+17
-6
No files found.
ndb/include/mgmapi/mgmapi.h
View file @
0290aad3
...
@@ -123,35 +123,49 @@ extern "C" {
...
@@ -123,35 +123,49 @@ extern "C" {
* Error codes
* Error codes
*/
*/
enum
ndb_mgm_error
{
enum
ndb_mgm_error
{
/** Not an error */
NDB_MGM_NO_ERROR
=
0
,
NDB_MGM_NO_ERROR
=
0
,
/* Request for service errors */
/* Request for service errors */
/** Supplied connectstring is illegal */
NDB_MGM_ILLEGAL_CONNECT_STRING
=
1001
,
NDB_MGM_ILLEGAL_CONNECT_STRING
=
1001
,
NDB_MGM_ILLEGAL_PORT_NUMBER
=
1002
,
/** Supplied NdbMgmHandle is illegal */
NDB_MGM_ILLEGAL_SOCKET
=
1003
,
NDB_MGM_ILLEGAL_IP_ADDRESS
=
1004
,
NDB_MGM_ILLEGAL_SERVER_HANDLE
=
1005
,
NDB_MGM_ILLEGAL_SERVER_HANDLE
=
1005
,
/** Illegal reply from server */
NDB_MGM_ILLEGAL_SERVER_REPLY
=
1006
,
NDB_MGM_ILLEGAL_SERVER_REPLY
=
1006
,
/** Illegal number of nodes */
NDB_MGM_ILLEGAL_NUMBER_OF_NODES
=
1007
,
NDB_MGM_ILLEGAL_NUMBER_OF_NODES
=
1007
,
/** Illegal node status */
NDB_MGM_ILLEGAL_NODE_STATUS
=
1008
,
NDB_MGM_ILLEGAL_NODE_STATUS
=
1008
,
/** Memory allocation error */
NDB_MGM_OUT_OF_MEMORY
=
1009
,
NDB_MGM_OUT_OF_MEMORY
=
1009
,
/** Management server not connected */
NDB_MGM_SERVER_NOT_CONNECTED
=
1010
,
NDB_MGM_SERVER_NOT_CONNECTED
=
1010
,
/** Could not connect to socker */
NDB_MGM_COULD_NOT_CONNECT_TO_SOCKET
=
1011
,
NDB_MGM_COULD_NOT_CONNECT_TO_SOCKET
=
1011
,
/* Service errors - Start/Stop Node or System */
/* Service errors - Start/Stop Node or System */
/** Start failed */
NDB_MGM_START_FAILED
=
2001
,
NDB_MGM_START_FAILED
=
2001
,
/** Stop failed */
NDB_MGM_STOP_FAILED
=
2002
,
NDB_MGM_STOP_FAILED
=
2002
,
/** Restart failed */
NDB_MGM_RESTART_FAILED
=
2003
,
NDB_MGM_RESTART_FAILED
=
2003
,
/* Service errors - Backup */
/* Service errors - Backup */
/** Unable to start backup */
NDB_MGM_COULD_NOT_START_BACKUP
=
3001
,
NDB_MGM_COULD_NOT_START_BACKUP
=
3001
,
/** Unable to abort backup */
NDB_MGM_COULD_NOT_ABORT_BACKUP
=
3002
,
NDB_MGM_COULD_NOT_ABORT_BACKUP
=
3002
,
/* Service errors - Single User Mode */
/* Service errors - Single User Mode */
/** Unable to enter single user mode */
NDB_MGM_COULD_NOT_ENTER_SINGLE_USER_MODE
=
4001
,
NDB_MGM_COULD_NOT_ENTER_SINGLE_USER_MODE
=
4001
,
/** Unable to exit single user mode */
NDB_MGM_COULD_NOT_EXIT_SINGLE_USER_MODE
=
4002
,
NDB_MGM_COULD_NOT_EXIT_SINGLE_USER_MODE
=
4002
,
/* Usage errors */
/* Usage errors */
/** Usage error */
NDB_MGM_USAGE_ERROR
=
5001
NDB_MGM_USAGE_ERROR
=
5001
};
};
...
@@ -165,9 +179,6 @@ extern "C" {
...
@@ -165,9 +179,6 @@ extern "C" {
/* Request for service errors */
/* Request for service errors */
{
NDB_MGM_ILLEGAL_CONNECT_STRING
,
"Illegal connect string"
},
{
NDB_MGM_ILLEGAL_CONNECT_STRING
,
"Illegal connect string"
},
{
NDB_MGM_ILLEGAL_PORT_NUMBER
,
"Illegal port number"
},
{
NDB_MGM_ILLEGAL_SOCKET
,
"Illegal socket"
},
{
NDB_MGM_ILLEGAL_IP_ADDRESS
,
"Illegal IP address"
},
{
NDB_MGM_ILLEGAL_SERVER_HANDLE
,
"Illegal server handle"
},
{
NDB_MGM_ILLEGAL_SERVER_HANDLE
,
"Illegal server handle"
},
{
NDB_MGM_ILLEGAL_SERVER_REPLY
,
"Illegal reply from server"
},
{
NDB_MGM_ILLEGAL_SERVER_REPLY
,
"Illegal reply from server"
},
{
NDB_MGM_ILLEGAL_NUMBER_OF_NODES
,
"Illegal number of nodes"
},
{
NDB_MGM_ILLEGAL_NUMBER_OF_NODES
,
"Illegal number of nodes"
},
...
...
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