unsafe fn rollback_no_clear() where Self: MemPool {
        if let Some(journal) = Journal::<Self>::current(false) {
            *journal.1 -= 1;

            if *journal.1 == 0 {
                log!(Self, White, "ROLLBACK_NC", "JRNL: {:?}", journal.0);

                as_mut(journal.0).rollback(
                    #[cfg(feature = "check_double_free")]
                    &mut *Self::dealloc_history()
                );
            }
        }
    }
/// Discards all changes without clearing the logs
///
/// If the transaction is nested, it propagates the panic upto the top most
/// transaction to make all of them tainted.
///
/// # Safety
///
/// This function is for internal use and should not be called elsewhere.
///
Discards all changes without clearing the logs
If the transaction is nested, it propagates the panic upto the top most
transaction to make all of them tainted.
Discards all changes without clearing the logs If the transaction is nested it propagates the panic upto the top most transaction to make all of them tainted .
unsafe fn rollback_no_clear() where Self: MemPool {
        if let Some(journal) = Journal::<Self>::current(false) {
            *journal.1 -= 1;
            if *journal.1 == 0 {
                log!(Self, White, "ROLLBACK_NC", "JRNL: {:?}", journal.0);
                as_mut(journal.0).rollback(
                    #[cfg(feature = "check_double_free")]
                    &mut *Self::dealloc_history()
                );
            }
        }
    }
unsafe fn rollback_no_clear ( ) where Self : MemPool { if let Some ( journal ) = Journal :: < Self > :: current ( false ) { * journal . 1 -= 1 ; if * journal . 1 == 0 { log ! ( Self White " " " " journal 0 ) ; as_mut ( journal . 0 ) . rollback ( # [ cfg ( feature " " ) ] & mut * Self :: dealloc_history ( ) ) ; } } }
Discards all changes without clearing the logs
If the transaction is nested, it propagates the panic upto the top most
transaction to make all of them tainted.
Discards all changes without clearing the logs If the transaction is nested it propagates the panic upto the top most transaction to make all of them tainted .
safety
This function is for internal use and should not be called elsewhere.
This function is for internal use and should not be called elsewhere .