Леонид Юрьев (Leonid Yuriev)
4f6b92248d
mdbx: add pgop_stat.gcrtime
for collect the time spent loading and searching inside GC.
2022-07-01 09:27:38 +03:00
Леонид Юрьев (Leonid Yuriev)
46f61c3006
mdbx: merge branch master
into devel
.
2022-06-27 12:39:09 +03:00
Леонид Юрьев (Leonid Yuriev)
e3a09db3da
mdbx: always coalescing GC records, regardless to MDBX_COALESCE
flag.
2022-06-27 12:37:29 +03:00
Леонид Юрьев (Leonid Yuriev)
7b735c272d
mdbx: allow predefine/customise MDBX_LOCK_SUFFIX
, MDBX_DATANAME
, MDBX_LOCKNAME
.
2022-06-25 22:14:06 +03:00
Леонид Юрьев (Leonid Yuriev)
5d933d09d3
mdbx: minor refine/clarify descriptions of MDBX_LOCKNAME
and MDBX_DATANAME
.
2022-06-25 15:27:33 +03:00
Леонид Юрьев (Leonid Yuriev)
f5280ebf6e
mdbx: bump version to 0.12.0 (not a release but preparation for changing feature set and API).
2022-06-25 15:14:46 +03:00
Леонид Юрьев (Leonid Yuriev)
b6138c39f0
mdbx: reorganize internal includes.
2022-06-02 20:35:40 +03:00
Леонид Юрьев (Leonid Yuriev)
106f39327e
mdbx: add mdbx_assert_fail()
to public API.
2022-06-02 20:35:40 +03:00
Леонид Юрьев (Leonid Yuriev)
70d9efdce4
mdbx: fix minor CLANG 14/15 warnings.
2022-05-17 13:36:38 +03:00
Леонид Юрьев (Leonid Yuriev)
9230201ca9
mdbx: fix minor warning for MDBX_TXN_INVALID
.
2022-05-03 14:16:19 +03:00
Леонид Юрьев (Leonid Yuriev)
838f8d8fab
mdbx: move most of transactions flags to public API.
2022-05-03 11:49:28 +03:00
Леонид Юрьев (Leonid Yuriev)
1b0519a94a
mdbx-docs: fix Doxygen groups for struct MDBX_commit_latency
and mdbx_txn_commit_ex()
.
2022-05-03 11:49:28 +03:00
Леонид Юрьев (Leonid Yuriev)
ce229c7500
mdbx-docs: more refine/clarify Doxygen descriptions.
2022-04-23 23:23:15 +03:00
Леонид Юрьев (Leonid Yuriev)
9c569b41ed
mdbx-docs: fix/refine C++ API
docs by Doxygen.
2022-04-23 23:23:15 +03:00
Леонид Юрьев (Leonid Yuriev)
2921711638
mdbx: minor refine note about migration from dead github.
2022-04-21 15:34:56 +03:00
Леонид Юрьев (Leonid Yuriev)
35b5abc103
mdbx: minor fix/refix Doxygen descriptions.
2022-04-20 18:04:04 +03:00
Леонид Юрьев (Leonid Yuriev)
8fb63c3675
mdbx: minor refine API descriptions.
2022-04-13 11:05:03 +03:00
Леонид Юрьев (Leonid Yuriev)
cabead30b5
mdbx: minor cosmetics.
2022-03-31 00:31:49 +03:00
Леонид Юрьев (Leonid Yuriev)
6f37c8e57f
mdbx: resolve all warnings from MinGW.
2022-03-30 18:13:08 +03:00
Леонид Юрьев (Leonid Yuriev)
33a9395afe
mdbx: use MDBX_EPERM
to indicate that the geometry cannot be updated instead of `MDBX_RESULT_TRUE'.
2022-03-29 18:57:26 +03:00
Леонид Юрьев (Leonid Yuriev)
de63041b7d
mdbx: add MDBX_DBG_DONT_UPGRADE
flag.
2022-03-23 00:48:41 +03:00
Леонид Юрьев (Leonid Yuriev)
77f236db2a
mdbx: clarify loglevel descriptions.
2022-02-17 02:30:16 +03:00
Леонид Юрьев (Leonid Yuriev)
cbbfaf3202
mdbx-doc: fix doxygen-reference to the "Long-lived read transactions" paragraph.
2022-02-08 14:37:11 +03:00
Леонид Юрьев (Leonid Yuriev)
d498c2580b
mdbx: more refine mdbx_env_set_geometry()
description.
2022-02-02 14:28:45 +03:00
Леонид Юрьев (Leonid Yuriev)
e740df6e50
mdbx: fix description of mdbx_env_set_geometry()
.
...
Oops, I just noticed that there are a strange typos in the description.
It looks like a search&replace or cut&paste mistake.
Related to https://github.com/LWJGL/lwjgl3/issues/724 .
2022-02-02 14:09:03 +03:00
Leonid Yuriev
8adf242d02
mdbx-doc: more line-breaks for Doxygen.
2022-01-25 20:25:10 +03:00
Leonid Yuriev
28fcf33cda
mdbx-doc: fix/refine MDBX_dbi
description.
2022-01-25 20:09:17 +03:00
Leonid Yuriev
86d4e37327
mdbx: fix minor copy-paste errors in descriptions.
2022-01-25 01:08:14 +03:00
Leonid Yuriev
75b23524bd
mdbx-doc: minor refine mdbx_env_set_geometry()
description.
2022-01-21 11:44:05 +03:00
Leonid Yuriev
c588af6aca
mdbx: update Copyright year.
...
Change-Id: Ib3e4c0ac94882c4b2a1e167dd98e6e26dbdf48a4
2022-01-17 11:06:14 +03:00
Leonid Yuriev
406cafb642
mdbx: treat the UINT64_MAX
value as maximum for given option inside mdbx_env_set_option()
.
2022-01-06 00:37:08 +03:00
Leonid Yuriev
4e44dc69f9
mdbx: add MDBX_SET_UPPERBOUND
for cursors.
...
Resolves https://github.com/erthink/libmdbx/issues/250 .
2021-12-13 04:24:34 +03:00
Leonid Yuriev
6f2c1e52ad
mdbx: add mdbx_cursor_get_batch()
.
...
Resolve https://github.com/erthink/libmdbx/issues/236
2021-12-11 05:58:39 +03:00
gcxfd
45a11f3dc2
mdbx: Make the documentation of MDBX_INTEGERKEY
clearer.
...
Resolves https://github.com/erthink/libmdbx/pull/249 .
2021-12-03 22:29:28 +03:00
Leonid Yuriev
f355f247c3
mdbx: add inlined mdbx_env_get_syncbytes()
& mdbx_env_get_syncperiod()
.
2021-12-03 21:55:40 +03:00
Leonid Yuriev
e912f87b2a
mdbx: clarify notes about custom comparators usage.
2021-11-26 23:49:38 +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
773172cc99
mdbx: minor clarify descriptions of the MDBX_commit_latency
fields.
2021-11-19 18:36:14 +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
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
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
e3300259ff
mdbx: add minor enum-related workarounds for UndefinedBeheviorSanitizer.
2021-08-14 16:43:16 +03:00
Leonid Yuriev
68273acc2a
mdbx: add and use MDBX_NOSANITIZE_ENUM
macro.
2021-08-14 16:43:12 +03:00
Leonid Yuriev
4bb0c57e29
mdbx: minor fixes/workarounds for CLANG < 9.x
2021-08-04 15:43:32 +03:00
Leonid Yuriev
79281d59c7
mdbx++: workaround macro for clang bugs.
2021-07-26 03:53:11 +03:00
Leonid Yuriev
046dc02f73
mdbx: make MDBX_STRINGIFY
macro public.
2021-07-26 03:53:11 +03:00
Leonid Yuriev
faafa21480
mdbx-doc: refine Dixygen comments related to use custom comparators.
2021-07-21 02:23:10 +03:00
Leonid Yuriev
c5268f1da7
mdbx-tools: add support of page operations stat to mdbx_stat
.
2021-05-12 14:41:09 +03:00
Leonid Yuriev
23e11e3a57
mdbx: refine/fix MDBX_MAYBE_UNUSED
for modern GCC 11.x and C20.
2021-05-12 14:40:58 +03:00
Leonid Yuriev
ebab75642e
mdbx: add public MDBX_MAYBE_UNUSED
.
...
This also should fix C++ mdbx API build by MSVC 2015.
2021-05-11 21:07:40 +03:00