From 6be164a45bcdff27fa4874a9e4f5628cbe247aeb Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 31 Aug 2018 20:04:40 +0300 Subject: [PATCH] mdbx-test: default test-db size 4mb or 256mb. Change-Id: I306cb76f1740422888814687f69fa7766ee4fba6 --- test/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/main.cc b/test/main.cc index 14e978fe..7493ab75 100644 --- a/test/main.cc +++ b/test/main.cc @@ -37,7 +37,7 @@ void actor_params::set_defaults(const std::string &tmpdir) { table_flags = MDBX_DUPSORT; size_lower = -1; - size_now = 1024 * 1024 * 4; + size_now = 1024 * 1024 * ((table_flags & MDBX_DUPSORT) ? 4 : 256); size_upper = -1; shrink_threshold = -1; growth_step = -1;