mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '5.5' into 10.1
This commit is contained in:
@ -252,17 +252,7 @@ lock_table_names(THD *thd, TABLE_LIST *table_list,
|
||||
}
|
||||
bool open_tables(THD *thd, const DDL_options_st &options,
|
||||
TABLE_LIST **tables, uint *counter,
|
||||
Sroutine_hash_entry **sroutine_to_open, uint flags,
|
||||
Prelocking_strategy *prelocking_strategy);
|
||||
|
||||
static inline bool
|
||||
open_tables(THD *thd, const DDL_options_st &options, TABLE_LIST **tables,
|
||||
uint *counter, uint flags, Prelocking_strategy *prelocking_strategy)
|
||||
{
|
||||
return open_tables(thd, options, tables, counter,
|
||||
&thd->lex->sroutines_list.first, flags,
|
||||
prelocking_strategy);
|
||||
}
|
||||
uint flags, Prelocking_strategy *prelocking_strategy);
|
||||
|
||||
static inline bool
|
||||
open_tables(THD *thd, TABLE_LIST **tables, uint *counter, uint flags,
|
||||
@ -442,6 +432,7 @@ class Prelocking_strategy
|
||||
public:
|
||||
virtual ~Prelocking_strategy() { }
|
||||
|
||||
virtual void reset(THD *thd) { };
|
||||
virtual bool handle_routine(THD *thd, Query_tables_list *prelocking_ctx,
|
||||
Sroutine_hash_entry *rt, sp_head *sp,
|
||||
bool *need_prelocking) = 0;
|
||||
@ -449,6 +440,7 @@ public:
|
||||
TABLE_LIST *table_list, bool *need_prelocking) = 0;
|
||||
virtual bool handle_view(THD *thd, Query_tables_list *prelocking_ctx,
|
||||
TABLE_LIST *table_list, bool *need_prelocking)= 0;
|
||||
virtual bool handle_end(THD *thd) { return 0; };
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user