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
10a9cca0
Commit
10a9cca0
authored
Jul 30, 2007
by
lzhou/zhl@dev3-63.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bj
into dev3-63.(none):/home/zhl/mysql/mysql-5.0/bug23354
parents
6f935a3d
14e19b1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
ndb/src/common/debugger/EventLogger.cpp
ndb/src/common/debugger/EventLogger.cpp
+0
-2
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+10
-2
No files found.
ndb/src/common/debugger/EventLogger.cpp
View file @
10a9cca0
...
@@ -91,8 +91,6 @@ void getRestartAction(Uint32 action, BaseString &str)
...
@@ -91,8 +91,6 @@ void getRestartAction(Uint32 action, BaseString &str)
if
(
action
==
0
)
if
(
action
==
0
)
return
;
return
;
str
.
appfmt
(
", restarting"
);
str
.
appfmt
(
", restarting"
);
if
(
action
&
2
)
str
.
appfmt
(
", no start"
);
if
(
action
&
4
)
if
(
action
&
4
)
str
.
appfmt
(
", initial"
);
str
.
appfmt
(
", initial"
);
}
}
...
...
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
10a9cca0
...
@@ -2148,7 +2148,7 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list,
...
@@ -2148,7 +2148,7 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list,
return
-
1
;
return
-
1
;
}
}
if
(
!
nostart
)
if
(
nostart
)
ndbout_c
(
"Shutting down nodes with
\"
-n, no start
\"
option, to subsequently start the nodes."
);
ndbout_c
(
"Shutting down nodes with
\"
-n, no start
\"
option, to subsequently start the nodes."
);
result
=
ndb_mgm_restart3
(
m_mgmsrv
,
no_of_nodes
,
node_ids
,
result
=
ndb_mgm_restart3
(
m_mgmsrv
,
no_of_nodes
,
node_ids
,
...
@@ -2168,7 +2168,15 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list,
...
@@ -2168,7 +2168,15 @@ CommandInterpreter::executeRestart(Vector<BaseString> &command_list,
ndbout
<<
"Node"
;
ndbout
<<
"Node"
;
for
(
int
i
=
0
;
i
<
no_of_nodes
;
i
++
)
for
(
int
i
=
0
;
i
<
no_of_nodes
;
i
++
)
ndbout
<<
" "
<<
node_ids
[
i
];
ndbout
<<
" "
<<
node_ids
[
i
];
ndbout_c
(
" is being restarted"
);
ndbout_c
(
": Is being restarted"
);
ndbout
<<
"Node"
;
for
(
int
i
=
0
;
i
<
no_of_nodes
;
i
++
)
ndbout
<<
" "
<<
node_ids
[
i
];
if
(
nostart
)
ndbout_c
(
": No start"
);
else
ndbout_c
(
": Is rejoining the cluster"
);
}
}
if
(
need_disconnect
)
if
(
need_disconnect
)
disconnect
();
disconnect
();
...
...
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