chickadee » lmdb-lolevel » mdb-txn-renew

mdb-txn-renew txnprocedure

Renew a read-only transaction.

This acquires a new reader lock for a transaction handle that had been released by (mdb-txn-reset). It must be called before a reset transaction may be used again.

txn
A transaction handle returned by (mdb-txn-begin)

Some possible error conditions:

(exn lmdb MDB_PANIC)
a fatal error occurred earlier and the environment must be shut down.
(exn lmdb EINVAL)
an invalid parameter was specified.