summaryrefslogtreecommitdiff
path: root/ndb/include
diff options
context:
space:
mode:
authortomas@poseidon.ndb.mysql.com <>2004-12-17 09:55:23 +0100
committertomas@poseidon.ndb.mysql.com <>2004-12-17 09:55:23 +0100
commit2d6abb1f86edfd0992307cbd12470b5c56a87cf1 (patch)
treea941a0b0e8959bf30cd569ecb048d772a85f4156 /ndb/include
parent533b5dcc78eee48284a072a70a465e5beca57f2a (diff)
downloadmariadb-git-2d6abb1f86edfd0992307cbd12470b5c56a87cf1.tar.gz
moved some Ndb member variables to NdbImpl class
removed theCurrentConnectCounter optimized the_release_ind by using pos[0] to indicate that there is something there smaller storage of theDBNodes array by using Uint8 set the_relase_ind array to Uint32 to avoid possible parallell thread usage errors
Diffstat (limited to 'ndb/include')
-rw-r--r--ndb/include/ndbapi/Ndb.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/ndb/include/ndbapi/Ndb.hpp b/ndb/include/ndbapi/Ndb.hpp
index 5ec09269695..1c9c2db5d6b 100644
--- a/ndb/include/ndbapi/Ndb.hpp
+++ b/ndb/include/ndbapi/Ndb.hpp
@@ -1586,7 +1586,6 @@ private:
/******************************************************************************
* These are the private variables in this class.
*****************************************************************************/
- NdbObjectIdMap* theNdbObjectIdMap;
Ndb_cluster_connection *m_ndb_cluster_connection;
NdbConnection** thePreparedTransactionsArray;
@@ -1637,10 +1636,6 @@ private:
Uint32 theMyRef; // My block reference
Uint32 theNode; // The node number of our node
- Uint32 theNoOfDBnodes; // The number of DB nodes
- Uint32 * theDBnodes; // The node number of the DB nodes
- Uint8 *the_release_ind;// 1 indicates to release all connections to node
-
Uint64 the_last_check_time;
Uint64 theFirstTransId;
@@ -1663,10 +1658,6 @@ private:
InitConfigError
} theInitState;
- // Ensure good distribution of connects
- Uint32 theCurrentConnectIndex;
- Uint32 theCurrentConnectCounter;
-
/**
* Computes fragement id for primary key
*
@@ -1692,7 +1683,7 @@ private:
Uint32 noOfFragments;
Uint32 * fragment2PrimaryNodeMap;
- void init(Uint32 noOfNodes, Uint32 nodeIds[]);
+ void init(Uint32 noOfNodes, Uint8 nodeIds[]);
void release();
} startTransactionNodeSelectionData;