https://bugs.openldap.org/show_bug.cgi?id=10260
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Howard Chu hyc@openldap.org ---
In lmdb.h, could the documentation for MDB_val talk about alignment of mv_data?
No.
All guarantees are already documented. e.g. http://www.lmdb.tech/doc/group__internal.html#ga8c8e3aac03984bb37d2b5adf7c4e...
In LMDB 0.9 keys are guaranteed to be 2-byte aligned.
In LMDB 1.0 values will be guaranteed to be 2-byte aligned (keys will be padded with an extra byte if necessary).
Anything else is entirely up to how you use it.