| My Project
   
    | 
#include <sql_base.h>
| Public Types | |
| enum | enum_open_table_action { OT_NO_ACTION = 0, OT_BACKOFF_AND_RETRY, OT_REOPEN_TABLES, OT_DISCOVER, OT_REPAIR } | 
| Public Member Functions | |
| Open_table_context (THD *thd, uint flags) | |
| bool | recover_from_failed_open () | 
| bool | request_backoff_action (enum_open_table_action action_arg, TABLE_LIST *table) | 
| bool | can_recover_from_failed_open () const | 
| const MDL_savepoint & | start_of_statement_svp () const | 
| ulong | get_timeout () const | 
| uint | get_flags () const | 
| void | set_has_protection_against_grl () | 
| bool | has_protection_against_grl () const | 
A context of open_tables() function, used to recover from a failed open_table() or open_routine() attempt.
| void Open_table_context::set_has_protection_against_grl | ( | ) |  [inline] | 
Set flag indicating that we have already acquired metadata lock protecting this statement against GRL while opening tables.
| const MDL_savepoint& Open_table_context::start_of_statement_svp | ( | ) | const  [inline] | 
When doing a back-off, we close all tables acquired by this statement. Return an MDL savepoint taken at the beginning of the statement, so that we can rollback to it before waiting on locks.
 1.7.6.1
 1.7.6.1