diff options
Diffstat (limited to 'sql/partition_element.h')
-rw-r--r-- | sql/partition_element.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/partition_element.h b/sql/partition_element.h index cefc32ecac4..f6816cfecf0 100644 --- a/sql/partition_element.h +++ b/sql/partition_element.h @@ -103,6 +103,7 @@ public: char* data_file_name; char* index_file_name; handlerton *engine_type; + LEX_STRING connect_string; enum partition_state part_state; uint16 nodegroup_id; bool has_null_value; @@ -119,6 +120,8 @@ public: nodegroup_id(UNDEF_NODEGROUP), has_null_value(FALSE), signed_flag(FALSE), max_value(FALSE) { + connect_string.str= 0; + connect_string.length= 0; } partition_element(partition_element *part_elem) : part_max_rows(part_elem->part_max_rows), @@ -129,10 +132,13 @@ public: data_file_name(part_elem->data_file_name), index_file_name(part_elem->index_file_name), engine_type(part_elem->engine_type), + connect_string(part_elem->connect_string), part_state(part_elem->part_state), nodegroup_id(part_elem->nodegroup_id), has_null_value(FALSE) { + connect_string.str= 0; + connect_string.length= 0; } ~partition_element() {} }; |