mdbx-test: extending speculum mode for cursors tracking verification.

Change-Id: I44786efcee6feb1c7d414c925717d08ed9d94e20
This commit is contained in:
Leonid Yuriev
2020-11-16 06:52:48 +03:00
parent 149b3d09e6
commit 7cdbe1badb
4 changed files with 392 additions and 34 deletions

View File

@@ -287,6 +287,9 @@ std::string data2hex(const void *ptr, size_t bytes, simple_checksum &checksum);
bool hex2data(const char *hex_begin, const char *hex_end, void *ptr,
size_t bytes, simple_checksum &checksum);
bool is_samedata(const MDBX_val *a, const MDBX_val *b);
inline bool is_samedata(const MDBX_val &a, const MDBX_val &b) {
return is_samedata(&a, &b);
}
std::string format(const char *fmt, ...);
uint64_t entropy_ticks(void);