mdbx: remove pp_txnid4chk(), preparing to rework of page checking/validation.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-06-30 13:42:10 +03:00
parent 48c6051482
commit 6c5ff863ff
2 changed files with 52 additions and 79 deletions

View File

@@ -511,7 +511,8 @@ typedef struct MDBX_page {
#define IS_SHADOWED(txn, p) ((p)->mp_txnid > (txn)->mt_txnid)
#define IS_VALID(txn, p) ((p)->mp_txnid <= (txn)->mt_front)
#define IS_MODIFIABLE(txn, p) ((p)->mp_txnid == (txn)->mt_front)
uint64_t mp_txnid;
uint64_t
mp_txnid; /* txnid which created this page, maybe zero in legacy DB */
struct MDBX_page *mp_next; /* for in-memory list of freed pages */
};
uint16_t mp_leaf2_ksize; /* key size if this is a LEAF2 page */