mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
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:
parent
22b6dec5ec
commit
9622c4733d
1 changed files with 4 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue