mdbx-testing: добавление mdbx_dbi_sequence() в jitter-сценарий.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-07-31 22:02:01 +03:00
parent 0a9d96affd
commit f34ebc853d

View File

@ -165,7 +165,11 @@ bool testcase_jitter::run() {
}
}
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());