vhbit / lmdb-rs

Rust bindings for LMDB
MIT License
114 stars 47 forks source link

Read Only Transactions don't reset #50

Open valarauca opened 7 years ago

valarauca commented 7 years ago

I was attempting to store stale read transactions to prevent allocating a new one.

When ever a ReadonlyTransaction<'a> is abort(&mut self) or reset(&mut self) when ever renew(&mut self) was called after I'd receive the error that it was in Normal state.