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
885984bc
Commit
885984bc
authored
Dec 24, 2004
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fix
parent
a8d3e033
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
ndb/src/common/transporter/Transporter.hpp
ndb/src/common/transporter/Transporter.hpp
+5
-0
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+1
-1
No files found.
ndb/src/common/transporter/Transporter.hpp
View file @
885984bc
...
...
@@ -69,6 +69,11 @@ public:
*/
NodeId
getLocalNodeId
()
const
;
/**
* Get r_port we're connecting to
*/
unsigned
int
get_r_port
()
{
return
m_r_port
;
};
/**
* Set r_port to connect to
*/
...
...
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
885984bc
...
...
@@ -1141,7 +1141,7 @@ TransporterRegistry::start_clients_thread()
switch
(
performStates
[
nodeId
]){
case
CONNECTING
:
if
(
!
t
->
isConnected
()
&&
!
t
->
isServer
)
{
if
(
server_port
<=
0
)
{
// Port is dynamic
if
(
t
->
get_r_port
()
<=
0
)
{
// Port is dynamic
Uint32
server_port
=
0
;
struct
ndb_mgm_reply
mgm_reply
;
int
res
;
...
...
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