diff options
author | George Hazan <ghazan@miranda.im> | 2018-08-26 15:21:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-08-26 15:21:43 +0300 |
commit | cf57ec609dc7b02eb44433514af60bb74951e990 (patch) | |
tree | 27269734504985f30368b5ae86f902ada590dc41 /libs/libmdbx/src/test/config.h | |
parent | 1f711c47cd7b4388b2b8af1cd60893e843ac617f (diff) |
Revert GC-related changes in libmdbx, till the time when it works
Diffstat (limited to 'libs/libmdbx/src/test/config.h')
-rw-r--r-- | libs/libmdbx/src/test/config.h | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/libs/libmdbx/src/test/config.h b/libs/libmdbx/src/test/config.h index e8dc87577d..86f37fbed8 100644 --- a/libs/libmdbx/src/test/config.h +++ b/libs/libmdbx/src/test/config.h @@ -63,10 +63,6 @@ bool parse_option(int argc, char *const argv[], int &narg, const char *option, std::string &value, bool allow_empty = false); bool parse_option(int argc, char *const argv[], int &narg, const char *option, - std::string &value, bool allow_empty, - const char *default_value); - -bool parse_option(int argc, char *const argv[], int &narg, const char *option, bool &value); struct option_verb { @@ -79,25 +75,16 @@ bool parse_option(int argc, char *const argv[], int &narg, const char *option, bool parse_option(int argc, char *const argv[], int &narg, const char *option, uint64_t &value, const scale_mode scale, - const uint64_t minval = 0, const uint64_t maxval = INT64_MAX, - const uint64_t default_value = 0); + const uint64_t minval = 0, const uint64_t maxval = INT64_MAX); bool parse_option(int argc, char *const argv[], int &narg, const char *option, unsigned &value, const scale_mode scale, - const unsigned minval = 0, const unsigned maxval = INT32_MAX, - const unsigned default_value = 0); + const unsigned minval = 0, const unsigned maxval = INT32_MAX); bool parse_option(int argc, char *const argv[], int &narg, const char *option, uint8_t &value, const uint8_t minval = 0, - const uint8_t maxval = 255, const uint8_t default_value = 0); + const uint8_t maxval = 255); -bool parse_option(int argc, char *const argv[], int &narg, const char *option, - int64_t &value, const int64_t minval, const int64_t maxval, - const int64_t default_value = -1); - -bool parse_option(int argc, char *const argv[], int &narg, const char *option, - int32_t &value, const int32_t minval, const int32_t maxval, - const int32_t default_value = -1); //----------------------------------------------------------------------------- #pragma pack(push, 1) @@ -216,12 +203,7 @@ struct actor_params_pod { unsigned mode_flags; unsigned table_flags; - intptr_t size_lower; - intptr_t size_now; - intptr_t size_upper; - int shrink_threshold; - int growth_step; - int pagesize; + uint64_t size; unsigned test_duration; unsigned test_nops; |