MySQL  8.0.16
Source Code Documentation
DML_prelocking_strategy Class Reference

A Strategy for prelocking algorithm suitable for DML statements. More...

#include <sql_base.h>

Inheritance diagram for DML_prelocking_strategy:
Prelocking_strategy Lock_tables_prelocking_strategy

Public Member Functions

virtual bool handle_routine (THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking)
 Defines how prelocking algorithm for DML statements should handle routines: More...
 
virtual bool handle_table (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking)
 Defines how prelocking algorithm for DML statements should handle table list elements: More...
 
virtual bool handle_view (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking)
 Defines how prelocking algorithm for DML statements should handle view - all view routines should be added to the prelocking set. More...
 
- Public Member Functions inherited from Prelocking_strategy
virtual ~Prelocking_strategy ()
 

Detailed Description

A Strategy for prelocking algorithm suitable for DML statements.

Ensures that all tables used by all statement's SF/SP/triggers and required for foreign key checks are prelocked and SF/SPs used are cached.


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