mdbx: avoid read leaf-pages during dropping trees.

Change-Id: Ib8034a76a150c213fddcca0f7df971f63253b7a5
This commit is contained in:
Leonid Yuriev
2021-04-18 19:20:16 +03:00
parent df539e60e0
commit 4cf8496422
2 changed files with 49 additions and 30 deletions

View File

@@ -388,6 +388,7 @@ typedef struct MDBX_page {
#define P_BAD 0x80 /* explicit flag for invalid/bad page */
#define P_LOOSE 0x4000 /* page was dirtied then freed, can be reused */
#define P_KEEP 0x8000 /* leave this page alone during spill */
#define P_FROZEN 0x10000 /* used for retire page with known status */
#define P_ILL_BITS (~(P_BRANCH | P_LEAF | P_LEAF2 | P_OVERFLOW | P_SPILLED))
uint16_t mp_flags;
union {