summaryrefslogtreecommitdiff
path: root/ndb/include/transporter
diff options
context:
space:
mode:
authortomas@poseidon.ndb.mysql.com <>2005-02-16 20:37:14 +0100
committertomas@poseidon.ndb.mysql.com <>2005-02-16 20:37:14 +0100
commita3a1d50a724c420d2b399004fa9cff7cc1804ab8 (patch)
tree291ceb6cc5278770ce7f6cdba00d8785a99ed7c0 /ndb/include/transporter
parent6e53d8f75db68054f19fcbfefcbf28512448d236 (diff)
downloadmariadb-git-a3a1d50a724c420d2b399004fa9cff7cc1804ab8.tar.gz
removed NdbMgmHandle from TransporterRegistry constructor
changed to set NdbMgmHandle from IPPConfig, and use info from configuration, instead of mgm handle from config retrieval
Diffstat (limited to 'ndb/include/transporter')
-rw-r--r--ndb/include/transporter/TransporterRegistry.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ndb/include/transporter/TransporterRegistry.hpp b/ndb/include/transporter/TransporterRegistry.hpp
index 3773a0fc686..15f16320619 100644
--- a/ndb/include/transporter/TransporterRegistry.hpp
+++ b/ndb/include/transporter/TransporterRegistry.hpp
@@ -97,12 +97,11 @@ public:
/**
* Constructor
*/
- TransporterRegistry(NdbMgmHandle mgm_handle=NULL,
- void * callback = 0 ,
+ TransporterRegistry(void * callback = 0 ,
unsigned maxTransporters = MAX_NTRANSPORTERS,
unsigned sizeOfLongSignalMemory = 100);
- void set_mgm_handle(NdbMgmHandle h) { m_mgm_handle = h; };
+ void set_mgm_handle(NdbMgmHandle h);
NdbMgmHandle get_mgm_handle(void) { return m_mgm_handle; };
bool init(NodeId localNodeId);