[Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM"

Peter Korsgaard peter at korsgaard.com
Sat Jun 8 11:22:10 UTC 2024


>>>>> "Леонид" == Леонид Юрьев (Leonid Yuriev) <leo at yuriev.ru> writes:

 > This is bugfix release of stable libmdbx branch, in memory of the Hero
 > of Russia Guard Major Dmitry Semenov with the call sign "SEM".

 > It is reasonable to backport this patch to all applicable releases/branches of Buildroot.

 > The most significant fixes since v0.12.8 (previous version pinned to buildroot):

 >  - Fixed an major bug inherited from LMDB (Lightning Memory-Mappe Database)
 >    that causes database corruption during use the MDBX_DUPFIXED mode.
 >    In LMDB, the problem has existed for more than 10 years and is still
 >    present (as well as more than a dozen other bug and shortcomings
 >    fixed in libmdbx).

 >  - Fixed of a false error MDBX_CORRUPTED (-30796) in the scenario of
 >    working in the mode MDBX_DUPFIXED with odd length of multi-values.

 >  - Fixed a bug in adjusting the cursors in the case splitting a page by
 >    adding a new page on the left.

 >  - Troubleshooting an error when opening a database on a read-only file system.

 >  - A set of C++ API improvements:

 >     - added the mdbx::cursor::estimation_result type, and the behavior
 >       of methods cursor::estimate() is unified with cursor::move();

 >     - to prevent unnoticeable incorrect use of the API, for initializing
 >       slices returned by reference the slice::invalid() is used, instead of
 >       empty slices;

 >     - added additional C++ conversion operators to C API types;

 >     - types buffer::move_assign_alloc and buffer::copy_assign_alloc are public
 >       now for compatibility with older C++ standards and older STL versions;

 >     - added a new mdbx::default_buffer type;

 >     - added methods for slices and buffers hex_decode(), base64_decode(),
 >       base58_decode();

 >     - added type mdbx::comparator() and mdbx::default_comparator() functions;

 >     - added static methods buffer::hex(), buffer::base64(), buffer::base58();

 >     - added methods for transactions and cursors get/set_context();

 >     - added the cursor::clone() method;

 >     - implementation of base58 now is in accordance with the RFC draft.

 > The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md

 > Signed-off-by: Леонид Юрьев (Leonid Yuriev) <leo at yuriev.ru>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list