summaryrefslogtreecommitdiff
path: root/sql/ha_partition.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-09-17 20:01:38 +0200
committerSergei Golubchik <serg@mariadb.org>2017-09-18 10:40:26 +0200
commita5ee77393f93e6b609ae2db53ed683404fd0d588 (patch)
tree62beadf9f1e3efba6a0de709c69f7856ace8a487 /sql/ha_partition.h
parentbe3490f01f4a3f1df393305c2b29bf07ac8a2564 (diff)
downloadmariadb-git-a5ee77393f93e6b609ae2db53ed683404fd0d588.tar.gz
MDEV-13157 Specifying DATA DIRECTORY in tables leads to failing EXCHANGE PARTITION
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r--sql/ha_partition.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 3ea8d4a855d..11e34e1ebb0 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -356,6 +356,10 @@ public:
virtual void change_table_ptr(TABLE *table_arg, TABLE_SHARE *share);
virtual bool check_if_incompatible_data(HA_CREATE_INFO *create_info,
uint table_changes);
+ void update_part_create_info(HA_CREATE_INFO *create_info, uint part_id)
+ {
+ m_file[part_id]->update_create_info(create_info);
+ }
private:
int copy_partitions(ulonglong * const copied, ulonglong * const deleted);
void cleanup_new_partition(uint part_count);