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
2c6ca1d1
Commit
2c6ca1d1
authored
Apr 16, 2013
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t:3008], comment changes
git-svn-id:
file:///svn/toku/tokudb@25186
c7de825b-a66e-492c-adef-691d508d4ae1
parent
58e54d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
newbrt/leafentry.h
newbrt/leafentry.h
+5
-5
No files found.
newbrt/leafentry.h
View file @
2c6ca1d1
...
...
@@ -57,18 +57,18 @@ struct __attribute__ ((__packed__)) leafentry {
uint8_t
key_val
[
0
];
//Actual key, then actual val
}
clean
;
// For the case where LEAFENTRY->type is LE_CLEAN
struct
__attribute__
((
__packed__
))
leafentry_mvcc
{
uint32_t
num_cxrs
;
// number of committed
uxr
s
uint8_t
num_pxrs
;
// number of provisional
uxr
s
uint32_t
num_cxrs
;
// number of committed
transaction record
s
uint8_t
num_pxrs
;
// number of provisional
transaction record
s
u_int8_t
key_xrs
[
0
];
//Actual key,
//then "interesting" TXNIDs:
// if provisional uxrs exist, store OUTERMOST TXNID
//
then
store committed TXNIDs, from most recently committed to least recently committed
// store committed TXNIDs, from most recently committed to least recently committed
//then "interesting" lengths (length is at most 1<<31, MSB is used to store the type bit):
// if provisional uxrs exist, store length and type of INNERMOST TXNID
//
then
store length and type of committed TXNIDs, in same order as above
// store length and type of committed TXNIDs, in same order as above
//then "interesting" data
// if provisional uxrs exist, store data for INNERMOST TXNID
//
then
store data for committed TXNIDs
// store data for committed TXNIDs
//if provisional uxrs still exist (that is, num_puxrs > 1, so INNERMOST provisional != OUTERMOST provisional):
// for OUTERMOST provisional TXNID:
// 1 byte: store type
...
...
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