MySQL 8.4.3
Source Code Documentation
MDL_savepoint Class Reference

Savepoint for MDL context. More...

#include <mdl.h>

Public Member Functions

 MDL_savepoint ()=default
 

Private Member Functions

 MDL_savepoint (MDL_ticket *stmt_ticket, MDL_ticket *trans_ticket)
 

Private Attributes

MDL_ticketm_stmt_ticket
 Pointer to last lock with statement duration which was taken before creation of savepoint. More...
 
MDL_ticketm_trans_ticket
 Pointer to last lock with transaction duration which was taken before creation of savepoint. More...
 

Friends

class MDL_context
 

Detailed Description

Savepoint for MDL context.

Doesn't include metadata locks with explicit duration as they are not released during rollback to savepoint.

Constructor & Destructor Documentation

◆ MDL_savepoint() [1/2]

MDL_savepoint::MDL_savepoint ( )
default

◆ MDL_savepoint() [2/2]

MDL_savepoint::MDL_savepoint ( MDL_ticket stmt_ticket,
MDL_ticket trans_ticket 
)
inlineprivate

Friends And Related Function Documentation

◆ MDL_context

friend class MDL_context
friend

Member Data Documentation

◆ m_stmt_ticket

MDL_ticket* MDL_savepoint::m_stmt_ticket
private

Pointer to last lock with statement duration which was taken before creation of savepoint.

◆ m_trans_ticket

MDL_ticket* MDL_savepoint::m_trans_ticket
private

Pointer to last lock with transaction duration which was taken before creation of savepoint.


The documentation for this class was generated from the following file: