Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6

This commit is contained in:
Quanah Gibson-Mount 2026-01-26 19:03:11 +00:00
commit 01cac70aa5
3 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,6 @@
LMDB 0.9 Change Log
LMDB 0.9.34 Engineering
LMDB 0.9.34 Release (2026/01/26)
ITS#9564 - fix race condition freeing spilled pages at end of transaction
ITS#10222 - Update mdb_dump(1) and mdb_load(1) man pages for append (-a) option
ITS#10275 - mdb_load: add -Q option to use NOSYNC
@ -9,6 +9,8 @@ LMDB 0.9.34 Engineering
ITS#10346 - fix mdb_env_copy2 with values > (2GB-16)
ITS#10355 - fix mplay build on musl
ITS#10396 - fix mdb_cursor_del0 with multiple DUPSORT cursors
ITS#10419 - add support for NetBSD
ITS#10420 - add support for Haiku
ITS#10421 - mdb_load: check for malicious input
LMDB 0.9.33 Release (2024/05/21)

View file

@ -200,7 +200,7 @@ typedef int mdb_filehandle_t;
/** Library minor version */
#define MDB_VERSION_MINOR 9
/** Library patch version */
#define MDB_VERSION_PATCH 33
#define MDB_VERSION_PATCH 34
/** Combine args a,b,c into a single integer for easy version comparisons */
#define MDB_VERINT(a,b,c) (((a) << 24) | ((b) << 16) | (c))
@ -210,7 +210,7 @@ typedef int mdb_filehandle_t;
MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
/** The release date of this library version */
#define MDB_VERSION_DATE "May 21, 2024"
#define MDB_VERSION_DATE "Jan 26, 2026"
/** A stringifier for the version info */
#define MDB_VERSTR(a,b,c,d) "LMDB " #a "." #b "." #c ": (" d ")"

View file

@ -135,6 +135,14 @@ typedef SSIZE_T ssize_t;
# endif
#elif defined(ANDROID)
# define MDB_FDATASYNC fsync
#elif defined(__HAIKU__)
# define MDB_USE_POSIX_SEM 1
# define MDB_FDATASYNC fsync
#endif
/* NetBSD does not define union semun in sys/sem.h */
#if defined(__NetBSD__) && !defined(_SEM_SEMUN_UNDEFINED)
# define _SEM_SEMUN_UNDEFINED 1
#endif
#ifndef _WIN32