From 597e77a1f40211c6d5fd74bd6cb13a65eb6fac65 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 28 Apr 2026 17:09:52 +0100 Subject: [PATCH] Creating LMDB 1.0 release branch --- libraries/liblmdb/lmdb.h | 10 +++++----- libraries/liblmdb/mdb.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index da7b3c94a6..7d0d7e1023 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -136,7 +136,7 @@ * * @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 ")" diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 5a06d7be67..3f7ce4b4a0 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -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. */