mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: refine read_header(), add MDBX_TOO_LARGE.
Change-Id: I25b9bb2e3817993d627b2b784dfa496d9ba7e7b0
This commit is contained in:
committed by
Leo Yuriev
parent
61d7ea283f
commit
7e85ad82f1
4
mdbx.h
4
mdbx.h
@@ -414,6 +414,10 @@ typedef enum MDBX_cursor_op {
|
||||
* when mdbx_cursor_put() called with MDBX_CURRENT option. */
|
||||
#define MDBX_EKEYMISMATCH (-30418)
|
||||
|
||||
/* Database is too large for current system, i.e. could NOT be mapped into RAM.
|
||||
*/
|
||||
#define MDBX_TOO_LARGE (-30417)
|
||||
|
||||
/* Statistics for a database in the environment */
|
||||
typedef struct MDBX_stat {
|
||||
uint32_t ms_psize; /* Size of a database page.
|
||||
|
Reference in New Issue
Block a user