mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
|
||||
|
||||
#ifndef SQL_BASE_INCLUDED
|
||||
#define SQL_BASE_INCLUDED
|
||||
@ -247,8 +247,19 @@ lock_table_names(THD *thd, TABLE_LIST *table_list,
|
||||
table_list_end, lock_wait_timeout, flags);
|
||||
}
|
||||
bool open_tables(THD *thd, const DDL_options_st &options,
|
||||
TABLE_LIST **tables, uint *counter, uint flags,
|
||||
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);
|
||||
}
|
||||
|
||||
static inline bool
|
||||
open_tables(THD *thd, TABLE_LIST **tables, uint *counter, uint flags,
|
||||
Prelocking_strategy *prelocking_strategy)
|
||||
@ -505,6 +516,10 @@ inline bool open_and_lock_tables(THD *thd, TABLE_LIST *tables,
|
||||
|
||||
bool restart_trans_for_tables(THD *thd, TABLE_LIST *table);
|
||||
|
||||
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