mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:04:12 +08:00
mdbx: drop unnecessary MDBX_HUGE_TRANSACTIONS
option.
Change-Id: I86116c2bada268d6e0a5c97deff808aaffe3e599
This commit is contained in:
parent
c5061f9289
commit
84235c7903
@ -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)
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user