List:Commits« Previous MessageNext Message »
From:Tomas Ulin Date:December 19 2008 11:17am
Subject:bzr push into mysql-5.1 branch (tomas.ulin:2810 to 2811)
View as plain text  
 2811 Tomas Ulin	2008-12-19 [merge]
      merge
modified:
  storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp

 2810 Jonas Oreland	2008-12-19 [merge]
      merge 62 to 63
modified:
  storage/ndb/test/run-test/db.cpp

=== modified file 'storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp'
--- a/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2008-12-16 20:54:51 +0000
+++ b/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2008-12-19 11:17:05 +0000
@@ -2119,7 +2119,7 @@ NdbEventBuffer::report_node_failure_comp
   data.flags = SubTableData::LOG;
 
   Uint64 gci = Uint64((m_latestGCI >> 32) + 1) << 32;
-  bool found = find_max_known_gci(&gci);
+  find_max_known_gci(&gci);
 
   data.gci_hi = Uint32(gci >> 32);
   data.gci_lo = Uint32(gci);
@@ -2138,6 +2138,9 @@ NdbEventBuffer::report_node_failure_comp
    */
 
   DBUG_PRINT("info", ("Cluster failure"));
+
+  Uint64 gci = Uint64((m_latestGCI >> 32) + 1) << 32;
+  bool found = find_max_known_gci(&gci);
 
   Uint64 * array = m_known_gci.getBase();
   Uint32 mask = m_known_gci.size() - 1;

Thread
bzr push into mysql-5.1 branch (tomas.ulin:2810 to 2811) Tomas Ulin19 Dec