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

 3049 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-21 08:42:40 +0000
+++ b/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp	2009-10-06 13:44:23 +0000
@@ -3694,9 +3694,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
@@ -3704,8 +3704,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-20091006134423-bm6rqtqhmkfu6qid.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:3049) Bug#47816Jonas Oreland6 Oct