bmatsuo / lmdb-go

Bindings for the LMDB C library
BSD 3-Clause "New" or "Revised" License
157 stars 59 forks source link

Fix wrong decoding of txnid and differing output in lmdb_stat #78

Closed lmb closed 8 years ago

lmb commented 8 years ago

lmdb_stat currently does not correctly decode the txnid of freelist entries. I've also made small changes so that the output is 1:1 with mdb_stat.

bmatsuo commented 8 years ago

Oops. I guess I didn't validate things very carefully (or using diff :stuck_out_tongue_closed_eyes:). But this looks good. Thanks for catching this.