projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a647e
)
Set MINKEYS to 2
author
Howard Chu
<hyc@symas.com>
Sat, 20 Aug 2011 00:20:56 +0000
(17:20 -0700)
committer
Howard Chu
<hyc@symas.com>
Thu, 1 Sep 2011 23:31:10 +0000
(16:31 -0700)
For better space utilization
libraries/libmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/libmdb/mdb.c
b/libraries/libmdb/mdb.c
index d197facbf5ba231baed0508f7480e0d72e4c8545..bca938af88afe76f729714bce2c6c4ae7e040964 100644
(file)
--- a/
libraries/libmdb/mdb.c
+++ b/
libraries/libmdb/mdb.c
@@
-78,7
+78,7
@@
typedef ULONG pgno_t;
#define DPUTS(arg) DPRINTF("%s", arg)
#define PAGESIZE 4096
-#define MDB_MINKEYS
4
+#define MDB_MINKEYS
2
#define MDB_MAGIC 0xBEEFC0DE
#define MDB_VERSION 1
#define MAXKEYSIZE 511