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
f9bf9f19
Commit
f9bf9f19
authored
Dec 17, 2004
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded debug.
Improve indenting.
parent
24880270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
ndb/src/ndbapi/ndb_cluster_connection.cpp
ndb/src/ndbapi/ndb_cluster_connection.cpp
+10
-8
No files found.
ndb/src/ndbapi/ndb_cluster_connection.cpp
View file @
f9bf9f19
...
@@ -163,18 +163,20 @@ int Ndb_cluster_connection::connect(int no_retries, int retry_delay_in_seconds,
...
@@ -163,18 +163,20 @@ int Ndb_cluster_connection::connect(int no_retries, int retry_delay_in_seconds,
ndb_mgm_configuration
*
props
=
m_config_retriever
->
getConfig
();
ndb_mgm_configuration
*
props
=
m_config_retriever
->
getConfig
();
if
(
props
==
0
)
if
(
props
==
0
)
break
;
break
;
DBUG_PRINT
(
"Before start_instance"
,(
"Before start_instance2"
));
m_facade
->
start_instance
(
nodeId
,
props
);
m_facade
->
start_instance
(
nodeId
,
props
);
DBUG_PRINT
(
"After start_instance"
,(
"before start_instance2"
));
// report port here.
DBUG_PRINT
(
"set_conn"
,(
"%d"
,
m_facade
->
get_registry
()
->
m_transporter_interface
.
size
()));
for
(
int
i
=
0
;
i
<
m_facade
->
get_registry
()
->
m_transporter_interface
.
size
();
i
++
)
for
(
int
i
=
0
;
i
<
m_facade
->
get_registry
()
->
m_transporter_interface
.
size
();
i
++
)
ndb_mgm_set_connection_int_parameter
(
m_config_retriever
->
get_mgmHandle
(),
ndb_mgm_set_connection_int_parameter
(
m_config_retriever
->
get_mgmHandle
(),
nodeId
,
nodeId
,
m_facade
->
get_registry
()
->
m_transporter_interface
[
i
].
m_remote_nodeId
,
m_facade
->
get_registry
()
CFG_CONNECTION_SERVER_PORT
,
->
m_transporter_interface
[
i
]
m_facade
->
get_registry
()
->
m_transporter_interface
[
i
].
m_service_port
,
.
m_remote_nodeId
,
&
mgm_reply
);
CFG_CONNECTION_SERVER_PORT
,
m_facade
->
get_registry
()
->
m_transporter_interface
[
i
]
.
m_service_port
,
&
mgm_reply
);
ndb_mgm_destroy_configuration
(
props
);
ndb_mgm_destroy_configuration
(
props
);
m_facade
->
connected
();
m_facade
->
connected
();
...
...
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