Commit 6204a73c authored by unknown's avatar unknown

Fix braces wrt to DBUG_xxx

parent c5e99453
...@@ -74,15 +74,21 @@ int Ndb_cluster_connection::start_connect_thread(int (*connect_callback)(void)) ...@@ -74,15 +74,21 @@ int Ndb_cluster_connection::start_connect_thread(int (*connect_callback)(void))
DBUG_ENTER("Ndb_cluster_connection::start_connect_thread"); DBUG_ENTER("Ndb_cluster_connection::start_connect_thread");
m_connect_callback= connect_callback; m_connect_callback= connect_callback;
if ((r = connect(1)) == 1) if ((r = connect(1)) == 1)
{
m_connect_thread= NdbThread_Create(run_ndb_cluster_connection_connect_thread, m_connect_thread= NdbThread_Create(run_ndb_cluster_connection_connect_thread,
(void**)this, (void**)this,
32768, 32768,
"ndb_cluster_connection", "ndb_cluster_connection",
NDB_THREAD_PRIO_LOW); NDB_THREAD_PRIO_LOW);
}
else if (r < 0) else if (r < 0)
DBUG_RETURN(-1) {
DBUG_RETURN(-1);
}
else if (m_connect_callback) else if (m_connect_callback)
{
(*m_connect_callback)(); (*m_connect_callback)();
}
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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