diff --git a/CMakeLists.txt b/CMakeLists.txt index 789fc468..ff21fb5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -438,7 +438,6 @@ add_mdbx_option(MDBX_BUILD_TOOLS "Build MDBX tools (mdbx_chk/stat/dump/load/copy CMAKE_DEPENDENT_OPTION(MDBX_INSTALL_MANPAGES "Install man-pages for MDBX tools (mdbx_chk/stat/dump/load/copy)" ON MDBX_BUILD_TOOLS OFF) add_mdbx_option(MDBX_TXN_CHECKOWNER "Checking transaction matches the calling thread inside libmdbx's API" ON) add_mdbx_option(MDBX_ENV_CHECKPID "Paranoid checking PID inside libmdbx's API" AUTO) -add_mdbx_option(MDBX_HUGE_TRANSACTIONS "Support for huge write-transactions" OFF) mark_as_advanced(MDBX_ENV_CHECKPID) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") add_mdbx_option(MDBX_DISABLE_GNU_SOURCE "Don't use GNU/Linux libc extensions" OFF) diff --git a/ChangeLog.md b/ChangeLog.md index 90cd7f04..954988fc 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -11,6 +11,12 @@ ChangeLog - Finalize C++ API (few typos and trivia bugs are still likely for now). - Packages for ROSA Linux, ALT Linux, Fedora/RHEL, Debian/Ubuntu. + +Removed options and features: + + - Drop `MDBX_HUGE_TRANSACTIONS` build-option (now no longer required). + + ## v0.9.2 scheduled at 2020-11-27 Acknowledgements: diff --git a/src/config.h.in b/src/config.h.in index 5048d4e0..4fdddfd9 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -12,7 +12,6 @@ #cmakedefine MDBX_FORCE_ASSERTIONS /* Common */ -#cmakedefine01 MDBX_HUGE_TRANSACTIONS #cmakedefine01 MDBX_TXN_CHECKOWNER #cmakedefine MDBX_ENV_CHECKPID_AUTO #ifndef MDBX_ENV_CHECKPID_AUTO diff --git a/src/core.c b/src/core.c index b3dad606..a6f89cfa 100644 --- a/src/core.c +++ b/src/core.c @@ -20101,9 +20101,6 @@ __dll_export #else #error "FIXME: Unsupported byte order" #endif /* __BYTE_ORDER__ */ -#if MDBX_HUGE_TRANSACTIONS - " MDBX_HUGE_TRANSACTIONS=YES" -#endif /* MDBX_HUGE_TRANSACTIONS */ " MDBX_ENV_CHECKPID=" MDBX_ENV_CHECKPID_CONFIG " MDBX_TXN_CHECKOWNER=" MDBX_TXN_CHECKOWNER_CONFIG " MDBX_64BIT_ATOMIC=" MDBX_64BIT_ATOMIC_CONFIG diff --git a/src/options.h b/src/options.h index 6ca8a1e7..79342917 100644 --- a/src/options.h +++ b/src/options.h @@ -41,11 +41,6 @@ #endif /* DOXYGEN */ -/** Enables support for huge write-transactions */ -#ifndef MDBX_HUGE_TRANSACTIONS -#define MDBX_HUGE_TRANSACTIONS 0 -#endif /* MDBX_HUGE_TRANSACTIONS */ - /** Using fcntl(F_FULLFSYNC) with 5-10 times slowdown */ #define MDBX_OSX_WANNA_DURABILITY 0 /** Using fsync() with chance of data lost on power failure */