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
d971e4d4
Commit
d971e4d4
authored
Aug 12, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for diskless
parent
8c8efefd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
+3
-2
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+8
-0
No files found.
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
View file @
d971e4d4
...
@@ -2864,6 +2864,7 @@ private:
...
@@ -2864,6 +2864,7 @@ private:
UintR
preComputedRequestInfoMask
;
UintR
preComputedRequestInfoMask
;
UintR
ctransidHash
[
1024
];
UintR
ctransidHash
[
1024
];
Uint32
c_diskless
;
public:
public:
/**
/**
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
d971e4d4
...
@@ -892,6 +892,8 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
...
@@ -892,6 +892,8 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_SCAN
,
&
cscanrecFileSize
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_SCAN
,
&
cscanrecFileSize
));
cmaxAccOps
=
cscanrecFileSize
*
MAX_PARALLEL_SCANS_PER_FRAG
;
cmaxAccOps
=
cscanrecFileSize
*
MAX_PARALLEL_SCANS_PER_FRAG
;
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_DISCLESS
,
&
c_diskless
));
initRecords
();
initRecords
();
initialiseRecordsLab
(
signal
,
0
,
ref
,
senderData
);
initialiseRecordsLab
(
signal
,
0
,
ref
,
senderData
);
...
@@ -15088,6 +15090,11 @@ void Dblqh::openSrFourthPhaseLab(Signal* signal)
...
@@ -15088,6 +15090,11 @@ void Dblqh::openSrFourthPhaseLab(Signal* signal)
void
Dblqh
::
readSrFourthPhaseLab
(
Signal
*
signal
)
void
Dblqh
::
readSrFourthPhaseLab
(
Signal
*
signal
)
{
{
if
(
c_diskless
){
jam
();
logPagePtr
.
p
->
logPageWord
[
ZPOS_LOG_LAP
]
=
1
;
}
/* ------------------------------------------------------------------------
/* ------------------------------------------------------------------------
* INITIALISE ALL LOG PART INFO AND LOG FILE INFO THAT IS NEEDED TO
* INITIALISE ALL LOG PART INFO AND LOG FILE INFO THAT IS NEEDED TO
* START UP THE SYSTEM.
* START UP THE SYSTEM.
...
@@ -15116,6 +15123,7 @@ void Dblqh::readSrFourthPhaseLab(Signal* signal)
...
@@ -15116,6 +15123,7 @@ void Dblqh::readSrFourthPhaseLab(Signal* signal)
logPartPtr
.
p
->
logLap
=
logPagePtr
.
p
->
logPageWord
[
ZPOS_LOG_LAP
];
logPartPtr
.
p
->
logLap
=
logPagePtr
.
p
->
logPageWord
[
ZPOS_LOG_LAP
];
logFilePtr
.
p
->
currentFilepage
=
logPartPtr
.
p
->
headPageNo
;
logFilePtr
.
p
->
currentFilepage
=
logPartPtr
.
p
->
headPageNo
;
logFilePtr
.
p
->
currentLogpage
=
logPagePtr
.
i
;
logFilePtr
.
p
->
currentLogpage
=
logPagePtr
.
i
;
initLogpage
(
signal
);
initLogpage
(
signal
);
logPagePtr
.
p
->
logPageWord
[
ZCURR_PAGE_INDEX
]
=
logPartPtr
.
p
->
headPageIndex
;
logPagePtr
.
p
->
logPageWord
[
ZCURR_PAGE_INDEX
]
=
logPartPtr
.
p
->
headPageIndex
;
logFilePtr
.
p
->
remainingWordsInMbyte
=
logFilePtr
.
p
->
remainingWordsInMbyte
=
...
...
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