MySQL 9.0.0
Source Code Documentation
MDL_ticket_store::Duration Struct Reference

Public Attributes

Ticket_p_list m_ticket_list
 
MDL_ticketm_mat_front = nullptr
 m_mat_front tracks what was the front of m_ticket_list, the last time MDL_context::materialize_fast_path_locks() was called. More...
 

Member Data Documentation

◆ m_mat_front

MDL_ticket* MDL_ticket_store::Duration::m_mat_front = nullptr

m_mat_front tracks what was the front of m_ticket_list, the last time MDL_context::materialize_fast_path_locks() was called.

This just an optimization which allows MDL_context::materialize_fast_path_locks() only to consider the locks added since the last time it ran. Consequently, it can be assumed that every ticket after m_mat_front is materialized, but the converse is not necessarily true as new, already materialized, locks may have been added since the last time materialize_fast_path_locks() ran.

◆ m_ticket_list

Ticket_p_list MDL_ticket_store::Duration::m_ticket_list

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