diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2005-02-17 07:05:00 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2005-02-17 07:05:00 +0100 |
commit | a58a1dace8d88708c62257e50ccba9d5b9b36529 (patch) | |
tree | 2b1625510be497111958015003bf9887bdce8436 /ndb/src/mgmapi | |
parent | efe1ca20538bdf09bf56b99f96619a45a2ebc88e (diff) | |
parent | 600e432143664fb90593b934123a538070a8f8a3 (diff) | |
download | mariadb-git-a58a1dace8d88708c62257e50ccba9d5b9b36529.tar.gz |
Merge
mysql-test/mysql-test-run.pl:
Auto merged
ndb/include/mgmcommon/ConfigRetriever.hpp:
Auto merged
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
Auto merged
ndb/src/kernel/vm/Configuration.cpp:
Auto merged
ndb/src/mgmapi/mgmapi.cpp:
Auto merged
ndb/src/mgmclient/CommandInterpreter.cpp:
Auto merged
ndb/include/mgmapi/mgmapi.h:
merge
Diffstat (limited to 'ndb/src/mgmapi')
-rw-r--r-- | ndb/src/mgmapi/mgmapi.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ndb/src/mgmapi/mgmapi.cpp b/ndb/src/mgmapi/mgmapi.cpp index 4ea7afdd3b8..94ae55e0f51 100644 --- a/ndb/src/mgmapi/mgmapi.cpp +++ b/ndb/src/mgmapi/mgmapi.cpp @@ -1729,6 +1729,15 @@ ndb_mgm_destroy_configuration(struct ndb_mgm_configuration *cfg) extern "C" int +ndb_mgm_set_configuration_nodeid(NdbMgmHandle handle, int nodeid) +{ + CHECK_HANDLE(handle, -1); + handle->cfg._ownNodeId= nodeid; + return 0; +} + +extern "C" +int ndb_mgm_get_configuration_nodeid(NdbMgmHandle handle) { CHECK_HANDLE(handle, 0); |