MySQL 8.0.30
Source Code Documentation
Alter_table_prelocking_strategy Class Reference

Strategy for prelocking algorithm to be used for ALTER TABLE statements. More...

#include <sql_base.h>

Inheritance diagram for Alter_table_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 ALTER TABLE statement should handle routines - do nothing as this statement is not supposed to call routines. More...
 
bool handle_table (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking) override
 Defines how prelocking algorithm for ALTER TABLE statement should handle table list elements. More...
 
bool handle_view (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking) override
 Defines how prelocking algorithm for ALTER TABLE statement should handle view - do nothing. More...
 
- Public Member Functions inherited from Prelocking_strategy
virtual ~Prelocking_strategy ()=default
 

Detailed Description

Strategy for prelocking algorithm to be used for ALTER TABLE statements.

Unlike DML or LOCK TABLES strategy, it doesn't prelock triggers, views or stored routines, since they are not used during ALTER.


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