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
47581fa7
Commit
47581fa7
authored
Jan 15, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - fix ndb_restore on solaris
Fix alignment changes in tup page header
parent
b42ea767
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp
storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp
+3
-2
storage/ndb/src/kernel/blocks/suma/Suma.hpp
storage/ndb/src/kernel/blocks/suma/Suma.hpp
+5
-1
No files found.
storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp
View file @
47581fa7
...
@@ -25,12 +25,13 @@
...
@@ -25,12 +25,13 @@
struct
UndoPage
struct
UndoPage
{
{
File_formats
::
Page_header
m_page_header
;
File_formats
::
Page_header
m_page_header
;
Uint32
_tupdata1
;
Uint32
m_state
;
// Used by buddy alg
Uint32
m_state
;
// Used by buddy alg
Uint32
m_words_used
;
Uint32
m_words_used
;
Uint32
m_ref_count
;
Uint32
m_ref_count
;
Uint32
m_data
[
GLOBAL_PAGE_SIZE_WORDS
-
3
-
(
sizeof
(
File_formats
::
Page_header
)
>>
2
)];
Uint32
m_data
[
GLOBAL_PAGE_SIZE_WORDS
-
4
-
(
sizeof
(
File_formats
::
Page_header
)
>>
2
)];
STATIC_CONST
(
DATA_WORDS
=
GLOBAL_PAGE_SIZE_WORDS
-
3
-
(
sizeof
(
File_formats
::
Page_header
)
>>
2
)
);
STATIC_CONST
(
DATA_WORDS
=
GLOBAL_PAGE_SIZE_WORDS
-
4
-
(
sizeof
(
File_formats
::
Page_header
)
>>
2
)
);
};
};
Undo_buffer
::
Undo_buffer
(
Dbtup
*
tup
)
Undo_buffer
::
Undo_buffer
(
Dbtup
*
tup
)
...
...
storage/ndb/src/kernel/blocks/suma/Suma.hpp
View file @
47581fa7
...
@@ -557,7 +557,11 @@ private:
...
@@ -557,7 +557,11 @@ private:
struct
Buffer_page
struct
Buffer_page
{
{
STATIC_CONST
(
DATA_WORDS
=
8192
-
5
);
STATIC_CONST
(
DATA_WORDS
=
8192
-
9
);
Uint32
_tupdata1
;
Uint32
_tupdata2
;
Uint32
_tupdata3
;
Uint32
_tupdata4
;
Uint32
m_page_state
;
// Used by TUP buddy algorithm
Uint32
m_page_state
;
// Used by TUP buddy algorithm
Uint32
m_page_chunk_ptr_i
;
Uint32
m_page_chunk_ptr_i
;
Uint32
m_next_page
;
Uint32
m_next_page
;
...
...
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