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
43c2bc2f
Commit
43c2bc2f
authored
Sep 08, 2005
by
mronstrom@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #12594: A few fixes
parent
6dbca028
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
65 deletions
+40
-65
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
+2
-2
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+28
-62
ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp
ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp
+10
-1
No files found.
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
View file @
43c2bc2f
...
...
@@ -91,7 +91,7 @@
#define ZPOS_PAGE_I 13
#define ZPOS_PLACE_WRITTEN_FROM 14
#define ZPOS_PAGE_NO 15
#define ZPOS_FILE_NO 16
#define ZPOS_
PAGE_
FILE_NO 16
#define ZPOS_WORD_WRITTEN 17
#define ZPOS_IN_WRITING 18
#define ZPOS_PREV_PAGE_NO 19
...
...
@@ -2289,7 +2289,7 @@ private:
const
LogPartRecordPtr
&
sltLogPartPtr
);
void
checkGcpCompleted
(
Signal
*
signal
,
Uint32
pageWritten
,
Uint32
wordWritten
);
void
initFsopenconf
(
Signal
*
signal
);
void
initFsrwconf
(
Signal
*
signal
);
void
initFsrwconf
(
Signal
*
signal
,
bool
write
);
void
initLfo
(
Signal
*
signal
);
void
initLogfile
(
Signal
*
signal
,
Uint32
fileNo
);
void
initLogpage
(
Signal
*
signal
);
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
43c2bc2f
This diff is collapsed.
Click to expand it.
ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp
View file @
43c2bc2f
...
...
@@ -266,7 +266,16 @@ NdbOut& operator<<(NdbOut& no, const PageHeader& ph) {
printOut
(
"Current page index:"
,
ph
.
m_current_page_index
);
printOut
(
"Oldest prepare op. file No.:"
,
ph
.
m_old_prepare_file_number
);
printOut
(
"Oldest prepare op. page ref.:"
,
ph
.
m_old_prepare_page_reference
);
printOut
(
"Dirty flag:"
,
ph
.
m_dirty_flag
);
printOut
(
"Dirty flag:"
,
ph
.
m_dirty_flag
);
printOut
(
"Write Timer:"
,
ph
.
m_log_timer
);
printOut
(
"Page i-val:"
,
ph
.
m_page_i_value
);
printOut
(
"Place written:"
,
ph
.
m_place_written_from
);
printOut
(
"Page No in File:"
,
ph
.
m_page_no
);
printOut
(
"File No:"
,
ph
.
m_file_no
);
printOut
(
"Word Written:"
,
ph
.
m_word_written
);
printOut
(
"In Writing (should be 1)"
,
ph
.
m_in_writing_flag
);
printOut
(
"Prev Page No (can be garbage)"
,
ph
.
m_prev_page_no
);
printOut
(
"In Free List (should be 0):"
,
ph
.
m_in_free_list
);
no
<<
endl
;
return
no
;
}
...
...
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