Ah, I missed this comment in lmdb.h (and the order of mdb_txn_commit() and
mdb_cursor_close() are incorrectly reversed in lmdb_dbiCursorFree())
```
/** @brief Close a cursor handle.
*
* The cursor handle will be freed and must not be used again after
this call.
* Its transaction must still be live if it is a write-transaction.
* @param[in] cursor A cursor handle returned by #mdb_cursor_open()
*/
```
I will fix when I rip out the debugging instrumentation in lmdb.c ...
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/281#issuecomment-318812736
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint