Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fd4761df
Commit
fd4761df
authored
Sep 20, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patches to make it compile
parent
dbf87bf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
ndb/src/common/mgmcommon/IPCConfig.cpp
ndb/src/common/mgmcommon/IPCConfig.cpp
+3
-3
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+0
-1
No files found.
ndb/src/common/mgmcommon/IPCConfig.cpp
View file @
fd4761df
...
@@ -370,7 +370,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
...
@@ -370,7 +370,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
tr
.
add_transporter_interface
(
localHostName
,
server_port
);
tr
.
add_transporter_interface
(
localHostName
,
server_port
);
}
}
DBUG_PRINT
(
"info"
,
(
"Transporter between this node %d and node %d using port %d, signalId %d, checksum %d"
,
DBUG_PRINT
(
"info"
,
(
"Transporter between this node %d and node %d using port %d, signalId %d, checksum %d"
,
nodeId
,
remoteNodeId
,
tmp_
server_port
,
sendSignalId
,
checksum
));
nodeId
,
remoteNodeId
,
server_port
,
sendSignalId
,
checksum
));
switch
(
type
){
switch
(
type
){
case
CONNECTION_TYPE_SHM
:{
case
CONNECTION_TYPE_SHM
:{
SHM_TransporterConfiguration
conf
;
SHM_TransporterConfiguration
conf
;
...
@@ -385,7 +385,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
...
@@ -385,7 +385,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
conf
.
port
=
server_port
;
conf
.
port
=
server_port
;
if
(
!
tr
.
createTransporter
(
&
conf
)){
if
(
!
tr
.
createTransporter
(
&
conf
)){
DBUG_PRINT
(
"error"
,
(
"Failed to create S
CI
Transporter from %d to %d"
,
DBUG_PRINT
(
"error"
,
(
"Failed to create S
HM
Transporter from %d to %d"
,
conf
.
localNodeId
,
conf
.
remoteNodeId
));
conf
.
localNodeId
,
conf
.
remoteNodeId
));
ndbout
<<
"Failed to create SHM Transporter from: "
ndbout
<<
"Failed to create SHM Transporter from: "
<<
conf
.
localNodeId
<<
" to: "
<<
conf
.
remoteNodeId
<<
endl
;
<<
conf
.
localNodeId
<<
" to: "
<<
conf
.
remoteNodeId
<<
endl
;
...
@@ -403,7 +403,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
...
@@ -403,7 +403,7 @@ IPCConfig::configureTransporters(Uint32 nodeId,
conf
.
remoteNodeId
=
remoteNodeId
;
conf
.
remoteNodeId
=
remoteNodeId
;
conf
.
checksum
=
checksum
;
conf
.
checksum
=
checksum
;
conf
.
signalId
=
sendSignalId
;
conf
.
signalId
=
sendSignalId
;
conf
.
port
=
tmp_
server_port
;
conf
.
port
=
server_port
;
if
(
iter
.
get
(
CFG_SCI_HOSTNAME_1
,
&
host1
))
break
;
if
(
iter
.
get
(
CFG_SCI_HOSTNAME_1
,
&
host1
))
break
;
if
(
iter
.
get
(
CFG_SCI_HOSTNAME_2
,
&
host2
))
break
;
if
(
iter
.
get
(
CFG_SCI_HOSTNAME_2
,
&
host2
))
break
;
...
...
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
fd4761df
...
@@ -107,7 +107,6 @@ TransporterRegistry::TransporterRegistry(void * callback,
...
@@ -107,7 +107,6 @@ TransporterRegistry::TransporterRegistry(void * callback,
unsigned
_maxTransporters
,
unsigned
_maxTransporters
,
unsigned
sizeOfLongSignalMemory
)
{
unsigned
sizeOfLongSignalMemory
)
{
m_transporter_service
=
0
;
nodeIdSpecified
=
false
;
nodeIdSpecified
=
false
;
maxTransporters
=
_maxTransporters
;
maxTransporters
=
_maxTransporters
;
sendCounter
=
1
;
sendCounter
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment