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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b7bbb217
Commit
b7bbb217
authored
Sep 06, 2004
by
ndbdev@ndbmaster.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix braces wrt to DBUG_xxx
parent
cfad8ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ndb/src/ndbapi/ndb_cluster_connection.cpp
ndb/src/ndbapi/ndb_cluster_connection.cpp
+7
-1
No files found.
ndb/src/ndbapi/ndb_cluster_connection.cpp
View file @
b7bbb217
...
@@ -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
);
}
}
...
...
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