diff options
author | unknown <stewart@mysql.com> | 2005-11-25 00:04:53 +1100 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2005-11-25 00:04:53 +1100 |
commit | 2665fb75d6490dacbcee36ee3e3e7fe371da95c3 (patch) | |
tree | 49f31c2e0f1cbe663c2d1fab069342b69529e4ac /ndb | |
parent | 60f3487405f812d0004242485ed6b00241e726fe (diff) | |
download | mariadb-git-2665fb75d6490dacbcee36ee3e3e7fe371da95c3.tar.gz |
small build fix for some compilers
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
build fix for some compilers
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/common/mgmcommon/ConfigRetriever.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/common/mgmcommon/ConfigRetriever.cpp b/ndb/src/common/mgmcommon/ConfigRetriever.cpp index 278bf2b8ec7..a44550da48b 100644 --- a/ndb/src/common/mgmcommon/ConfigRetriever.cpp +++ b/ndb/src/common/mgmcommon/ConfigRetriever.cpp @@ -336,6 +336,7 @@ ConfigRetriever::setNodeId(Uint32 nodeid) Uint32 ConfigRetriever::allocNodeId(int no_retries, int retry_delay_in_seconds) { + int res; _ownNodeId= 0; if(m_handle != 0) { @@ -345,7 +346,7 @@ ConfigRetriever::allocNodeId(int no_retries, int retry_delay_in_seconds) if(!ndb_mgm_connect(m_handle, 0, 0, 0)) goto next; - int res= ndb_mgm_alloc_nodeid(m_handle, m_version, m_node_type); + res= ndb_mgm_alloc_nodeid(m_handle, m_version, m_node_type); if(res >= 0) return _ownNodeId= (Uint32)res; |