diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-06-28 17:29:58 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-06-28 17:29:58 +0000 |
commit | e2d3f7b07909d6d7542861c237ff6deaeeb811bc (patch) | |
tree | d4d2a87694d5db66d91bb4e549966eb058d5d4d0 /ndb/src/kernel/vm/Configuration.hpp | |
parent | 1addcc2ffd2fd96e6586087865aa9cf80431ddd8 (diff) | |
download | mariadb-git-e2d3f7b07909d6d7542861c237ff6deaeeb811bc.tar.gz |
several config fixes for ndb, see respective file
ndb/include/debugger/EventLogger.hpp:
removed unused method
ndb/include/mgmcommon/ConfigRetriever.hpp:
put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
ndb/include/mgmcommon/NdbConfig.h:
moved naming of all "ndb" file into NdbConfig.c
ndb/include/ndb_global.h:
introduced define NDB_BASE_PORT to control default port for ndb
ndb/src/common/debugger/EventLogger.cpp:
removed unused method
ndb/src/common/mgmcommon/ConfigInfo.cpp:
introduced define NDB_BASE_PORT to control default port for ndb
+ added setting default Id's on nodes
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
ndb/src/common/mgmcommon/IPCConfig.cpp:
changed error message
ndb/src/common/mgmcommon/LocalConfig.cpp:
introduced define NDB_BASE_PORT to control default port for ndb
ndb/src/common/mgmcommon/NdbConfig.c:
moved naming of all "ndb" file into NdbConfig.c
ndb/src/common/transporter/TransporterRegistry.cpp:
spelling errors
ndb/src/kernel/error/ErrorReporter.cpp:
moved naming of all "ndb" file into NdbConfig.c
ndb/src/kernel/error/ErrorReporter.hpp:
moved naming of all "ndb" file into NdbConfig.c
ndb/src/kernel/main.cpp:
moved naming of all "ndb" file into NdbConfig.c
ndb/src/kernel/vm/Configuration.cpp:
moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
ndb/src/kernel/vm/Configuration.hpp:
moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
ndb/src/mgmclient/main.cpp:
fix default port number
ndb/src/mgmsrv/MgmtSrvr.cpp:
fix default port
ndb/src/mgmsrv/Services.cpp:
added spec of transporter in get_nodeid
ndb/src/mgmsrv/main.cpp:
moved naming of all "ndb" file into NdbConfig.c
ndb/src/ndbapi/TransporterFacade.cpp:
moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
ndb/src/ndbapi/TransporterFacade.hpp:
moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
Diffstat (limited to 'ndb/src/kernel/vm/Configuration.hpp')
-rw-r--r-- | ndb/src/kernel/vm/Configuration.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ndb/src/kernel/vm/Configuration.hpp b/ndb/src/kernel/vm/Configuration.hpp index 1706ad05867..ec5e8b371b1 100644 --- a/ndb/src/kernel/vm/Configuration.hpp +++ b/ndb/src/kernel/vm/Configuration.hpp @@ -20,6 +20,8 @@ #include <mgmapi.h> #include <ndb_types.h> +class ConfigRetriever; + class Configuration { public: Configuration(); @@ -31,6 +33,7 @@ public: bool init(int argc, const char** argv); void setupConfiguration(); + void closeConfiguration(); bool lockPagesInMainMemory() const; @@ -78,6 +81,8 @@ private: ndb_mgm_configuration_iterator * m_clusterConfigIter; ndb_mgm_configuration_iterator * m_ownConfigIterator; + ConfigRetriever *m_config_retriever; + /** * arguments to NDB process */ |