MySQL  8.0.16
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:
Alter_table_prelocking_strategy DML_prelocking_strategy Lock_tables_prelocking_strategy

Public Member Functions

virtual ~Prelocking_strategy ()
 
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_LIST *table_list, bool *need_prelocking)=0
 
virtual bool handle_view (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *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 ( )
inlinevirtual

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_LIST table_list,
bool need_prelocking 
)
pure virtual

◆ handle_view()

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

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