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()