summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <stewart@mysql.com>2005-06-08 17:35:11 +1000
committerunknown <stewart@mysql.com>2005-06-08 17:35:11 +1000
commitd20516506fd0c5f6e80ac79b86245e9205162973 (patch)
tree5b351d1923f92887ab8c90dd52a623c239e4852a /ndb
parent14e01594fdd69d743f0a515970cb7d7ec25b7917 (diff)
downloadmariadb-git-d20516506fd0c5f6e80ac79b86245e9205162973.tar.gz
BUG#10893 Cluster hangs on initial startup
IPCConfig wasn't constructing the connect string properly. ndb/src/common/mgmcommon/IPCConfig.cpp: fix construction of connect string from configuration. the port number was not being added correctly. This would cause the handle to default to localhost:1186
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/common/mgmcommon/IPCConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/common/mgmcommon/IPCConfig.cpp b/ndb/src/common/mgmcommon/IPCConfig.cpp
index f188a433f1b..f45bc6ead54 100644
--- a/ndb/src/common/mgmcommon/IPCConfig.cpp
+++ b/ndb/src/common/mgmcommon/IPCConfig.cpp
@@ -188,7 +188,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
if(iter.get(CFG_NODE_HOST, &hostname)) continue;
if( strlen(hostname) == 0 ) continue;
if(iter.get(CFG_MGM_PORT, &port)) continue;
- connect_string.appfmt("%s%s:port",separator,hostname,port);
+ connect_string.appfmt("%s%s:%u",separator,hostname,port);
separator= ",";
}
NdbMgmHandle h= ndb_mgm_create_handle();