List:Commits« Previous MessageNext Message »
From:Magnus Svensson Date:September 1 2008 2:41pm
Subject:bzr commit into mysql-5.1 branch (msvensson:2643) Bug#39158
View as plain text  
#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);
     }

Thread
bzr commit into mysql-5.1 branch (msvensson:2643) Bug#39158Magnus Svensson1 Sep