mdbx: add MDBX_CP_FORCE_RESIZEABLE option.

Change-Id: I5fcdae7933dbbfbf8629e8a0423545a4f6b9f6b6
This commit is contained in:
Leonid Yuriev
2020-04-27 19:51:12 +03:00
parent 37abc146b4
commit fac0d47913
2 changed files with 25 additions and 6 deletions

1
mdbx.h
View File

@@ -1370,6 +1370,7 @@ LIBMDBX_API const char *mdbx_dump_val(const MDBX_val *key, char *const buf,
/**** ENVIRONMENT COPY FLAGS **************************************************/
/* Compacting: Omit free space from copy, and renumber all pages sequentially */
#define MDBX_CP_COMPACT 1u
#define MDBX_CP_FORCE_RESIZEABLE 2u
/**** CURSOR OPERATIONS ********************************************************
*