#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped
3780 Magnus Blåudd 2010-09-22 [merge]
Merge 6.3 to 7.0
modified:
storage/ndb/include/mgmapi/mgmapi.h
=== modified file 'storage/ndb/include/mgmapi/mgmapi.h'
--- a/storage/ndb/include/mgmapi/mgmapi.h 2010-03-02 09:16:27 +0000
+++ b/storage/ndb/include/mgmapi/mgmapi.h 2010-09-22 14:19:12 +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
/** @} *********************************************************************/
/**
@@ -1217,15 +1236,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-20100922141912-3e4itk67vd5bo5jl.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3780) | Magnus Blåudd | 22 Sep |