List:Commits« Previous MessageNext Message »
From:magnus.blaudd Date:June 16 2011 9:32am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4458)
View as plain text  
#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped

 4458 magnus.blaudd@stripped	2011-06-16
      ndb
         - fix compiler warnings about unused calculated value

    modified:
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp
=== modified file 'storage/ndb/src/mgmsrv/MgmtSrvr.cpp'
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2011-06-01 07:40:49 +0000
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2011-06-16 09:32:30 +0000
@@ -1486,11 +1486,11 @@ int MgmtSrvr::shutdownMGM(int *stopCount
     error= sendStopMgmd(nodeId, abort, true, false,
                         false, false);
     if (error == 0)
-      *stopCount++;
+      (*stopCount)++;
   }
 
   *stopSelf= 1;
-  *stopCount++;
+  (*stopCount)++;
 
   return 0;
 }


Attachment: [text/bzr-bundle] bzr/magnus.blaudd@oracle.com-20110616093230-esiov1p02v1uvhgo.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4458) magnus.blaudd16 Jun