[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7589) MDB nodesize issues
Hallvard Breien Furuseth wrote:
"Non-LEAF2 nodes are
> even-sized" feels like a deeply embedded assumption, but I haven't
> really looked.
Explicitly documented:
/** Header for a single key/data pair within a page.
* We guarantee 2-byte alignment for nodes.
*/
typedef struct MDB_node {
Obviously you cannot guarantee 2-byte alignment unless nodes are always even
sized.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/