From: Date: June 8 2005 9:35am Subject: bk commit into 5.0 tree (stewart:1.1948) BUG#10893 List-Archive: http://lists.mysql.com/internals/25744 X-Bug: 10893 Message-Id: <20050608073522.E5BAF1CD5BA7@kennedy.flamingspork.com> Below is the list of changes that have just been committed into a local 5.0 repository of stewart. When stewart does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.1948 05/06/08 17:35:11 stewart@stripped +1 -0 BUG#10893 Cluster hangs on initial startup IPCConfig wasn't constructing the connect string properly. ndb/src/common/mgmcommon/IPCConfig.cpp 1.19 05/06/08 17:35:03 stewart@stripped +1 -1 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 # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: stewart # Host: kennedy.(none) # Root: /home/stewart/Documents/MySQL/5.0/main --- 1.18/ndb/src/common/mgmcommon/IPCConfig.cpp 2005-02-17 06:37:00 +11:00 +++ 1.19/ndb/src/common/mgmcommon/IPCConfig.cpp 2005-06-08 17:35:03 +10:00 @@ -188,7 +188,7 @@ 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();