MySQL  8.0.18
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:
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 ALTER TABLE statement should handle routines - do nothing as this statement is not supposed to call 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 ALTER TABLE statement 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 ALTER TABLE statement should handle view - do nothing. More...
 
- Public Member Functions inherited from Prelocking_strategy
virtual ~Prelocking_strategy ()
 

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: