mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 22:34:12 +08:00
mdbx-test: minor fix nested case (avoid assertion failure).
Change-Id: Iad2bfc41b726e0737acda5afb354c9d70b372c86
This commit is contained in:
parent
daf37363b4
commit
fe8a101960
@ -68,8 +68,11 @@ bool testcase_nested::teardown() {
|
|||||||
log_notice("nested: bailout-clean due '%s'", mdbx_strerror(err));
|
log_notice("nested: bailout-clean due '%s'", mdbx_strerror(err));
|
||||||
ok = false;
|
ok = false;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
|
if (txn_guard)
|
||||||
|
txn_end(false);
|
||||||
db_table_close(dbi);
|
db_table_close(dbi);
|
||||||
|
}
|
||||||
dbi = 0;
|
dbi = 0;
|
||||||
}
|
}
|
||||||
return inherited::teardown() && ok;
|
return inherited::teardown() && ok;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user