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
e711fbad
Commit
e711fbad
authored
Jan 24, 2008
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified header
git-svn-id:
file:///svn/tokudb@1858
c7de825b-a66e-492c-adef-691d508d4ae1
parent
d24d0e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/range_tree/rangetree.h
src/range_tree/rangetree.h
+4
-3
No files found.
src/range_tree/rangetree.h
View file @
e711fbad
...
...
@@ -16,6 +16,7 @@
MIT Press and McGraw-Hill, 2001. ISBN 0-262-03293-7
*/
//Defines BOOL data type.
#include <brttypes.h>
/** \brief Range with value
...
...
@@ -92,7 +93,7 @@ int toku_rt_get_allow_overlaps(toku_range_tree* tree, BOOL* allowed);
to overlap.
\param user_malloc A user provided malloc(3) function.
\param user_free A user provided free(3) function.
\param user_realloc A user provided realloc(3) function.
\param user_realloc A user provided realloc(3) function.
\return
- 0: Success.
...
...
@@ -109,7 +110,6 @@ int toku_rt_create(toku_range_tree** ptree, int (*end_cmp)(void*,void*),
\return
- 0: Success.
- EINVAL: If tree is NULL.
- Other exit codes may be forwarded from underlying system calls.
*/
int
toku_rt_close
(
toku_range_tree
*
tree
/**< The range tree to free */
);
...
...
@@ -137,7 +137,8 @@ int toku_rt_close(toku_range_tree* tree /**< The range tree to free */);
- 0: Success.
- EINVAL: If any pointer argument is NULL. If range.data != NULL.
If buflen == 0.
- Other exit codes may be forwarded from underlying system calls.
- Other exit codes may be forwarded from underlying system calls but only
if buf is not large enough.
Growth direction: It may be useful in the future to add an extra out
parameter to specify whether more elements exist in the tree that overlap
...
...
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