]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Creating LMDB 1.0 release branch
authorHoward Chu <hyc@openldap.org>
Tue, 28 Apr 2026 16:09:52 +0000 (17:09 +0100)
committerHoward Chu <hyc@openldap.org>
Tue, 28 Apr 2026 16:09:52 +0000 (17:09 +0100)
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c

index da7b3c94a602248efca0c6a11c714decc212f9d6..7d0d7e1023b3cb02bc0b227c1e95ee3e8032efb4 100644 (file)
  *
  *     @author Howard Chu, Symas Corporation.
  *
- *     @copyright Copyright 2011-2021 Howard Chu, Symas Corp. All rights reserved.
+ *     @copyright Copyright 2011-2026 Howard Chu, Symas Corp. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted only as authorized by the OpenLDAP
@@ -230,11 +230,11 @@ typedef int mdb_filehandle_t;
  *     @{
  */
 /** Library major version */
-#define MDB_VERSION_MAJOR      0
+#define MDB_VERSION_MAJOR      1
 /** Library minor version */
-#define MDB_VERSION_MINOR      9
+#define MDB_VERSION_MINOR      0
 /** Library patch version */
-#define MDB_VERSION_PATCH      90
+#define MDB_VERSION_PATCH      0
 
 /** Combine args a,b,c into a single integer for easy version comparisons */
 #define MDB_VERINT(a,b,c)      (((a) << 24) | ((b) << 16) | (c))
@@ -244,7 +244,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 1, 2017"
+#define MDB_VERSION_DATE       "April 28, 2026"
 
 /** A stringifier for the version info */
 #define MDB_VERSTR(a,b,c,d)    "LMDB " #a "." #b "." #c ": (" d ")"
index 5a06d7be6763b0fc4425bdd795a8bfc41063c58c..3f7ce4b4a01dfc003bb0191225d515bd11f76c5b 100644 (file)
@@ -707,7 +707,7 @@ static txnid_t mdb_debug_start;
         *      #MDB_DUPSORT data items must fit on a node in a regular page.
         */
 #ifndef MDB_MAXKEYSIZE
-#define MDB_MAXKEYSIZE  ((MDB_DEVEL) ? 0 : 511)
+#define MDB_MAXKEYSIZE 0
 #endif
 
        /**     The maximum size of a key we can write to the environment. */