From c43b7d1abac03511fbe3ac22f01cb35d5b2785da Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sun, 12 Aug 2018 21:15:23 +0300 Subject: [PATCH] mdbx-test: fix minor typos. Change-Id: I4889a0e698bdfdda7eed257a5cd29e8b8089d102 --- src/mdbx.c | 2 +- test/hill.cc | 2 -- test/utils.cc | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mdbx.c b/src/mdbx.c index b5bc28f6..a062c895 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -7754,7 +7754,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, MDBX_val *key, MDBX_val *data, offset *= 4; /* space for 4 more */ break; } - /* FALLTHRU: Big enough MDBX_DUPFIXaED sub-page */ + /* FALLTHRU: Big enough MDBX_DUPFIXED sub-page */ __fallthrough; case MDBX_CURRENT | MDBX_NODUPDATA: case MDBX_CURRENT: diff --git a/test/hill.cc b/test/hill.cc index c9115784..0d609b86 100644 --- a/test/hill.cc +++ b/test/hill.cc @@ -156,8 +156,6 @@ bool testcase_hill::run() { a_serial); generate_pair(a_serial, a_key, a_data_0, 0); generate_pair(a_serial, a_key, a_data_1, age_shift); - if (a_serial == 808) - log_trace("!!!"); int rc = mdbx_replace(txn_guard.get(), dbi, &a_key->value, &a_data_1->value, &a_data_0->value, update_flags); if (unlikely(rc != MDBX_SUCCESS)) diff --git a/test/utils.cc b/test/utils.cc index 0855c7ee..53a750e3 100644 --- a/test/utils.cc +++ b/test/utils.cc @@ -93,7 +93,7 @@ bool hex2data(const char *hex_begin, const char *hex_end, void *ptr, //----------------------------------------------------------------------------- -/* TODO: replace my 'libmera' fomr t1ha. */ +/* TODO: replace my 'libmera' from t1ha. */ uint64_t entropy_ticks(void) { #if defined(EMSCRIPTEN) return (uint64_t)emscripten_get_now();