mdbx: fix nasty sizeof(bytes) typo.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2021-11-19 15:42:27 +03:00
parent 86c735637e
commit bfff6cfe85

View File

@ -19556,7 +19556,7 @@ __cold int mdbx_env_info_ex(const MDBX_env *env, const MDBX_txn *txn,
return rc;
while (1) {
rc = fetch_envinfo_ex(env, txn, arg, sizeof(bytes));
rc = fetch_envinfo_ex(env, txn, arg, bytes);
if (unlikely(rc != MDBX_SUCCESS))
return rc;
if (likely(memcmp(&snap, arg, bytes) == 0))