MySQL 8.0.40
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:
[legend]

Public Member Functions

bool handle_routine (THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking) override
 Defines how prelocking algorithm for DML statements should handle routines: More...
 
bool handle_table (THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
 Defines how prelocking algorithm for DML statements should handle table list elements: More...
 
bool handle_view (THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
 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 ()=default
 

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: