From 75cc4ef28a19704824f054644a51164461fcd80a Mon Sep 17 00:00:00 2001 From: "jonas@perch.ndb.mysql.com" <> Date: Tue, 20 Sep 2005 12:07:18 +0200 Subject: ndb - post merge fixes --- ndb/include/ndbapi/NdbTransaction.hpp | 2 +- ndb/src/ndbapi/Ndblist.cpp | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'ndb') diff --git a/ndb/include/ndbapi/NdbTransaction.hpp b/ndb/include/ndbapi/NdbTransaction.hpp index 4b12b0acbf3..a6ba6a11c4d 100644 --- a/ndb/include/ndbapi/NdbTransaction.hpp +++ b/ndb/include/ndbapi/NdbTransaction.hpp @@ -806,7 +806,7 @@ private: void define_scan_op(NdbIndexScanOperation*); friend class HugoOperations; - friend struct Ndb_free_list_t; + friend struct Ndb_free_list_t; }; #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL diff --git a/ndb/src/ndbapi/Ndblist.cpp b/ndb/src/ndbapi/Ndblist.cpp index 3779ba33624..f82348fc91d 100644 --- a/ndb/src/ndbapi/Ndblist.cpp +++ b/ndb/src/ndbapi/Ndblist.cpp @@ -132,13 +132,6 @@ NdbTransaction* Ndb::getNdbCon() { NdbTransaction* tNdbCon = theImpl->theConIdleList.seize(this); - if (unlikely(theImpl->theConIdleList.m_alloc_cnt > theMaxNoOfTransactions)) - { - theImpl->theConIdleList.release(tNdbCon); - ndbout << "theNoOfAllocatedTransactions = " << theNoOfAllocatedTransactions << " theMaxNoOfTransactions = " << theMaxNoOfTransactions << endl; - return NULL; - }//if - tNdbCon->theMagicNumber = 0x37412619; return tNdbCon; } -- cgit v1.2.1