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
This commit is contained in:
unknown 2005-07-15 12:35:26 +02:00
commit 9622c4733d

View file

@ -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;
}