Leonid Yuriev
0cc3aa3af8
mdbx: remove unneeded #undef P_DIRTY
.
2021-11-26 17:51:37 +03:00
Leonid Yuriev
adac03729d
mdbx: remove unneeded usage of <linux/sysctl.h>
.
...
Fixed https://github.com/erthink/libmdbx/issues/245
2021-11-26 17:34:04 +03:00
Leonid Yuriev
17a14ec25f
mdbx: update/fix new lmdbx-js
library name.
2021-11-26 00:31:00 +03:00
Leonid Yuriev
4e73cdf9c6
mdbx: update ChangeLog.
2021-11-26 00:24:14 +03:00
Leonid Yuriev
66c354baff
mdbx-test: add seek-test for MDBX_GET_BOTH
.
...
Related to https://github.com/erthink/libmdbx/issues/243
2021-11-25 19:19:15 +03:00
Leonid Yuriev
76399bd643
mdbx: fix returning MDBX_NOTFOUND
for non-exact seek case of MDBX_GET_BOTH
.
...
Fixed https://github.com/erthink/libmdbx/issues/243
2021-11-25 19:19:04 +03:00
Leonid Yuriev
4f2aba2d22
mdbx: minor fix formatting (cosmetics).
2021-11-25 19:15:02 +03:00
Leonid Yuriev
085a97f835
mdbx: define MDBX_ENODATA == 9919
on systems without ENODATA
.
...
As workaround for incompatibility C and C++ code using LLVM's C++ libraries/headers on on systems without native `ENODATA`.
2021-11-22 16:09:08 +03:00
Leonid Yuriev
a2141ceaac
mdbx: slightly more cases to return MDBX_ENODATA
.
2021-11-22 13:48:08 +03:00
Leonid Yuriev
9d55d06a20
mdbx-test: add check for MDBX_ENODATA
condition.
2021-11-22 13:43:51 +03:00
Leonid Yuriev
e93d53ed92
mdbx: update ChangeLog.
2021-11-21 02:38:14 +03:00
Leonid Yuriev
8cb7c0f4fb
mdbx: fix MDBX_PROBLEM
while update an obsolete meta-page.
...
Fixes https://github.com/erthink/libmdbx/issues/242
2021-11-21 02:37:56 +03:00
Leonid Yuriev
773172cc99
mdbx: minor clarify descriptions of the MDBX_commit_latency
fields.
2021-11-19 18:36:14 +03:00
Leonid Yuriev
937b38371f
mdbx: remove obsolete
remark from the reference to Java bindings.
2021-11-19 17:00:29 +03:00
Леонид Юрьев (Leonid Yuriev)
c312fead97
mdbx: update ChangeLog.
2021-11-19 16:21:44 +03:00
Леонид Юрьев (Leonid Yuriev)
bfff6cfe85
mdbx: fix nasty sizeof(bytes)
typo.
2021-11-19 16:21:44 +03:00
Leonid Yuriev
86c735637e
mdbx-cmake: add MDBX_FORCE_BUILD_AS_MAIN_PROJECT
.
2021-11-19 16:21:40 +03:00
Leonid Yuriev
ff26d30362
mdbx: minor clarity enum MDBX_db_flags_t
(database flags) descriptions.
...
Related to https://github.com/erthink/libmdbx/issues/241
2021-11-12 19:38:48 +03:00
Leonid Yuriev
79a5802ad4
mdbx: add the note about "Visual Studio 2015 Update 3".
2021-11-11 20:38:39 +03:00
Leonid Yuriev
0e2ca3eb51
mdbx: more parallelable CMP2INT
for E2K.
2021-11-10 03:17:59 +03:00
Leonid Yuriev
e488604448
mdbx: minor fix mdbx_jitter4testing()
for case MDBX_DEBUG >= 2
.
2021-11-10 03:05:51 +03:00
Leonid Yuriev
eaa77c91cd
mdbx: drop obsolete internal mm_flags
macro.
2021-11-10 02:43:43 +03:00
Leonid Yuriev
8ed0a5946b
mdbx: update ChangeLog.
2021-11-10 00:34:45 +03:00
Leonid Yuriev
0cd7dfb465
mdbx-ci: add dll-path-workaround to MinGW scenario with minor cleanup.
2021-11-10 00:23:01 +03:00
Leonid Yuriev
f38b1dab13
mdbx-ci: avoid spelling warnings.
2021-11-09 13:31:23 +03:00
sasgas
74d5a42578
mdbx: fix compilation with devtoolset-9 on CentOS/RHEL 7.
...
devtoolset is always using the old ABI
https://bugzilla.redhat.com/show_bug.cgi?id=1546704
https://stackoverflow.com/questions/49393888/how-can-i-use-the-new-c-11-abi-with-devtoolset-7-on-centos-rhel
2021-11-09 13:29:23 +03:00
Leonid Yuriev
6ecadba69a
mdbx: update ChangeLog.
2021-11-08 18:37:21 +03:00
Leonid Yuriev
b46e5c4ce8
mdbx: simplify collection of page-ops statistic.
2021-11-07 22:14:33 +03:00
Leonid Yuriev
96139eef48
mdbx: a whole snapshot inside mdbx_env_info_ex()
.
2021-11-07 21:18:10 +03:00
Leonid Yuriev
0c3a5da3cb
mdbx: refine visibility of internal mdbx_osal_jitter()
.
2021-11-07 19:48:14 +03:00
Leonid Yuriev
c456625ef2
mdbx-cmake: initial support for C++23.
2021-11-07 02:18:56 +03:00
Leonid Yuriev
630ef98951
mdbx-cmake: allow to define CMAKE_CXX_STANDARD
by the environment variable.
2021-11-07 02:18:56 +03:00
Leonid Yuriev
7179823d56
mdbx-make: extpanded list of c++std for probing.
2021-11-07 02:18:56 +03:00
Leonid Yuriev
8870d33fcd
mdbx++: refine MDBX_CXX01_CONSTEXPR
for legacy compilers.
...
Enable `constexpr` via `MDBX_CXX01_CONSTEXPR` if __cplusplus == 201103L but __cpp_constexpr is undefined.
2021-11-07 02:18:56 +03:00
Leonid Yuriev
710fc95d9a
mdbx: update patch for old buildroot versions.
2021-10-24 20:43:37 +03:00
Leonid Yuriev
93a24abbab
mdbx: fix minor/paranoid MSVC warning.
2021-10-24 02:28:28 +03:00
Leonid Yuriev
113162b651
mdbx: release v0.11.1
...
Backward compatibility break:
-----------------------------
The database format signature has been changed to prevent
forward-interoperability with an previous releases, which may lead to a
[false positive diagnosis of database corruption](https://github.com/erthink/libmdbx/issues/238 )
due to flaws of an old library versions.
This change is mostly invisible:
- previously versions are unable to read/write a new DBs;
- but the new release is able to handle an old DBs and will silently upgrade ones.
Acknowledgements:
-----------------
- [Alex Sharov](https://github.com/AskAlexSharov ) for reporting and testing.
Signed-off-by: Leonid Yuriev <leo@yuriev.ru>
2021-10-23 20:15:50 +03:00
Leonid Yuriev
5babf0872e
mdbx++: add ifndef-guard for _CRT_SECURE_NO_WARNINGS
.
2021-10-22 20:14:12 +03:00
Leonid Yuriev
331232858a
adds updating db-format signature during DB open.
...
Fixes https://github.com/erthink/libmdbx/issues/238 .
2021-10-22 20:13:57 +03:00
Leonid Yuriev
fcb8cd2145
mdbx: alter DB-format' signature and change version to v0.11.x (not a release).
...
Related to https://github.com/erthink/libmdbx/issues/238
Signed-off-by: Leonid Yuriev <leo@yuriev.ru>
2021-10-21 15:17:18 +03:00
Leonid Yuriev
514910621e
mdbx: return MDBX_CORRUPTED
instead of MDBX_PAGE_NOTFOUND
for invalid pages.
2021-10-15 01:11:20 +03:00
Leonid Yuriev
7251f47d5b
mdbx: fix typo which lead any error conversion to the 1
.
2021-10-14 20:03:37 +03:00
Leonid Yuriev
edda9515d6
mdbx: release v0.10.5 (hotfix).
...
Acknowledgements:
-----------------
- [Noel Kuntze](https://github.com/Thermi ) for immediately bug reporting.
Fixes:
------
- Fixed unaligned access regression after the `#pragma pack` fix for modern compilers.
- Added UBSAN-test to CI to avoid a regression(s) similar to lately fixed.
- Fixed possibility of meta-pages clashing after manually turn to a particular meta-page using `mdbx_chk` utility.
Minors:
-------
- Refined handling of weak or invalid meta-pages while a DB opening.
- Refined providing information for the @MAIN and @GC sub-databases of a last committed modification transaction's ID.
Signed-off-by: Leonid Yuriev <leo@yuriev.ru>
2021-10-13 16:35:26 +03:00
Leonid Yuriev
4632df5661
mdbx: cleanup non-persistent flags from meta-model.
2021-10-13 16:34:53 +03:00
Leonid Yuriev
11a5c50591
mdbx: fix turn_for_recovery()
for possibility of meta-pages clashing after turn to a particular meta-page.
2021-10-13 16:34:53 +03:00
Leonid Yuriev
3092078709
mdbx: refine handling of weak or invalid meta-pages while a DB opening.
2021-10-13 16:34:53 +03:00
Leonid Yuriev
cbb71058ca
mdbx: refine providing information for the @MAIN and @GC sub-databases of a last committed modification transaction's ID.
2021-10-13 16:34:25 +03:00
Leonid Yuriev
9dd15a4415
mdbx-ci: use Circle-CI for UBSAN-test pass.
2021-10-13 16:13:30 +03:00
Leonid Yuriev
30745e0621
mdbx: refix #pragma pack
for modern compilers and aligned-required arches (hotfix).
...
Fix a regression after the https://github.com/erthink/libmdbx/issues/235
2021-10-13 16:13:22 +03:00
Leonid Yuriev
c9659e1aca
mdbx: fix minor ChangeLog typo.
2021-10-11 17:18:06 +03:00