mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cleanup
This commit is contained in:
@ -276,7 +276,8 @@ int init_ftfuncs(THD *thd, SELECT_LEX* select, bool no_order);
|
||||
bool lock_table_names(THD *thd, TABLE_LIST *table_list,
|
||||
TABLE_LIST *table_list_end, ulong lock_wait_timeout,
|
||||
uint flags);
|
||||
bool open_tables(THD *thd, TABLE_LIST **tables, uint *counter, uint flags,
|
||||
bool open_tables(THD *thd, TABLE_LIST **tables, uint *counter,
|
||||
Sroutine_hash_entry **sroutine_to_open, uint flags,
|
||||
Prelocking_strategy *prelocking_strategy);
|
||||
/* open_and_lock_tables with optional derived handling */
|
||||
bool open_and_lock_tables(THD *thd, TABLE_LIST *tables,
|
||||
@ -498,6 +499,15 @@ private:
|
||||
};
|
||||
|
||||
|
||||
inline bool
|
||||
open_tables(THD *thd, TABLE_LIST **tables, uint *counter, uint flags,
|
||||
Prelocking_strategy *prelocking_strategy)
|
||||
{
|
||||
return open_tables(thd, tables, counter, &thd->lex->sroutines_list.first,
|
||||
flags, prelocking_strategy);
|
||||
}
|
||||
|
||||
|
||||
inline bool
|
||||
open_tables(THD *thd, TABLE_LIST **tables, uint *counter, uint flags)
|
||||
{
|
||||
@ -528,6 +538,10 @@ inline bool open_and_lock_tables(THD *thd, TABLE_LIST *tables,
|
||||
}
|
||||
|
||||
|
||||
bool extend_table_list(THD *thd, TABLE_LIST *tables,
|
||||
Prelocking_strategy *prelocking_strategy,
|
||||
bool has_prelocking_list);
|
||||
|
||||
/**
|
||||
A context of open_tables() function, used to recover
|
||||
from a failed open_table() or open_routine() attempt.
|
||||
|
Reference in New Issue
Block a user