Commit 4e2c93bc authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5868 removing a little cruft I found


git-svn-id: file:///svn/toku/tokudb@51721 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5c0d6fa4
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#include <util/mempool.h> #include <util/mempool.h>
#include <util/omt.h> #include <util/omt.h>
// Uncomment the following to use quicklz
#ifndef FT_FANOUT #ifndef FT_FANOUT
#define FT_FANOUT 16 #define FT_FANOUT 16
#endif #endif
...@@ -44,14 +42,6 @@ enum { FT_CMD_OVERHEAD = (2 + sizeof(MSN)) // the type plus freshness plus M ...@@ -44,14 +42,6 @@ enum { FT_CMD_OVERHEAD = (2 + sizeof(MSN)) // the type plus freshness plus M
enum { FT_DEFAULT_NODE_SIZE = 1 << 22 }; enum { FT_DEFAULT_NODE_SIZE = 1 << 22 };
enum { FT_DEFAULT_BASEMENT_NODE_SIZE = 128 * 1024 }; enum { FT_DEFAULT_BASEMENT_NODE_SIZE = 128 * 1024 };
struct nodeheader_in_file {
int n_in_buffer;
};
enum { BUFFER_HEADER_SIZE = (4 // height//
+ 4 // n_children
+ TREE_FANOUT * 8 // children
) };
// //
// Field in ftnode_fetch_extra that tells the // Field in ftnode_fetch_extra that tells the
// partial fetch callback what piece of the node // partial fetch callback what piece of the node
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment