From 3a2ea85c79d2ccaa0547bebbb7a5851ebda3d572 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Tue, 28 Aug 2018 11:04:45 +0300 Subject: [PATCH] mdbx: alter cursor flags. Change-Id: Icab3ca150b2c2cb003dbedb24024fe142c540082 --- src/bits.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bits.h b/src/bits.h index 560c6100..cd948dad 100644 --- a/src/bits.h +++ b/src/bits.h @@ -668,9 +668,9 @@ struct MDBX_cursor { #define C_EOF 0x02 /* No more data */ #define C_SUB 0x04 /* Cursor is a sub-cursor */ #define C_DEL 0x08 /* last op was a cursor_del */ -#define C_UNTRACK 0x40 /* Un-track cursor when closing */ -#define C_RECLAIMING 0x80 /* FreeDB lookup is prohibited */ -#define C_GCFREEZE 0x100 /* me_reclaimed_pglist must not be updated */ +#define C_UNTRACK 0x10 /* Un-track cursor when closing */ +#define C_RECLAIMING 0x20 /* FreeDB lookup is prohibited */ +#define C_GCFREEZE 0x40 /* me_reclaimed_pglist must not be updated */ unsigned mc_flags; /* see mdbx_cursor */ MDBX_page *mc_pg[CURSOR_STACK]; /* stack of pushed pages */ indx_t mc_ki[CURSOR_STACK]; /* stack of page indices */