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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
890a97c7
Commit
890a97c7
authored
20 years ago
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
parents
f1fe6e17
78ce1785
Branches unavailable
Tags unavailable
No related merge requests found
Changes
3
Hide 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 @
890a97c7
...
@@ -68,6 +68,8 @@ struct TCP_TransporterConfiguration {
...
@@ -68,6 +68,8 @@ struct TCP_TransporterConfiguration {
*/
*/
struct
SHM_TransporterConfiguration
{
struct
SHM_TransporterConfiguration
{
Uint32
port
;
Uint32
port
;
const
char
*
remoteHostName
;
const
char
*
localHostName
;
NodeId
remoteNodeId
;
NodeId
remoteNodeId
;
NodeId
localNodeId
;
NodeId
localNodeId
;
bool
checksum
;
bool
checksum
;
...
...
This diff is collapsed.
Click to expand it.
ndb/src/common/mgmcommon/IPCConfig.cpp
View file @
890a97c7
...
@@ -383,6 +383,8 @@ IPCConfig::configureTransporters(Uint32 nodeId,
...
@@ -383,6 +383,8 @@ IPCConfig::configureTransporters(Uint32 nodeId,
if
(
iter
.
get
(
CFG_SHM_BUFFER_MEM
,
&
conf
.
shmSize
))
break
;
if
(
iter
.
get
(
CFG_SHM_BUFFER_MEM
,
&
conf
.
shmSize
))
break
;
conf
.
port
=
server_port
;
conf
.
port
=
server_port
;
conf
.
localHostName
=
localHostName
;
conf
.
remoteHostName
=
remoteHostName
;
if
(
!
tr
.
createTransporter
(
&
conf
)){
if
(
!
tr
.
createTransporter
(
&
conf
)){
DBUG_PRINT
(
"error"
,
(
"Failed to create SHM Transporter from %d to %d"
,
DBUG_PRINT
(
"error"
,
(
"Failed to create SHM Transporter from %d to %d"
,
...
...
This diff is collapsed.
Click to expand it.
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
890a97c7
...
@@ -358,8 +358,8 @@ TransporterRegistry::createTransporter(SHM_TransporterConfiguration *config) {
...
@@ -358,8 +358,8 @@ TransporterRegistry::createTransporter(SHM_TransporterConfiguration *config) {
return
false
;
return
false
;
SHM_Transporter
*
t
=
new
SHM_Transporter
(
*
this
,
SHM_Transporter
*
t
=
new
SHM_Transporter
(
*
this
,
"localhost"
,
config
->
localHostName
,
"localhost"
,
config
->
remoteHostName
,
config
->
port
,
config
->
port
,
localNodeId
,
localNodeId
,
config
->
remoteNodeId
,
config
->
remoteNodeId
,
...
...
This diff is collapsed.
Click to expand it.
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