Struct mariadb_sys::MDL_savepoint
source · #[repr(C)]pub struct MDL_savepoint {
pub m_stmt_ticket: *mut MDL_ticket,
pub m_trans_ticket: *mut MDL_ticket,
}
Expand description
Savepoint for MDL context.
Doesn’t include metadata locks with explicit duration as they are not released during rollback to savepoint.
Fields§
§m_stmt_ticket: *mut MDL_ticket
Pointer to last lock with statement duration which was taken before creation of savepoint.
m_trans_ticket: *mut MDL_ticket
Pointer to last lock with transaction duration which was taken before creation of savepoint.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MDL_savepoint
impl !Send for MDL_savepoint
impl !Sync for MDL_savepoint
impl Unpin for MDL_savepoint
impl !UnwindSafe for MDL_savepoint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more