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
b513b68c
Commit
b513b68c
authored
Nov 25, 2005
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small build fix for some compilers
parent
2b57e704
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ndb/src/common/mgmcommon/ConfigRetriever.cpp
ndb/src/common/mgmcommon/ConfigRetriever.cpp
+2
-1
No files found.
ndb/src/common/mgmcommon/ConfigRetriever.cpp
View file @
b513b68c
...
...
@@ -336,6 +336,7 @@ ConfigRetriever::setNodeId(Uint32 nodeid)
Uint32
ConfigRetriever
::
allocNodeId
(
int
no_retries
,
int
retry_delay_in_seconds
)
{
int
res
;
_ownNodeId
=
0
;
if
(
m_handle
!=
0
)
{
...
...
@@ -345,7 +346,7 @@ ConfigRetriever::allocNodeId(int no_retries, int retry_delay_in_seconds)
if
(
!
ndb_mgm_connect
(
m_handle
,
0
,
0
,
0
))
goto
next
;
int
res
=
ndb_mgm_alloc_nodeid
(
m_handle
,
m_version
,
m_node_type
);
res
=
ndb_mgm_alloc_nodeid
(
m_handle
,
m_version
,
m_node_type
);
if
(
res
>=
0
)
return
_ownNodeId
=
(
Uint32
)
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