[][src]Function lmdb_sys::mdb_txn_abort

pub unsafe extern "C" fn mdb_txn_abort(txn: *mut MDB_txn)

@brief 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. @param[in] txn A transaction handle returned by #mdb_txn_begin()