MySQL 8.0.40
Source Code Documentation
|
Strategy for prelocking algorithm to be used for ALTER TABLE 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 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_ref *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_ref *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 |
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.