mirror of
https://gitflic.ru/project/erthink/libmdbx.git
synced 2026-07-14 18:46:08 +00:00
8e70d79845
Fixed https://github.com/Mithril-mine/libmdbx/issues/362 2026-06-18 mdbx: fix `ERROR_LOCK_VIOLATION` during defrag on Windows. 2026-06-18 mdbx-test: determining the amount of free RAM in Windows inside the `stochastic` script. 2026-06-17 mdbx: fix typo in handling `NOMETASYNC` while emit `SYNC_IODQ`. 2026-06-17 mdbx: fix internal comment typo. 2026-06-17 mdbx: using `IS_WINDOWS` macro. 2026-06-17 mdbx: minor defrag refines. 2026-06-17 mdbx: rename `MAX_WRITE` to `MAX_IO_BYTES`. 2026-06-16 mdbx-windows: avoids an extra warning logging of `geo-now` mismatch on Windows due system limitation. 2026-06-16 mdbx-cmake: add explicit `--mode=+writemap` for `dupsort_writemap` testcase. 2026-06-16 mdbx-test: fix test-db-names to avoid collisions in parallel runs. 2026-06-16 mdbx-windows: fix using the bad/wrong Windows's `off_t` type. 2026-06-15 mdbx: update ChangeLog. 2026-06-17 mdbx-test: fix build for Windows. 2026-06-15 mdbx-test: avoid a lot of logging from `extra/bunches_removal`. 2026-06-15 mdbx++: minor fixes/refines C++ API. 2026-06-09 mdbx-test: add `extra/nested_drop_abort`.
Examples & Unit tests
This set of examples will be updated, and most of the examples are also publicly available tests.
C API
The example-mdbx.c is the example of using the C API.
However, it is strongly recommended to use the modern C++ API, which requires less effort
and ensures against many bugs related to resource leaks.
Berkeley DB
If you have already used Berkeley DB, then it will be useful to make a line-by-line comparison of example-mdbx.c and the sample-bdb.txt file.