List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:January 18 2012 12:53pm
Subject:bzr push into mysql-5.1-telco-7.0 branch (jonas.oreland:4801 to 4802)
View as plain text  
 4802 Jonas Oreland	2012-01-18
      ndb - use optimized Bitmap search functions

    modified:
      storage/ndb/src/common/transporter/TransporterRegistry.cpp
 4801 Jonas Oreland	2012-01-18
      ndb - bug#13602508 - make scans check globalTransporterRegistry.get_status_overloaded() and end scan batch if overloaded

    modified:
      storage/ndb/include/kernel/ndb_limits.h
      storage/ndb/src/common/transporter/TransporterRegistry.cpp
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
=== modified file 'storage/ndb/src/common/transporter/TransporterRegistry.cpp'
--- a/storage/ndb/src/common/transporter/TransporterRegistry.cpp	2012-01-18 09:29:20 +0000
+++ b/storage/ndb/src/common/transporter/TransporterRegistry.cpp	2012-01-18 12:35:51 +0000
@@ -1303,8 +1303,9 @@ TransporterRegistry::performReceive(Tran
 #endif
 
 #ifdef NDB_TCP_TRANSPORTER
-  Uint32 id = 0;
-  while ((id = recvdata.m_has_data_transporters.find(id + 1)) != BitmaskImpl::NotFound)
+  for(Uint32 id = recvdata.m_has_data_transporters.find_first();
+      id != BitmaskImpl::NotFound;
+      id = recvdata.m_has_data_transporters.find_next(id + 1))
   {
     bool hasdata = false;
     TCP_Transporter * t = (TCP_Transporter*)theTransporters[id];

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-7.0 branch (jonas.oreland:4801 to 4802) Jonas Oreland20 Jan