diff options
Diffstat (limited to 'sql/partition_element.h')
-rw-r--r-- | sql/partition_element.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/partition_element.h b/sql/partition_element.h index b979b7a58e6..c774994b7f5 100644 --- a/sql/partition_element.h +++ b/sql/partition_element.h @@ -96,14 +96,14 @@ public: ha_rows part_max_rows; ha_rows part_min_rows; longlong range_value; - char *partition_name; - char *tablespace_name; + const char *partition_name; + const char *tablespace_name; struct st_ddl_log_memory_entry *log_entry; - char* part_comment; - char* data_file_name; - char* index_file_name; + const char* part_comment; + const char* data_file_name; + const char* index_file_name; handlerton *engine_type; - LEX_STRING connect_string; + LEX_CSTRING connect_string; enum partition_state part_state; uint16 nodegroup_id; bool has_null_value; @@ -115,7 +115,7 @@ public: partition_name(NULL), tablespace_name(NULL), log_entry(NULL), part_comment(NULL), data_file_name(NULL), index_file_name(NULL), - engine_type(NULL), connect_string(null_lex_str), part_state(PART_NORMAL), + engine_type(NULL), connect_string(null_clex_str), part_state(PART_NORMAL), nodegroup_id(UNDEF_NODEGROUP), has_null_value(FALSE), signed_flag(FALSE), max_value(FALSE) { @@ -129,7 +129,7 @@ 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(null_lex_str), + connect_string(null_clex_str), part_state(part_elem->part_state), nodegroup_id(part_elem->nodegroup_id), has_null_value(FALSE) |