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
600e4321
Commit
600e4321
authored
Feb 16, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug #8556 corrupt ndb_mgm show printout for certain configurations
parent
e5934af1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+11
-8
No files found.
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
600e4321
...
@@ -1069,16 +1069,19 @@ print_nodes(ndb_mgm_cluster_state *state, ndb_mgm_configuration_iterator *it,
...
@@ -1069,16 +1069,19 @@ print_nodes(ndb_mgm_cluster_state *state, ndb_mgm_configuration_iterator *it,
}
}
ndbout
<<
")"
<<
endl
;
ndbout
<<
")"
<<
endl
;
}
else
{
}
else
{
if
(
ndb_mgm_find
(
it
,
CFG_NODE_ID
,
node_id
)
!=
0
){
ndb_mgm_first
(
it
);
if
(
ndb_mgm_find
(
it
,
CFG_NODE_ID
,
node_id
)
==
0
){
const
char
*
config_hostname
=
0
;
ndb_mgm_get_string_parameter
(
it
,
CFG_NODE_HOST
,
&
config_hostname
);
if
(
config_hostname
==
0
||
config_hostname
[
0
]
==
0
)
config_hostname
=
"any host"
;
ndbout_c
(
" (not connected, accepting connect from %s)"
,
config_hostname
);
}
else
{
ndbout_c
(
"Unable to find node with id: %d"
,
node_id
);
ndbout_c
(
"Unable to find node with id: %d"
,
node_id
);
return
;
}
}
const
char
*
config_hostname
=
0
;
ndb_mgm_get_string_parameter
(
it
,
CFG_NODE_HOST
,
&
config_hostname
);
if
(
config_hostname
==
0
||
config_hostname
[
0
]
==
0
)
config_hostname
=
"any host"
;
ndbout
<<
" (not connected, accepting connect from "
<<
config_hostname
<<
")"
<<
endl
;
}
}
}
}
}
}
...
...
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