btree/btree.h: Allow to override MINCACHE, DEFPSIZE.
This commit is contained in:
parent
dab957dacd
commit
35aaec4418
1 changed files with 4 additions and 0 deletions
|
|
@ -44,9 +44,13 @@
|
|||
#include <mpool.h>
|
||||
|
||||
#define DEFMINKEYPAGE (2) /* Minimum keys per page */
|
||||
#ifndef MINCACHE
|
||||
#define MINCACHE (5) /* Minimum cached pages */
|
||||
#endif
|
||||
#define MINPSIZE (512) /* Minimum page size */
|
||||
#ifndef DEFPSIZE
|
||||
#define DEFPSIZE (4096) /* Default page size */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Page 0 of a btree file contains a copy of the meta-data. This page is also
|
||||
|
|
|
|||
Loading…
Reference in a new issue