Skip to content

Instantly share code, notes, and snippets.

@kyohsuke kyohsuke/kcplantdb.h.patch Secret
Created Feb 22, 2011

Embed
What would you like to do?
--- kcplantdb.h 2011-02-22 00:10:09.000000000 +0900
+++ kcplantdb.h.patched 2011-02-22 19:21:16.000000000 +0900
@@ -70,6 +70,8 @@
typedef LinkedHashMap<int64_t, InnerNode*> InnerCache;
/** An alias of list of cursors. */
typedef std::list<Cursor*> CursorList;
+ /** The size of the record buffer. */
+ static const size_t RECBUFSIZ = 64; // move here: failed to build in CentOS 5.5 x86_64.
public:
/**
* Cursor to indicate a record.
@@ -2049,8 +2051,6 @@
static const size_t DEFLINUM = 64;
/** The default number of items in each inner node. */
static const size_t DEFIINUM = 128;
- /** The size of the record buffer. */
- static const size_t RECBUFSIZ = 64;
/** The base ID number for inner nodes. */
static const int64_t INIDBASE = 1LL << 48;
/** The minimum number of links in each inner node. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.