List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:October 6 2009 1:29pm
Subject:bzr commit into mysql-5.1-telco-6.2 branch (jonas:3015) Bug#47816
View as plain text  
#At file:///home/jonas/src/telco-6.2/ based on revid:jonas@stripped

 3015 Jonas Oreland	2009-10-06
      ndb - bug#47816 - handle api-fail-req with nodeid > 49

    modified:
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
=== modified file 'storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp'
--- a/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp	2009-09-01 10:50:11 +0000
+++ b/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp	2009-10-06 13:29:45 +0000
@@ -3501,9 +3501,9 @@ void Qmgr::handleApiCloseComConf(Signal*
   CloseComReqConf * const closeCom = (CloseComReqConf *)&signal->theData[0];
 
   /* Api failure special case */
-  for(Uint32 nodeId = 0; nodeId < MAX_NDB_NODES; nodeId ++)
+  for(Uint32 nodeId = 0; nodeId < MAX_NODES; nodeId ++)
   {
-    if(NdbNodeBitmask::get(closeCom->theNodes, nodeId))
+    if (NodeBitmask::get(closeCom->theNodes, nodeId))
     {
       jam();
       /* Check that *only* 1 *API* node is included in
@@ -3511,8 +3511,8 @@ void Qmgr::handleApiCloseComConf(Signal*
        */
       ndbrequire(getNodeInfo(nodeId).getType() != NodeInfo::DB);
       ndbrequire(closeCom->noOfNodes == 1);
-      NdbNodeBitmask::clear(closeCom->theNodes, nodeId);
-      ndbrequire(NdbNodeBitmask::isclear(closeCom->theNodes));
+      NodeBitmask::clear(closeCom->theNodes, nodeId);
+      ndbrequire(NodeBitmask::isclear(closeCom->theNodes));
       
       /* Now that we know communication from the failed Api has
        * ceased, we can send the required API_FAILREQ signals


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20091006132945-k7xxy7m3pjxt0sx8.bundle
Thread
bzr commit into mysql-5.1-telco-6.2 branch (jonas:3015) Bug#47816Jonas Oreland6 Oct