mirror of
https://github.com/isar/libmdbx.git
synced 2025-12-20 06:22:21 +08:00
mdbx-test: add 'append' testcase.
Change-Id: I71620ea1a019e16b8e3d84a81dcc042961eae5b5
This commit is contained in:
@@ -167,6 +167,15 @@ void maker::setup(const config::actor_params_pod &actor, unsigned actor_id,
|
||||
base = 0;
|
||||
}
|
||||
|
||||
void maker::make_ordered() {
|
||||
mapping.mesh = 0;
|
||||
mapping.rotate = 0;
|
||||
}
|
||||
|
||||
bool maker::is_unordered() const {
|
||||
return (mapping.mesh >= serial_minwith || mapping.rotate) != 0;
|
||||
}
|
||||
|
||||
bool maker::increment(serial_t &serial, int delta) {
|
||||
if (serial > mask(mapping.width)) {
|
||||
log_extra("keygen-increment: %" PRIu64 " > %" PRIu64 ", overflow", serial,
|
||||
|
||||
Reference in New Issue
Block a user