Commit f9bf9f19 authored by stewart@mysql.com's avatar stewart@mysql.com

Remove unneeded debug.

Improve indenting.
parent 24880270
...@@ -163,17 +163,19 @@ int Ndb_cluster_connection::connect(int no_retries, int retry_delay_in_seconds, ...@@ -163,17 +163,19 @@ 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()
->m_transporter_interface[i]
.m_remote_nodeId,
CFG_CONNECTION_SERVER_PORT, CFG_CONNECTION_SERVER_PORT,
m_facade->get_registry()->m_transporter_interface[i].m_service_port, m_facade->get_registry()
->m_transporter_interface[i]
.m_service_port,
&mgm_reply); &mgm_reply);
ndb_mgm_destroy_configuration(props); ndb_mgm_destroy_configuration(props);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment