Raising an MDBX::Rollback exception from within a transaction discards all changes and closes the transaction.
MDBX::Rollback