My Project
|
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) |
A strategy for the prelocking algorithm which prevents the delayed insert thread from opening tables with engines which do not support delayed inserts.
Particularly it allows to abort open_tables() as soon as we discover that we have opened a MERGE table, without acquiring metadata locks on underlying tables.