mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx-testing: добавление mdbx_dbi_sequence()
в jitter-сценарий.
This commit is contained in:
parent
0a9d96affd
commit
f34ebc853d
@ -165,7 +165,11 @@ bool testcase_jitter::run() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (flipcoin()) {
|
if (flipcoin()) {
|
||||||
// err =
|
uint64_t unused;
|
||||||
|
err = mdbx_dbi_sequence(txn_guard.get(), MAIN_DBI, &unused,
|
||||||
|
mode_readonly() ? 0 : 1);
|
||||||
|
if (err)
|
||||||
|
failure_perror("mdbx_dbi_sequence()", err);
|
||||||
}
|
}
|
||||||
txn_end(flipcoin());
|
txn_end(flipcoin());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user