mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-06 19:08:56 +08:00
mdbx: provide the parent-pgno during a tree traversal.
This commit is contained in:
@@ -686,11 +686,12 @@ __cold static void chk_verbose_meta(MDBX_chk_scope_t *const scope, const unsigne
|
||||
__cold static int chk_pgvisitor(const size_t pgno, const unsigned npages, void *const ctx, const int deep,
|
||||
const walk_tbl_t *tbl_info, const size_t page_size, const page_type_t pagetype,
|
||||
const MDBX_error_t page_err, const size_t nentries, const size_t payload_bytes,
|
||||
const size_t header_bytes, const size_t unused_bytes) {
|
||||
const size_t header_bytes, const size_t unused_bytes, const size_t parent_pgno) {
|
||||
MDBX_chk_scope_t *const scope = ctx;
|
||||
MDBX_chk_internal_t *const chk = scope->internal;
|
||||
MDBX_chk_context_t *const usr = chk->usr;
|
||||
MDBX_env *const env = usr->env;
|
||||
(void)parent_pgno;
|
||||
|
||||
MDBX_chk_table_t *tbl;
|
||||
int err = chk_get_tbl(scope, tbl_info, &tbl);
|
||||
|
||||
Reference in New Issue
Block a user