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
f254d9f1
Commit
f254d9f1
authored
May 28, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUg#3910
parent
58240397
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+4
-0
ndb/src/kernel/ndb-main/Main.cpp
ndb/src/kernel/ndb-main/Main.cpp
+3
-3
No files found.
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
View file @
f254d9f1
...
...
@@ -132,6 +132,10 @@ void Cmvmi::execNDB_TAMPER(Signal* signal)
if
(
ERROR_INSERTED
(
9998
)){
while
(
true
)
NdbSleep_SecSleep
(
1
);
}
if
(
ERROR_INSERTED
(
9997
)){
ndbrequire
(
false
);
}
}
//execNDB_TAMPER()
void
Cmvmi
::
execSET_LOGLEVELORD
(
Signal
*
signal
)
...
...
ndb/src/kernel/ndb-main/Main.cpp
View file @
f254d9f1
...
...
@@ -93,7 +93,7 @@ NDB_MAIN(ndb_kernel){
catchsigs
(
true
);
int
status
=
0
;
while
(
waitpid
(
child
,
&
status
,
0
)
!=
child
);
if
(
WIFEXITED
(
status
)
||
!
theConfig
->
stopOnError
()
){
if
(
WIFEXITED
(
status
)){
switch
(
WEXITSTATUS
(
status
)){
case
NRT_Default
:
g_eventLogger
.
info
(
"Angel shutting down"
);
...
...
@@ -117,13 +117,13 @@ NDB_MAIN(ndb_kernel){
globalData
.
theRestartFlag
=
perform_start
;
break
;
}
g_eventLogger
.
info
(
"Ndb has terminated (pid %d) restarting"
,
child
);
}
else
{
}
else
if
(
theConfig
->
stopOnError
()){
/**
* Error shutdown && stopOnError()
*/
exit
(
0
);
}
g_eventLogger
.
info
(
"Ndb has terminated (pid %d) restarting"
,
child
);
}
g_eventLogger
.
info
(
"Angel pid: %d ndb pid: %d"
,
getppid
(),
getpid
());
...
...
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