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
3fbb1dd5
Commit
3fbb1dd5
authored
Jan 09, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated some mgmapi docs
parent
39aa7b10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
+21
-9
ndb/include/mgmapi/mgmapi.h
ndb/include/mgmapi/mgmapi.h
+20
-9
ndb/src/mgmapi/mgmapi.cpp
ndb/src/mgmapi/mgmapi.cpp
+1
-0
No files found.
ndb/include/mgmapi/mgmapi.h
View file @
3fbb1dd5
...
...
@@ -464,6 +464,15 @@ extern "C" {
* @param connect_string Connect string to the management server,
*
* @return -1 on error.
*
* @code
* <connectstring> := [<nodeid-specification>,]<host-specification>[,<host-specification>]
* <nodeid-specification> := nodeid=<id>
* <host-specification> := <host>[:<port>]
* <id> is an integer larger than 1 identifying a node in config.ini
* <port> is an integer referring to a regular unix port
* <host> is a string which is a valid Internet host address
* @endcode
*/
int
ndb_mgm_set_connectstring
(
NdbMgmHandle
handle
,
const
char
*
connect_string
);
...
...
@@ -471,8 +480,8 @@ extern "C" {
/**
* Get connectstring used for connection
*
* @note returns what the connectstring defaults to if the
above call has
* not been performed
* @note returns what the connectstring defaults to if the
* n
db_mgm_set_connectstring() call has n
ot been performed
*
* @param handle Management handle
*
...
...
@@ -481,7 +490,8 @@ extern "C" {
const
char
*
ndb_mgm_get_connectstring
(
NdbMgmHandle
handle
,
char
*
buf
,
int
buf_sz
);
/**
* Connect to a management server
* Connect to a management server. Coonect string is set by
* ndb_mgm_set_connectstring().
*
* @param handle Management handle.
* @return -1 on error.
...
...
@@ -502,7 +512,8 @@ extern "C" {
*
* @param handle Management handle
*
* @return node id
* @return node id, 0 indicated that no nodeid has been
* specified
*/
int
ndb_mgm_get_configuration_nodeid
(
NdbMgmHandle
handle
);
...
...
@@ -524,6 +535,7 @@ extern "C" {
*/
const
char
*
ndb_mgm_get_connected_host
(
NdbMgmHandle
handle
);
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/** @} *********************************************************************/
/**
* @name Functions: Convert between different data formats
...
...
@@ -572,7 +584,6 @@ extern "C" {
const
char
*
ndb_mgm_get_node_status_string
(
enum
ndb_mgm_node_status
status
);
const
char
*
ndb_mgm_get_clusterlog_level_string
(
enum
ndb_mgm_clusterlog_level
);
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
ndb_mgm_event_category
ndb_mgm_match_event_category
(
const
char
*
);
const
char
*
ndb_mgm_get_event_category_string
(
enum
ndb_mgm_event_category
);
#endif
...
...
@@ -799,9 +810,9 @@ extern "C" {
* Start backup
*
* @param handle NDB management handle.
* @param wait_completed 0=don't wait for confirmation
1=wait for backup started
2=wait for backup completed
* @param wait_completed 0=don't wait for confirmation
,
* 1=wait for backup started,
*
2=wait for backup completed
* @param backup_id Backup id is returned from function.
* @param reply Reply message.
* @return -1 on error.
...
...
@@ -861,7 +872,7 @@ extern "C" {
* Get configuration
* @param handle NDB management handle.
* @param version Version of configuration, 0 means latest
*
@see MAKE_VERSION
*
(which is the only supported input at this point)
*
* @return configuration
*
...
...
ndb/src/mgmapi/mgmapi.cpp
View file @
3fbb1dd5
...
...
@@ -1045,6 +1045,7 @@ struct ndb_mgm_event_categories
{
"CHECKPOINT"
,
NDB_MGM_EVENT_CATEGORY_CHECKPOINT
},
{
"DEBUG"
,
NDB_MGM_EVENT_CATEGORY_DEBUG
},
{
"INFO"
,
NDB_MGM_EVENT_CATEGORY_INFO
},
{
"WARNING"
,
NDB_MGM_EVENT_CATEGORY_WARNING
},
{
"ERROR"
,
NDB_MGM_EVENT_CATEGORY_ERROR
},
{
"GREP"
,
NDB_MGM_EVENT_CATEGORY_GREP
},
{
"BACKUP"
,
NDB_MGM_EVENT_CATEGORY_BACKUP
},
...
...
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