List:Commits« Previous MessageNext Message »
From:jonas oreland Date:April 20 2011 5:46am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:4326)
View as plain text  
#At file:///home/jonas/src/telco-7.0/ based on revid:jonas@stripped

 4326 jonas oreland	2011-04-20
      ndb - work-around attempt II

    modified:
      storage/ndb/src/kernel/vm/mt.cpp
=== modified file 'storage/ndb/src/kernel/vm/mt.cpp'
--- a/storage/ndb/src/kernel/vm/mt.cpp	2011-04-19 19:24:55 +0000
+++ b/storage/ndb/src/kernel/vm/mt.cpp	2011-04-20 05:46:35 +0000
@@ -401,8 +401,7 @@ struct thr_safe_pool
 
   T* m_free_list;
   Uint32 m_cnt;
-  static const unsigned TSP_SLSZ = NDB_CL - (sizeof(T*) + sizeof(Uint32));
-  thr_spin_lock<TSP_SLSZ> m_lock;
+  thr_spin_lock<NDB_CL - (sizeof(void*) + sizeof(Uint32))> m_lock;
 
   T* seize(Ndbd_mem_manager *mm, Uint32 rg) {
     T* ret = 0;


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20110420054635-7isyrii4uqeh2fax.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:4326) jonas oreland20 Apr