Function lmdb_sys::mdb_txn_renew
source · [−]Expand description
@brief 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. @param[in] txn A transaction handle returned by #mdb_txn_begin() @return A non-zero error value on failure and 0 on success. Some possible errors are:
- #MDB_PANIC - a fatal error occurred earlier and the environment must be shut down.
- EINVAL - an invalid parameter was specified.