mdbx: extending MDBX_envinfo.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-10-14 21:10:40 +03:00
parent 06b6739e68
commit 410bbbd9a5
7 changed files with 127 additions and 89 deletions

View File

@@ -1429,7 +1429,7 @@ __cold static int env_chk(MDBX_chk_scope_t *const scope) {
MDBX_chk_context_t *const usr = chk->usr;
MDBX_env *const env = usr->env;
MDBX_txn *const txn = usr->txn;
int err = env_info(env, txn, &chk->envinfo, sizeof(chk->envinfo), &chk->troika);
int err = env_info(env, txn, &chk->envinfo, &chk->troika);
if (unlikely(err))
return chk_error_rc(scope, err, "env_info");