mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 11.4 into 11.8
This commit is contained in:
@@ -158,7 +158,7 @@ thr_lock_type read_lock_type_for_table(THD *thd,
|
||||
my_bool mysql_rm_tmp_tables(void);
|
||||
void close_tables_for_reopen(THD *thd, TABLE_LIST **tables,
|
||||
const MDL_savepoint &start_of_statement_svp,
|
||||
bool remove_implicit_dependencies);
|
||||
bool remove_indirect);
|
||||
bool table_already_fk_prelocked(TABLE_LIST *tl, LEX_CSTRING *db,
|
||||
LEX_CSTRING *table, thr_lock_type lock_type);
|
||||
TABLE_LIST *find_table_in_list(TABLE_LIST *table,
|
||||
@@ -586,23 +586,6 @@ public:
|
||||
return m_timeout;
|
||||
}
|
||||
|
||||
/**
|
||||
Return true in case tables and routines the statement implicilty
|
||||
dependent on should be removed, else return false.
|
||||
|
||||
@note The use case when routines and tables the statement implicitly
|
||||
dependent on shouldn't be removed is the one when a new partition be
|
||||
created on handling the INSERT statement against a versioning partitioned
|
||||
table. For this case re-opening a versioning table would result in adding
|
||||
implicitly dependent routines (e.g. table's triggers) that lead to
|
||||
allocation of memory on PS mem_root and so leaking a memory until the PS
|
||||
statement be deallocated.
|
||||
*/
|
||||
bool remove_implicitly_used_deps() const
|
||||
{
|
||||
return m_action != OT_ADD_HISTORY_PARTITION;
|
||||
}
|
||||
|
||||
uint get_flags() const { return m_flags; }
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user