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
5e555513
Commit
5e555513
authored
Mar 10, 2008
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
file:///svn/tokudb@2701
c7de825b-a66e-492c-adef-691d508d4ae1
parent
578ad117
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
20 deletions
+8
-20
src/range_tree/tokuredblack.c
src/range_tree/tokuredblack.c
+1
-1
src/range_tree/tokuredblack.h
src/range_tree/tokuredblack.h
+7
-19
No files found.
src/range_tree/tokuredblack.c
View file @
5e555513
...
...
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include
"redblack.h"
#include
<tokuredblack.h>
#include <assert.h>
/* Dummy (sentinel) node, so that we can make X->left->up = X
...
...
src/range_tree/tokuredblack.h
View file @
5e555513
#include <rangetree.h>
// These are the redblack directives
/* rbgen generated code begins here */
/* rbgen: $Id: rbgen.in,v 1.3 2003/10/24 01:31:21 damo Exp $ */
#define toku_range toku_range
#define RB_INLINE
/*
* RCS $Id: redblack.h,v 1.9 2003/10/24 01:31:21 damo Exp $
*/
/*
Redblack balanced tree algorithm
Copyright (C) Damian Ivereigh 2000
...
...
@@ -28,12 +17,12 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* Header file for redblack.c, should be included by any code that
** uses redblack.c since it defines the functions
*/
/* Stop multiple includes */
#
ifndef _REDBLACK_H
#ifndef TOKU_REDBLACK_H
#define TOKU_REDBLACK_H
#include <rangetree.h>
#define toku_range toku_range
#
define RB_INLINE
/* Modes for rblookup */
typedef
enum
{
...
...
@@ -109,5 +98,4 @@ struct toku_rbt_node
#endif
/* RB_INLINE */
};
#define _REDBLACK_H
#endif
/* _REDBLACK_H */
#endif
/* TOKU_REDBLACK_H */
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