mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-13157 Specifying DATA DIRECTORY in tables leads to failing EXCHANGE PARTITION
This commit is contained in:
@@ -4652,10 +4652,6 @@ bool compare_partition_options(HA_CREATE_INFO *table_create_info,
|
||||
option_diffs[errors++]= "MAX_ROWS";
|
||||
if (part_elem->part_min_rows != table_create_info->min_rows)
|
||||
option_diffs[errors++]= "MIN_ROWS";
|
||||
if (part_elem->data_file_name || table_create_info->data_file_name)
|
||||
option_diffs[errors++]= "DATA DIRECTORY";
|
||||
if (part_elem->index_file_name || table_create_info->index_file_name)
|
||||
option_diffs[errors++]= "INDEX DIRECTORY";
|
||||
|
||||
for (i= 0; i < errors; i++)
|
||||
my_error(ER_PARTITION_EXCHANGE_DIFFERENT_OPTION, MYF(0),
|
||||
|
Reference in New Issue
Block a user