Commit 9622c473 authored by unknown's avatar unknown
Browse files

Bug #11132, reverted bug-fix, it introduces another bug. Ndbd's may get the same nodeid

In 4.1 the connection to the management server _must_ stay, that is how we
ensure that the nodeids are reserved correctly


parent 22b6dec5
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -131,16 +131,14 @@ ConfigRetriever::getConfig() {
}

ndb_mgm_configuration *
ConfigRetriever::getConfig(NdbMgmHandle m_handle){
  
ConfigRetriever::getConfig(NdbMgmHandle m_handle)
{
  ndb_mgm_configuration * conf = ndb_mgm_get_configuration(m_handle,m_version);
  if(conf == 0){
  if(conf == 0)
  {
    setError(CR_ERROR, ndb_mgm_get_latest_error_desc(m_handle));
    return 0;
  }

  ndb_mgm_disconnect(m_handle);

  return conf;
}