]> granicus.if.org Git - neomutt/commit
Import hcache-lmdb fixes from upstream (#363)
authorPietro Cerutti <gahr@gahr.ch>
Sun, 5 Feb 2017 15:17:13 +0000 (15:17 +0000)
committerGitHub <noreply@github.com>
Sun, 5 Feb 2017 15:17:13 +0000 (15:17 +0000)
commit7fbaa69a6cead0738eda5bd557e494a601d73ef6
tree82d1885f649ba11a523bf47d19cab715a524815e
parent8e02fc0f882fb708f44d3b7f0e2335e360f713b1
Import hcache-lmdb fixes from upstream (#363)

Adopted from https://dev.mutt.org/hg/mutt/rev/fca7e504ab6a

Use mdb_txn_abort() to free up readonly/reset transactions, and avoid
leaking memory.

Use dprint, not fprintf, for debugging messages.

Remove strange blending of enum and bitfield logic for the txn_mode
state.

Closes #359
hcache-lmdb.c