summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-10-13 10:56:57 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-10-13 10:56:57 +0300
commit5197d81cdb59c3d5881cec9fbc607218ff1bde4f (patch)
tree376fc075b124b5016b53f693356969386bf0f18e /sql/partition_info.h
parent55e07d9ade51e9e969f528d903509806142f4d1e (diff)
parent618d82064618bda06bcd080af5b664b3d173dbe3 (diff)
downloadmariadb-git-5197d81cdb59c3d5881cec9fbc607218ff1bde4f.tar.gz
Merge 10.8 into 10.9
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 93247b939e4..263d5826d36 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -90,6 +90,10 @@ struct Vers_part_info : public Sql_alloc
partition_element *hist_part;
};
+/*
+ See generate_partition_syntax() for details of how the data is used
+ in partition expression.
+*/
class partition_info : public DDL_LOG_STATE, public Sql_alloc
{
public:
@@ -99,6 +103,10 @@ public:
List<partition_element> partitions;
List<partition_element> temp_partitions;
+ /*
+ These are mutually exclusive with part_expr/subpart_expr depending on
+ what is specified in partitioning filter: expression or column list.
+ */
List<const char> part_field_list;
List<const char> subpart_field_list;