diff options
author | unknown <mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-05-11 16:03:12 -0400 |
---|---|---|
committer | unknown <mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-05-11 16:03:12 -0400 |
commit | 5479f8ded6404e9bb62b5b0f9c75a7d47ef76b63 (patch) | |
tree | 9314b0c43cc79b441efe7ec2df80d33033826ac1 /sql/partition_element.h | |
parent | 3065eeb3f8cff732e1a462b58996105881c7ca88 (diff) | |
parent | 10f571384d491cc5a11554a5eed37f1b0c591114 (diff) | |
download | mariadb-git-5479f8ded6404e9bb62b5b0f9c75a7d47ef76b63.tar.gz |
Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new
into c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19067
sql/partition_element.h:
Auto merged
sql/partition_info.cc:
Auto merged
sql/sql_partition.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_table.cc:
Manual merge
Diffstat (limited to 'sql/partition_element.h')
-rw-r--r-- | sql/partition_element.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/partition_element.h b/sql/partition_element.h index 13693934c0f..bd68d8b18ea 100644 --- a/sql/partition_element.h +++ b/sql/partition_element.h @@ -67,5 +67,21 @@ public: subpartitions.empty(); list_val_list.empty(); } + partition_element(partition_element *part_elem) + : partition_name(NULL), range_value(0), has_null_value(FALSE) + { + subpartitions.empty(); + list_val_list.empty(); + + part_max_rows= part_elem->part_max_rows; + part_min_rows= part_elem->part_min_rows; + tablespace_name= part_elem->tablespace_name; + part_comment= part_elem->part_comment; + data_file_name= part_elem->data_file_name; + index_file_name= part_elem->index_file_name; + engine_type= part_elem->engine_type; + part_state= part_elem->part_state; + nodegroup_id= part_elem->nodegroup_id; + } ~partition_element() {} }; |