summaryrefslogtreecommitdiff
path: root/ndb/include
diff options
context:
space:
mode:
authorunknown <mysql@mc04.(none)>2004-09-16 09:21:49 +0200
committerunknown <mysql@mc04.(none)>2004-09-16 09:21:49 +0200
commitd159d111da398b1b1ed59a56f2357692bf2a8ab1 (patch)
tree4607d1174b87192db3af2f5f44ecde3190fb6e87 /ndb/include
parent149b45b8f3773dbe727dcad2a81714c0a84c9576 (diff)
parent49dc3a53011fde94b900762084cd0631cb4fb24a (diff)
downloadmariadb-git-d159d111da398b1b1ed59a56f2357692bf2a8ab1.tar.gz
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc04.(none):/space/mysql/mysql-4.1-ndb acinclude.m4: Auto merged configure.in: Auto merged ndb/src/common/transporter/TransporterRegistry.cpp: Auto merged ndb/src/mgmsrv/ConfigInfo.cpp: Auto merged sql/Makefile.am: Auto merged BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'ndb/include')
-rw-r--r--ndb/include/mgmapi/mgmapi_config_parameters.h18
-rw-r--r--ndb/include/transporter/TransporterDefinitions.hpp12
2 files changed, 11 insertions, 19 deletions
diff --git a/ndb/include/mgmapi/mgmapi_config_parameters.h b/ndb/include/mgmapi/mgmapi_config_parameters.h
index 4a4863298dd..68eff84dd03 100644
--- a/ndb/include/mgmapi/mgmapi_config_parameters.h
+++ b/ndb/include/mgmapi/mgmapi_config_parameters.h
@@ -117,16 +117,14 @@
#define CFG_SHM_KEY 502
#define CFG_SHM_BUFFER_MEM 503
-#define CFG_SCI_ID_0 550
-#define CFG_SCI_ID_1 551
-#define CFG_SCI_SEND_LIMIT 552
-#define CFG_SCI_BUFFER_MEM 553
-#define CFG_SCI_NODE1_ADAPTERS 554
-#define CFG_SCI_NODE1_ADAPTER0 555
-#define CFG_SCI_NODE1_ADAPTER1 556
-#define CFG_SCI_NODE2_ADAPTERS 554
-#define CFG_SCI_NODE2_ADAPTER0 555
-#define CFG_SCI_NODE2_ADAPTER1 556
+#define CFG_SCI_HOST1_ID_0 550
+#define CFG_SCI_HOST1_ID_1 551
+#define CFG_SCI_HOST2_ID_0 552
+#define CFG_SCI_HOST2_ID_1 553
+#define CFG_SCI_HOSTNAME_1 554
+#define CFG_SCI_HOSTNAME_2 555
+#define CFG_SCI_SEND_LIMIT 556
+#define CFG_SCI_BUFFER_MEM 557
#define CFG_OSE_HOSTNAME_1 600
#define CFG_OSE_HOSTNAME_2 601
diff --git a/ndb/include/transporter/TransporterDefinitions.hpp b/ndb/include/transporter/TransporterDefinitions.hpp
index 445e8b889d2..a8da8068552 100644
--- a/ndb/include/transporter/TransporterDefinitions.hpp
+++ b/ndb/include/transporter/TransporterDefinitions.hpp
@@ -59,8 +59,6 @@ struct TCP_TransporterConfiguration {
NodeId localNodeId;
Uint32 sendBufferSize; // Size of SendBuffer of priority B
Uint32 maxReceiveSize; // Maximum no of bytes to receive
- Uint32 byteOrder;
- bool compression;
bool checksum;
bool signalId;
};
@@ -72,10 +70,8 @@ struct SHM_TransporterConfiguration {
Uint32 port;
NodeId remoteNodeId;
NodeId localNodeId;
- bool compression;
bool checksum;
bool signalId;
- int byteOrder;
Uint32 shmKey;
Uint32 shmSize;
@@ -89,10 +85,8 @@ struct OSE_TransporterConfiguration {
const char *localHostName;
NodeId remoteNodeId;
NodeId localNodeId;
- bool compression;
bool checksum;
bool signalId;
- int byteOrder;
Uint32 prioASignalSize;
Uint32 prioBSignalSize;
@@ -103,20 +97,20 @@ struct OSE_TransporterConfiguration {
* SCI Transporter Configuration
*/
struct SCI_TransporterConfiguration {
+ const char *remoteHostName;
+ const char *localHostName;
+ Uint32 port;
Uint32 sendLimit; // Packet size
Uint32 bufferSize; // Buffer size
Uint32 nLocalAdapters; // 1 or 2, the number of adapters on local host
- Uint32 nRemoteAdapters;
Uint32 remoteSciNodeId0; // SCInodeId for adapter 1
Uint32 remoteSciNodeId1; // SCInodeId for adapter 2
NodeId localNodeId; // Local node Id
NodeId remoteNodeId; // Remote node Id
- Uint32 byteOrder;
- bool compression;
bool checksum;
bool signalId;