From: Date: September 1 2008 4:41pm Subject: bzr commit into mysql-5.1 branch (msvensson:2643) Bug#39158 List-Archive: http://lists.mysql.com/commits/53008 X-Bug: 39158 Message-Id: <20080901144120.2731F30E84E@pilot> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/msvensson/mysql/6.2/ 2643 Magnus Svensson 2008-09-01 Bug#39158 MgmtSrvr::allocNodeId leaves mutex locked after 'Ambiguity for node if %d' error modified: storage/ndb/src/mgmsrv/MgmtSrvr.cpp === modified file 'storage/ndb/src/mgmsrv/MgmtSrvr.cpp' --- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp 2008-07-29 09:39:57 +0000 +++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp 2008-09-01 14:41:12 +0000 @@ -2339,6 +2339,7 @@ MgmtSrvr::alloc_node_id(NodeId * nodeId, "or specifying unique host names in config file,\n" "or specifying just one mgmt server in config file.", tmp); + NdbMutex_Unlock(m_configMutex); error_code = NDB_MGM_ALLOCID_CONFIG_MISMATCH; DBUG_RETURN(false); }