List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:June 10 2011 12:18pm
Subject:bzr push into mysql-5.1-telco-7.0 branch (jonas:4448 to 4449)
View as plain text  
 4449 Jonas Oreland	2011-06-10
      ndb - fix compile error for configs which does not have rmb/wmb

    modified:
      storage/ndb/src/kernel/vm/NdbSeqLock.hpp
 4448 magnus.blaudd@stripped	2011-06-09
      Bug#37153 NDB Cluster reports affected rows incorrectly
       - This is a rewrite of the previous fix which commits the simple
         autocommit transaction before the update or delete loops asks
         the handler for number of affected rows. Thus still saving one
         roundtrip while returning the correct number of affected rows.
        
       - Refactor the compound if statements in exec_bulk_update and
         end_bulk_delete which controls when to no-commit or not.
         Adding DBUG_PRINT so it's possible to see
         which path is choosen when optimizing away roundtrips

    modified:
      sql/ha_ndbcluster.cc
      sql/sql_class.cc
      sql/sql_class.h
=== modified file 'storage/ndb/src/kernel/vm/NdbSeqLock.hpp'
--- a/storage/ndb/src/kernel/vm/NdbSeqLock.hpp	2011-05-17 07:06:30 +0000
+++ b/storage/ndb/src/kernel/vm/NdbSeqLock.hpp	2011-06-10 12:17:51 +0000
@@ -86,7 +86,7 @@ struct NdbSeqLock
   void write_lock() {}
   void write_unlock() {}
 
-  Uint32 read_lock() {}
+  Uint32 read_lock() { return 0; }
   bool read_unlock(Uint32 val) const { return true;}
 };
 

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-7.0 branch (jonas:4448 to 4449) Jonas Oreland10 Jun