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
97d689d6
Commit
97d689d6
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], more comments
git-svn-id:
file:///svn/toku/tokudb@25154
c7de825b-a66e-492c-adef-691d508d4ae1
parent
e654cbdb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
newbrt/brt.c
newbrt/brt.c
+0
-4
newbrt/leafentry.h
newbrt/leafentry.h
+4
-3
No files found.
newbrt/brt.c
View file @
97d689d6
...
...
@@ -4296,10 +4296,6 @@ brt_cursor_update(BRT_CURSOR brtcursor) {
//
// Returns true if the value that is to be read is empty.
// If is_read_committed is false, then it checks the innermost value
// (and is the equivalent of le_latest_is_del)
// If is_read_committed is true, then for live transactions, it checks the committed
// value in le. For committed transactions, it checks the innermost value
//
static
inline
int
is_le_val_empty
(
LEAFENTRY
le
,
BRT_CURSOR
brtcursor
)
{
...
...
newbrt/leafentry.h
View file @
97d689d6
...
...
@@ -175,10 +175,11 @@ le_clean(uint8_t *key, uint32_t keylen,
//Callback contract:
// Function checks to see if id is accepted by context.
// Returns:
// 0:
Ignore this entry and go on to next one
.
// TOKUDB_ACCEPT:
Quit early, accept this transaction record and return appropriate data
// r|r!=0&&r!=TOKUDB_ACCEPT: Quit early, return r
// 0:
context ignores this entry, id
.
// TOKUDB_ACCEPT:
context accepts id
// r|r!=0&&r!=TOKUDB_ACCEPT: Quit early, return r
, because something unexpected went wrong (error case)
typedef
int
(
*
LE_ITERATE_CALLBACK
)(
TXNID
id
,
TOKUTXN
context
);
int
le_iterate_is_empty
(
LEAFENTRY
le
,
LE_ITERATE_CALLBACK
f
,
BOOL
*
is_empty
,
TOKUTXN
context
);
...
...
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