Full_Name: Scott Kevill
Submission from: (NULL) (184.108.40.206)
Using a read-only txn with mdb_txn_reset() and mdb_txn_renew() is a little
clumsy at the moment because the first use needs to be a mdb_txn_begin().
This means either an initial mdb_txn_begin() + mdb_txn_reset() to get it into
the reset state, or else for every operation to do something like:
... do work ...
An additional flag (eg. MDB_RESET?) for mdb_txn_begin() that only worked in
conjunction with MDB_RDONLY could save that (minor) wasted work.
Show replies by date