#At file:///home/msvensson/mysql/6.3/ based on revid:jonas@stripped
3300 Magnus Blåudd 2010-09-22
Bug#51310 ndb_mgm_get_version() not documented
- Move the function out of DOXYGEN_SHOULD_SKIP_INTERNAL and add
doxygen comments describing the function
modified:
storage/ndb/include/mgmapi/mgmapi.h
=== modified file 'storage/ndb/include/mgmapi/mgmapi.h'
--- a/storage/ndb/include/mgmapi/mgmapi.h 2010-02-22 09:44:41 +0000
+++ b/storage/ndb/include/mgmapi/mgmapi.h 2010-09-22 14:10:27 +0000
@@ -583,6 +583,25 @@ extern "C" {
*/
const char *ndb_mgm_get_connected_bind_address(NdbMgmHandle handle);
+ /**
+ * Get the version of the mgm server we're talking to.
+ *
+ * @param handle Management handle
+ * @param major Returns the major version number for NDB
+ * @param minor Returns the minor version number for NDB
+ * @param build Returns the build version number for NDB
+ * @param len Specifies the max size of the buffer
+ * available to return version string in
+ * @param str Pointer to buffer where to return the
+ * version string which is in the
+ * form "mysql-X.X.X ndb-Y.Y.Y-status"
+ *
+ * @return 0 for error and 1 for success
+ */
+ int ndb_mgm_get_version(NdbMgmHandle handle,
+ int *major, int *minor, int* build,
+ int len, char* str);
+
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/** @} *********************************************************************/
/**
@@ -1183,16 +1202,6 @@ extern "C" {
Uint32 ndb_mgm_get_mgmd_nodeid(NdbMgmHandle handle);
/**
- * Get the version of the mgm server we're talking to.
- * Designed to allow switching of protocol depending on version
- * so that new clients can speak to old servers in a compat mode
- */
- int ndb_mgm_get_version(NdbMgmHandle handle,
- int *major, int *minor, int* build,
- int len, char* str);
-
-
- /**
* Config iterator
*/
typedef struct ndb_mgm_configuration_iterator ndb_mgm_configuration_iterator;
Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20100922141027-91ehj2eh3lrs497v.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.3 branch (magnus.blaudd:3300) Bug#51310 | Magnus Blåudd | 22 Sep |