List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:October 9 2009 2:58pm
Subject:bzr commit into mysql-5.1-telco-6.3 branch (magnus.blaudd:3099)
Bug#47948
View as plain text  
#At file:///home/msvensson/mysql/6.3/ based on revid:magnus.blaudd@strippedj7f842wo9g

 3099 Magnus Blåudd	2009-10-09
      Bug#47948 ndb_mgmd fails to stop other ndb_mgmd
       - Rewrite code to be endian safe, avoid cat from Uint16* to int*

    modified:
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp
=== modified file 'storage/ndb/src/mgmsrv/MgmtSrvr.cpp'
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2009-09-08 12:23:44 +0000
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2009-10-09 14:58:08 +0000
@@ -918,7 +918,9 @@ int MgmtSrvr::sendStopMgmd(NodeId nodeId
     }
     if(!restart)
     {
-      if(ndb_mgm_stop(h, 1, (const int*)&nodeId) < 0)
+      int nodes[1];
+      nodes[0]= (int)nodeId;
+      if(ndb_mgm_stop(h, 1, nodes) < 0)
       {
         ndb_mgm_destroy_handle(&h);
         return SEND_OR_RECEIVE_FAILED;

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20091009145808-hqytvrx3q60229hi.bundle
Thread
bzr commit into mysql-5.1-telco-6.3 branch (magnus.blaudd:3099)Bug#47948Magnus Blåudd9 Oct