mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-02 04:08:57 +08:00
mdbx: refine mdbx_page_spill().
More for https://github.com/erthink/libmdbx/issues/132. Change-Id: I40788c13b54453c17d5e5dae6c3d2f93226f8e00
This commit is contained in:
@@ -831,13 +831,10 @@ struct MDBX_txn {
|
||||
};
|
||||
};
|
||||
|
||||
/* Enough space for 2^32 nodes with minimum of 2 keys per node. I.e., plenty.
|
||||
* At 4 keys per node, enough for 2^64 nodes, so there's probably no need to
|
||||
* raise this on a 64 bit machine. */
|
||||
#if MDBX_WORDBITS >= 64
|
||||
#define CURSOR_STACK 28
|
||||
#define CURSOR_STACK 32
|
||||
#else
|
||||
#define CURSOR_STACK 20
|
||||
#define CURSOR_STACK 24
|
||||
#endif
|
||||
|
||||
struct MDBX_xcursor;
|
||||
|
||||
Reference in New Issue
Block a user