summaryrefslogtreecommitdiff
path: root/ndb/src/mgmsrv/main.cpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.bredbandsbolaget.se>2004-06-23 23:53:48 +0000
committerunknown <tomas@poseidon.bredbandsbolaget.se>2004-06-23 23:53:48 +0000
commit1cb0e84ae30a3e9fbf07978e128c3300de9fb0e4 (patch)
tree29f75460ff9763aa64aebae1ed158e03f6590e96 /ndb/src/mgmsrv/main.cpp
parentf44c3ee911dcdd3d56b51d286d7497a2a71f342b (diff)
downloadmariadb-git-1cb0e84ae30a3e9fbf07978e128c3300de9fb0e4.tar.gz
wl 1748
ndb/include/kernel/NodeInfo.hpp: alligning node numbering ndb/include/kernel/NodeState.hpp: added connected nodes to NodeState ndb/include/kernel/signaldata/ApiRegSignalData.hpp: moved to NodeState ndb/include/mgmapi/mgmapi.h: alligning node numbering ndb/include/mgmapi/mgmapi_config_parameters.h: new config port_base param on system ndb/include/util/Bitmask.hpp: POD Bitmask ndb/include/util/SocketAuthenticator.hpp: SocketAut fix ndb/src/common/mgmcommon/ConfigInfo.cpp: added new config param ndb/src/common/transporter/Transporter.cpp: alligning node numbering ndb/src/common/transporter/TransporterRegistry.cpp: alligning node numbering ndb/src/common/util/SocketAuthenticator.cpp: alligning node numbering ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: moved connected nodes to NodeState ndb/src/mgmsrv/MgmtSrvr.cpp: allocation and delallocation of resources in mgmsrvr connected bitmask on each node status together with reserved nodes that are reserved as long as session is active + check that hostname is same as client name ndb/src/mgmsrv/MgmtSrvr.hpp: allocation and delallocation of resources in mgmsrvr connected bitmask on each node status together with reserved nodes that are reserved as long as session is active ndb/src/mgmsrv/Services.cpp: added destuctor for apisession ndb/src/mgmsrv/Services.hpp: .. ndb/src/mgmsrv/main.cpp: print node id ndb/src/ndbapi/ClusterMgr.cpp: .. ndb/src/ndbapi/ClusterMgr.hpp: ..
Diffstat (limited to 'ndb/src/mgmsrv/main.cpp')
-rw-r--r--ndb/src/mgmsrv/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ndb/src/mgmsrv/main.cpp b/ndb/src/mgmsrv/main.cpp
index db977cc492f..1f675e63b84 100644
--- a/ndb/src/mgmsrv/main.cpp
+++ b/ndb/src/mgmsrv/main.cpp
@@ -167,8 +167,9 @@ NDB_MAIN(mgmsrv){
glob.cluster_config = 0;
glob.localNodeId= glob.mgmObject->getOwnNodeId();
- if (glob.localNodeId == 0)
+ if (glob.localNodeId == 0) {
goto error_end;
+ }
glob.port= glob.mgmObject->getPort();
@@ -244,8 +245,8 @@ NDB_MAIN(mgmsrv){
ndbout_c(msg);
g_EventLogger.info(msg);
- snprintf(msg, 256, "Command port: %d, Statistics port: %d",
- glob.port, glob.port_stats);
+ snprintf(msg, 256, "Id: %d, Command port: %d, Statistics port: %d",
+ glob.localNodeId, glob.port, glob.port_stats);
ndbout_c(msg);
g_EventLogger.info(msg);