mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Cleanup close_all_tables_for_name()
close_all_tables_for_name() is always preceded by wait_while_table_is_used(), which makes tdc_remove_table() redundant. The only (now fixed) exception was close_cached_tables(). Part of MDEV-17882 - Cleanup refresh version
This commit is contained in:
@ -6819,11 +6819,11 @@ static int alter_close_table(ALTER_PARTITION_PARAM_TYPE *lpt)
|
||||
@param close_table Table is still open, close it before reverting
|
||||
*/
|
||||
|
||||
void handle_alter_part_error(ALTER_PARTITION_PARAM_TYPE *lpt,
|
||||
bool action_completed,
|
||||
bool drop_partition,
|
||||
bool frm_install,
|
||||
bool close_table)
|
||||
static void handle_alter_part_error(ALTER_PARTITION_PARAM_TYPE *lpt,
|
||||
bool action_completed,
|
||||
bool drop_partition,
|
||||
bool frm_install,
|
||||
bool close_table)
|
||||
{
|
||||
partition_info *part_info= lpt->part_info;
|
||||
THD *thd= lpt->thd;
|
||||
|
Reference in New Issue
Block a user