diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2022-01-22 06:59:40 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2022-01-25 12:58:17 +0400 |
commit | 50e66db018d0d0ee49fd2b7196f30ed4594dc2b3 (patch) | |
tree | df5dc4ee0c1c79cdc89ee43d0b120be93bb40796 /sql/partition_info.h | |
parent | ebc77c6d17a8d07f1c523d21a81e0d9f2ce1089d (diff) | |
download | mariadb-git-50e66db018d0d0ee49fd2b7196f30ed4594dc2b3.tar.gz |
MDEV-25917 create table like fails if source table is partitioned and engine is myisam or aria with data directory.
Create table like removes data_file_path/index_file_path from the
thd->work_partition_info.
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r-- | sql/partition_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h index d42ef380c8c..edd1e610df5 100644 --- a/sql/partition_info.h +++ b/sql/partition_info.h @@ -281,7 +281,7 @@ public: } ~partition_info() {} - partition_info *get_clone(THD *thd); + partition_info *get_clone(THD *thd, bool empty_data_and_index_file= FALSE); bool set_named_partition_bitmap(const char *part_name, uint length); bool set_partition_bitmaps(TABLE_LIST *table_list); /* Answers the question if subpartitioning is used for a certain table */ |