Howard Chu writes:
Explicitly documented:
/** Header for a single key/data pair within a page. * We guarantee 2-byte alignment for nodes. */
typedef struct MDB_node {
...er, that's false for LEAF2 nodes since we don't reject uneven-sized DUPFIXED keys. But that part seems to work fine, it's the non-LEAF2 which breaks.