https://bugs.openldap.org/show_bug.cgi?id=10534
Issue ID: 10534 Summary: mdb_env_get_maxkeysize(): requires an _env_open()ed handle Product: LMDB Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: liblmdb Assignee: bugs@openldap.org Reporter: steffen@sdaoden.eu Target Milestone: ---
Created attachment 1174 --> https://bugs.openldap.org/attachment.cgi?id=1174&action=edit git-enabled patch
Super minor, but my LMDB implementation for the bogofilter program was buggy because of this. They had to fix it accordingly after almost 8 years, when updating to LMDB 1.0. Suggested fix would be something like
- * @param[in] env An environment handle returned by #mdb_env_create() + * @param[in] env An environment handle that is #mdb_env_open()
Thanks! And ciao.
https://bugs.openldap.org/show_bug.cgi?id=10534
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- Fixed in c7ef658f074e38b24eb76eec0b10078d247c856b
https://bugs.openldap.org/show_bug.cgi?id=10534
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.0.1 Keywords|needs_review | Assignee|bugs@openldap.org |hyc@openldap.org Version|unspecified |1.0.0
https://bugs.openldap.org/show_bug.cgi?id=10534
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- mdb.master3:
• c7ef658f by Howard Chu at 2026-07-12T16:49:33+01:00 ITS#10534 lmdb: update mdb_env_get_maxkeysize() doc
mdb.RE/1.0:
• 136667a1 by Howard Chu at 2026-07-14T15:01:49+01:00 ITS#10534 lmdb: update mdb_env_get_maxkeysize() doc
https://bugs.openldap.org/show_bug.cgi?id=10534
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Status|RESOLVED |VERIFIED