mirror of
https://github.com/isar/libmdbx.git
synced 2025-12-25 20:12:23 +08:00
mdbx-test: add stochastic reverse mode to the append scenario.
Change-Id: If506aff63b6c517922ae621f7805b58c9282e946
This commit is contained in:
@@ -239,6 +239,10 @@ bool maker::is_unordered() const {
|
||||
: mapping.split);
|
||||
}
|
||||
|
||||
void maker::seek2end(serial_t &serial) const {
|
||||
serial = actor_params::serial_mask(mapping.width) - 1;
|
||||
}
|
||||
|
||||
bool maker::increment(serial_t &serial, int delta) const {
|
||||
if (serial > actor_params::serial_mask(mapping.width)) {
|
||||
log_extra("keygen-increment: %" PRIu64 " > %" PRIu64 ", overflow", serial,
|
||||
|
||||
Reference in New Issue
Block a user