mdbx: fix page_get() null-defer when DB corrupted.

Change-Id: Ia4b5870e6718cd376d25893d33b9c659e3cd151a
This commit is contained in:
Leonid Yuriev 2020-09-04 14:47:31 +03:00
parent 362df3a031
commit 426d207fc4

View File

@ -10911,7 +10911,7 @@ dirty:
return MDBX_SUCCESS;
corrupted:
txn->mt_flags |= MDBX_TXN_ERROR;
mc->mc_txn->mt_flags |= MDBX_TXN_ERROR;
return MDBX_CORRUPTED;
}