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
72288df8
Commit
72288df8
authored
Jun 02, 2005
by
tulin@dl145b.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CommandInterpreter.cpp:
Bug #11050 ndb_mgm "show" prints incorrectly after master data node fails
parent
119e500c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+2
-1
No files found.
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
72288df8
...
@@ -1176,7 +1176,8 @@ CommandInterpreter::executeShow(char* parameters)
...
@@ -1176,7 +1176,8 @@ CommandInterpreter::executeShow(char* parameters)
api_nodes
++
;
api_nodes
++
;
break
;
break
;
case
NDB_MGM_NODE_TYPE_NDB
:
case
NDB_MGM_NODE_TYPE_NDB
:
if
(
state
->
node_states
[
i
].
dynamic_id
<
master_id
)
if
(
state
->
node_states
[
i
].
dynamic_id
&&
state
->
node_states
[
i
].
dynamic_id
<
master_id
)
master_id
=
state
->
node_states
[
i
].
dynamic_id
;
master_id
=
state
->
node_states
[
i
].
dynamic_id
;
ndb_nodes
++
;
ndb_nodes
++
;
break
;
break
;
...
...
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