MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Alter_table_prelocking_strategy Class Reference

#include <sql_base.h>

Inheritance diagram for Alter_table_prelocking_strategy:
Collaboration diagram for Alter_table_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)
virtual bool handle_table (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking)
virtual bool handle_view (THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking)

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.

Definition at line 433 of file sql_base.h.


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