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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
33c297cf
Commit
33c297cf
authored
Feb 16, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug #8556 corrupt ndb_mgm show printout for certain configurations
parent
788f6b5a
Changes
1
Show 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 @
33c297cf
...
@@ -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
);
ndbout_c
(
"Unable to find node with id: %d"
,
node_id
);
if
(
ndb_mgm_find
(
it
,
CFG_NODE_ID
,
node_id
)
==
0
){
return
;
}
const
char
*
config_hostname
=
0
;
const
char
*
config_hostname
=
0
;
ndb_mgm_get_string_parameter
(
it
,
CFG_NODE_HOST
,
&
config_hostname
);
ndb_mgm_get_string_parameter
(
it
,
CFG_NODE_HOST
,
&
config_hostname
);
if
(
config_hostname
==
0
||
config_hostname
[
0
]
==
0
)
if
(
config_hostname
==
0
||
config_hostname
[
0
]
==
0
)
config_hostname
=
"any host"
;
config_hostname
=
"any host"
;
ndbout
<<
" (not connected, accepting connect from "
ndbout_c
(
" (not connected, accepting connect from %s)"
,
<<
config_hostname
<<
")"
<<
endl
;
config_hostname
);
}
else
{
ndbout_c
(
"Unable to find node with id: %d"
,
node_id
);
}
}
}
}
}
}
}
...
...
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