Function lmdb_master_sys::mdb_txn_abort
source · pub unsafe extern "C" fn mdb_txn_abort(txn: *mut MDB_txn)
Expand description
Abandon all the operations of the transaction instead of saving them.
The transaction handle is freed. It and its cursors must not be used again after this call, except with #mdb_cursor_renew().
Note: Earlier documentation incorrectly said all cursors would be freed. Only write-transactions free cursors.
§Arguments
txn
(direction in) - A transaction handle returned by #mdb_txn_begin()