summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorjonas@perch.ndb.mysql.com <>2005-09-20 12:07:18 +0200
committerjonas@perch.ndb.mysql.com <>2005-09-20 12:07:18 +0200
commit75cc4ef28a19704824f054644a51164461fcd80a (patch)
tree269ea1dcbe2a289a7ab7e027d734a87a24cfafa1 /ndb
parent2119a88abebd96b3790a12dde14269367defed95 (diff)
downloadmariadb-git-75cc4ef28a19704824f054644a51164461fcd80a.tar.gz
ndb - post merge fixes
Diffstat (limited to 'ndb')
-rw-r--r--ndb/include/ndbapi/NdbTransaction.hpp2
-rw-r--r--ndb/src/ndbapi/Ndblist.cpp7
2 files changed, 1 insertions, 8 deletions
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<NdbConnection>;
+ friend struct Ndb_free_list_t<NdbTransaction>;
};
#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;
}