List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:December 20 2010 12:54pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:4069)
View as plain text  
#At file:///home/jonas/src/telco-7.0/ based on revid:jonas@stripped

 4069 Jonas Oreland	2010-12-20
      ndb - fix assert in debug, (foudn by testNdbApi -n Bug44065) due using incorrect lock()-method

    modified:
      storage/ndb/src/ndbapi/Ndbif.cpp
=== modified file 'storage/ndb/src/ndbapi/Ndbif.cpp'
--- a/storage/ndb/src/ndbapi/Ndbif.cpp	2010-12-18 08:36:08 +0000
+++ b/storage/ndb/src/ndbapi/Ndbif.cpp	2010-12-20 12:54:39 +0000
@@ -1251,9 +1251,9 @@ Remark:   First send all prepared operat
 void	
 Ndb::sendPreparedTransactions(int forceSend)
 {
-  theImpl->m_transporter_facade->lock_mutex();
+  theImpl->lock();
   sendPrepTrans(forceSend);
-  theImpl->m_transporter_facade->unlock_mutex();
+  theImpl->unlock();
   return;
 }//Ndb::sendPreparedTransactions()
 


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20101220125439-rarh1un4wsu7xxr9.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:4069) Jonas Oreland20 Dec