MySQL 8.4.2
Source Code Documentation
|
A Strategy for prelocking algorithm suitable for DML statements. More...
#include <sql_base.h>
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 |
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.