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
78ce1785
Commit
78ce1785
authored
Dec 22, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added configuration hostnames to SHM config struct
use configured hostnames for SHM transporter setup
parent
8f2579c6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
ndb/include/transporter/TransporterDefinitions.hpp
ndb/include/transporter/TransporterDefinitions.hpp
+2
-0
ndb/src/common/mgmcommon/IPCConfig.cpp
ndb/src/common/mgmcommon/IPCConfig.cpp
+2
-0
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+2
-2
No files found.
ndb/include/transporter/TransporterDefinitions.hpp
View file @
78ce1785
...
...
@@ -68,6 +68,8 @@ struct TCP_TransporterConfiguration {
*/
struct
SHM_TransporterConfiguration
{
Uint32
port
;
const
char
*
remoteHostName
;
const
char
*
localHostName
;
NodeId
remoteNodeId
;
NodeId
localNodeId
;
bool
checksum
;
...
...
ndb/src/common/mgmcommon/IPCConfig.cpp
View file @
78ce1785
...
...
@@ -383,6 +383,8 @@ IPCConfig::configureTransporters(Uint32 nodeId,
if
(
iter
.
get
(
CFG_SHM_BUFFER_MEM
,
&
conf
.
shmSize
))
break
;
conf
.
port
=
server_port
;
conf
.
localHostName
=
localHostName
;
conf
.
remoteHostName
=
remoteHostName
;
if
(
!
tr
.
createTransporter
(
&
conf
)){
DBUG_PRINT
(
"error"
,
(
"Failed to create SHM Transporter from %d to %d"
,
...
...
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
78ce1785
...
...
@@ -358,8 +358,8 @@ TransporterRegistry::createTransporter(SHM_TransporterConfiguration *config) {
return
false
;
SHM_Transporter
*
t
=
new
SHM_Transporter
(
*
this
,
"localhost"
,
"localhost"
,
config
->
localHostName
,
config
->
remoteHostName
,
config
->
port
,
localNodeId
,
config
->
remoteNodeId
,
...
...
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