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
d5e17a57
Commit
d5e17a57
authored
Nov 22, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into perch.ndb.mysql.com:/home/jonas/src/50-work
parents
bd1612a5
ec1ba9db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+10
-8
No files found.
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
View file @
d5e17a57
...
@@ -340,6 +340,16 @@ void Cmvmi::execSTTOR(Signal* signal)
...
@@ -340,6 +340,16 @@ void Cmvmi::execSTTOR(Signal* signal)
jamEntry
();
jamEntry
();
if
(
theStartPhase
==
1
){
if
(
theStartPhase
==
1
){
jam
();
jam
();
if
(
theConfig
.
lockPagesInMainMemory
())
{
int
res
=
NdbMem_MemLockAll
();
if
(
res
!=
0
){
g_eventLogger
.
warning
(
"Failed to memlock pages"
);
warningEvent
(
"Failed to memlock pages"
);
}
}
sendSTTORRY
(
signal
);
sendSTTORRY
(
signal
);
return
;
return
;
}
else
if
(
theStartPhase
==
3
)
{
}
else
if
(
theStartPhase
==
3
)
{
...
@@ -359,14 +369,6 @@ void Cmvmi::execSTTOR(Signal* signal)
...
@@ -359,14 +369,6 @@ void Cmvmi::execSTTOR(Signal* signal)
signal
->
theData
[
2
]
=
NodeInfo
::
REP
;
signal
->
theData
[
2
]
=
NodeInfo
::
REP
;
execOPEN_COMREQ
(
signal
);
execOPEN_COMREQ
(
signal
);
globalData
.
theStartLevel
=
NodeState
::
SL_STARTED
;
globalData
.
theStartLevel
=
NodeState
::
SL_STARTED
;
if
(
theConfig
.
lockPagesInMainMemory
()){
int
res
=
NdbMem_MemLockAll
();
if
(
res
!=
0
){
g_eventLogger
.
warning
(
"Failed to memlock pages"
);
warningEvent
(
"Failed to memlock pages"
);
}
}
sendSTTORRY
(
signal
);
sendSTTORRY
(
signal
);
}
}
}
}
...
...
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