mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:04:12 +08:00
mdbx-chk: always skip key ordering checking to avoid MDBX_CORRUPTED
when using custom comparators.
Change-Id: Ieb6ea4a1c36b0e661afc13da365505ffbb5d0b5e
This commit is contained in:
parent
b6085afb5a
commit
3d31884c3b
@ -1275,7 +1275,9 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
saved_list = problems_push();
|
||||
rc = mdbx_env_pgwalk(txn, pgvisitor, nullptr, ignore_wrong_order);
|
||||
rc = mdbx_env_pgwalk(txn, pgvisitor, nullptr,
|
||||
true /* always skip key ordering checking to avoid
|
||||
MDBX_CORRUPTED when using custom comparators */);
|
||||
traversal_problems = problems_pop(saved_list);
|
||||
|
||||
if (rc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user