summaryrefslogtreecommitdiff
path: root/ndb/src/common/mgmcommon/ConfigRetriever.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/common/mgmcommon/ConfigRetriever.cpp')
-rw-r--r--ndb/src/common/mgmcommon/ConfigRetriever.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ndb/src/common/mgmcommon/ConfigRetriever.cpp b/ndb/src/common/mgmcommon/ConfigRetriever.cpp
index db00cc1510f..fd04ad393eb 100644
--- a/ndb/src/common/mgmcommon/ConfigRetriever.cpp
+++ b/ndb/src/common/mgmcommon/ConfigRetriever.cpp
@@ -316,6 +316,12 @@ ConfigRetriever::verifyConfig(const struct ndb_mgm_configuration * conf, Uint32
return true;
}
+int
+ConfigRetriever::setNodeId(Uint32 nodeid)
+{
+ return ndb_mgm_set_configuration_nodeid(m_handle, nodeid);
+}
+
Uint32
ConfigRetriever::allocNodeId(int no_retries, int retry_delay_in_seconds)
{