4936 Commits

Author SHA1 Message Date
Леонид Юрьев (Leonid Yuriev)
64904f0cab mdbx: support RISC-V for build/target information. 2025-11-19 18:45:10 +03:00
Леонид Юрьев (Leonid Yuriev)
47a80b23f3 mdbx: reorder E2K build/target info to avoid clashes/collisions. 2025-11-19 18:45:10 +03:00
Леонид Юрьев (Leonid Yuriev)
aee4971a2f mdbx: support Harmony OS for build/target information. 2025-11-19 18:45:10 +03:00
Леонид Юрьев (Leonid Yuriev)
77ac97879a mdbx++: add cursor::update_current() and cursor::reverse_current(). 2025-11-18 18:31:34 +03:00
Леонид Юрьев (Leonid Yuriev)
0ec2758784 mdbx++: using internal structures in the C++ portion of library. 2025-11-18 18:31:34 +03:00
Леонид Юрьев (Leonid Yuriev)
5598ec9a98 mdbx++: add three-way comparison for mdbx::slice, mdbx::buffer and mdbx::pair. 2025-11-17 14:54:59 +03:00
Леонид Юрьев (Leonid Yuriev)
73215bdcc7 mdbx++: add txnid type. 2025-11-17 14:54:51 +03:00
Леонид Юрьев (Leonid Yuriev)
9d7c5243d2 mdbx: update ChangeLog. 2025-11-12 18:10:35 +03:00
Леонид Юрьев (Leonid Yuriev)
5b740913d0 mdbx++: add missing std::hash<mdbx::buffer<>>. 2025-11-12 17:54:57 +03:00
Леонид Юрьев (Leonid Yuriev)
2f33449f2a mdbx-windows: use timeouts instead of retries for file locking. 2025-11-12 17:54:57 +03:00
Leonid Yuriev
aac890314c mdbx-windows: refine assertion handling for debug builds. 2025-11-12 17:54:40 +03:00
Leonid Yuriev
cfb9a55ebc mdbx: fix tls-dtor in case library unloading with an incomplete initialized env instance. 2025-11-10 21:38:06 +03:00
Леонид Юрьев (Leonid Yuriev)
cdbf2ed856 mdbx: update ChangeLog. 2025-11-08 00:25:04 +03:00
Леонид Юрьев (Leonid Yuriev)
f2f2cc3b40 mdbx: add workaround for ext4 fast-commit bug. 2025-11-07 21:17:18 +03:00
Леонид Юрьев (Leonid Yuriev)
3f8dad1ede mdbx-test: minor fix jitter test internals. 2025-11-07 21:11:21 +03:00
Леонид Юрьев (Leonid Yuriev)
a17e041830 mdbx: refactoring fetch/refresh/create/open tables and DBI-handles.
The (rare, quirky) scenario of recreating a previously opened and used table/DBI-handle
after it has been deleted by another process is now supported.
2025-11-06 10:26:28 +03:00
Леонид Юрьев (Leonid Yuriev)
207fc11d76 mdbx: update ChangeLog. 2025-11-05 14:51:44 +03:00
Леонид Юрьев (Leonid Yuriev)
3813333b28 mdbx: clean reader locktable by rthc_drown() only when no inprocess-neighbor. 2025-11-05 14:51:44 +03:00
Леонид Юрьев (Leonid Yuriev)
7628369819 mdbx: fix dummy coverity-scan warning. 2025-11-05 14:51:44 +03:00
Леонид Юрьев (Leonid Yuriev)
3bec0dbc6e mdbx: ending the transaction and return an error in case reader-slot was evicted. 2025-11-05 14:51:44 +03:00
Леонид Юрьев (Leonid Yuriev)
c07cfd30e1 mdbx: refine description of MDBX_BAD_RSLOT. 2025-11-05 14:51:44 +03:00
Леонид Юрьев (Leonid Yuriev)
ffb822cb61 mdbx: refine internal env_info_sys(). 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
7f8e3c8781 mdbx: more refining chk-output. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
916e6e817d mdbx: refine handling sys_allocation_granularity. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
bf3f9be98a mdbx: using clang-format-22. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
7b112df36e mdbx: fix unused functions warning from modern clang. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
4073330ad7 mdbx: patch update for older versions of buildroot. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
f525e4d292 mdbx: merge-in ChangeLog from the stable/0.13.x branch. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
baf3eb267f mdbx: fix extra type-casting typo. 2025-11-05 01:20:10 +03:00
Леонид Юрьев (Leonid Yuriev)
0b24446e8e mdbx: fix typo assertion-failure regression. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
8bd2ae9f20 mdbx: update ChangeLog. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
f488d84dc7 mdbx-cmake: cleanup from linking with libm. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
f695a1b48e mdbx-make: cleanup from linking with libm. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
5fb45cb3c9 mdbx-make: add -Wl,--as-needed' to LDFLAGS. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
0838af8f3d mdbx-tools: cleanup mdbx_stat from float-point. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
255a431bc1 mdbx-tools: cleanup mdbx_chk from float-point. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
dccc807aff mdbx: add float-point-free mdbx_ratio2percents() and mdbx_ratio2digits() to API for tools. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
8b2aa9fb65 mdbx: add getenv_bool() and fetching debug-options from the process environment. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
0d9b59dda1 mdbx: add osal_strcasecmp() and osal_strncasecmp(). 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
65184ff73b mdbx: rework/refine chk reporting tree/pages/tables information (squashed). 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
b8f4d6ccdd mdbx: rename "other" pages to "broken" in chk-output. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
c466dea250 mdbx: clean library core from using a float-point. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
1cf65cd880 mdbx: refine handling the MDBX_WITHOUT_MSVC_CRT option. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
7e43e14c7b mdbx: more info-output from mdbx_env_chk().
Print system io-block size, unified-page-cache block size, space allocated for the dxb-file in a filesystem.
2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
410bbbd9a5 mdbx: extending MDBX_envinfo. 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
06b6739e68 mdbx: fix assertion inside gc_alloc_ex(). 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
045968b46a mdbx: fix txn_basis_snapshot(). 2025-11-05 01:20:09 +03:00
Леонид Юрьев (Leonid Yuriev)
e292e8178c mdbx: update ChangeLog. 2025-10-29 00:14:26 +03:00
Леонид Юрьев (Leonid Yuriev)
60d5ba9790 mdbx: minor workaround for HarmonyOS's bug.
The libc from HarmonyOS SDK erroneously defines `EOWNERDEAD`,
`_POSIX_THREAD_PROCESS_SHARED >= 200809` and `PTHREAD_MUTEX_ROBUST` but
the same time doesn't provide `pthread_mutexattr_setrobust()` and
`pthread_mutex_consistent()`.

This commit add a minor workaround for such bug for successful building
without explicitly defining `MDBX_LOCKING=2001`.

Related to https://github.com/erthink/libmdbx/issues/285, https://github.com/vorot93/libmdbx-rs/issues/41, https://github.com/isar-community/isar-community/issues/28.
2025-10-29 00:10:06 +03:00
Leonid Yuriev
43c4503a77 mdbx: minor clean-up tautology in assertion. 2025-10-26 18:02:04 +03:00