mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
mdbx-test: fix speculum_verify().
Change-Id: I5bdcf771dd5d6117230c964616b4f4ed81f084f7
This commit is contained in:
parent
f008876a93
commit
fa8b68af1f
@ -654,10 +654,13 @@ int testcase::remove(const keygen::buffer &akey, const keygen::buffer &adata) {
|
||||
return mdbx_del(txn_guard.get(), dbi, &akey->value, &adata->value);
|
||||
}
|
||||
|
||||
bool testcase::speculum_verify() const {
|
||||
bool testcase::speculum_verify() {
|
||||
if (!config.params.speculum)
|
||||
return true;
|
||||
|
||||
if (!txn_guard)
|
||||
txn_begin(true);
|
||||
|
||||
char dump_key[128], dump_value[128];
|
||||
char dump_mkey[128], dump_mvalue[128];
|
||||
|
||||
|
@ -153,7 +153,7 @@ protected:
|
||||
} last;
|
||||
|
||||
SET speculum;
|
||||
bool speculum_verify() const;
|
||||
bool speculum_verify();
|
||||
int insert(const keygen::buffer &akey, const keygen::buffer &adata,
|
||||
unsigned flags);
|
||||
int replace(const keygen::buffer &akey, const keygen::buffer &new_value,
|
||||
|
Loading…
x
Reference in New Issue
Block a user