MySQL 8.3.0
Source Code Documentation
Prelocking_strategy Class Referenceabstract

An abstract class for a strategy specifying how the prelocking algorithm should extend the prelocking set while processing already existing elements in the set. More...

#include <sql_base.h>

Inheritance diagram for Prelocking_strategy:
[legend]

Public Member Functions

virtual ~Prelocking_strategy ()=default
 
virtual bool handle_routine (THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking)=0
 
virtual bool handle_table (THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking)=0
 
virtual bool handle_view (THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking)=0
 

Detailed Description

An abstract class for a strategy specifying how the prelocking algorithm should extend the prelocking set while processing already existing elements in the set.

Constructor & Destructor Documentation

◆ ~Prelocking_strategy()

virtual Prelocking_strategy::~Prelocking_strategy ( )
virtualdefault

Member Function Documentation

◆ handle_routine()

virtual bool Prelocking_strategy::handle_routine ( THD thd,
Query_tables_list prelocking_ctx,
Sroutine_hash_entry rt,
sp_head sp,
bool *  need_prelocking 
)
pure virtual

◆ handle_table()

virtual bool Prelocking_strategy::handle_table ( THD thd,
Query_tables_list prelocking_ctx,
Table_ref table_list,
bool *  need_prelocking 
)
pure virtual

◆ handle_view()

virtual bool Prelocking_strategy::handle_view ( THD thd,
Query_tables_list prelocking_ctx,
Table_ref table_list,
bool *  need_prelocking 
)
pure virtual

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