Discard the transaction: no journal entry and no table mutation.
(self)
| 465 | |
| 466 | /// Discard the transaction: no journal entry and no table mutation. |
| 467 | pub(super) fn abort(self) -> Result<(), RepositoryError> { |
| 468 | use atomic_core::pristine::MutTxnT; |
| 469 | self.txn |
| 470 | .abort() |
| 471 | .map_err(|error| RepositoryError::Database(error.to_string())) |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | impl<'a> OrderedPristineWriteTxn<'a> { |
no outgoing calls