Commit e011cc2f authored by marko's avatar marko

branches/zip: merge_index_field_struct: Remove the unused field col_type.

parent 3e7e12c5
......@@ -8053,8 +8053,6 @@ innobase_create_index_field_def(
col_type = get_innobase_type_from_mysql_type(&is_unsigned, field);
index_field->col_type = col_type;
if (DATA_BLOB == col_type
|| (key_part->length < field->pack_length()
&& field->type() != MYSQL_TYPE_VARCHAR)
......@@ -8137,7 +8135,6 @@ innobase_copy_index_field_def(
DBUG_ASSERT(field != NULL);
DBUG_ASSERT(index_field != NULL);
index_field->col_type = (field->col->prtype & 0xFFUL);
index_field->field_name = mem_heap_strdup(heap, field->name);
index_field->prefix_len = field->prefix_len;
......
......@@ -24,7 +24,6 @@ Created 13/06/2005 Jan Lindstrom
/* This structure holds index field definitions */
struct merge_index_field_struct {
ulint col_type; /* Column type */
ulint prefix_len; /* Prefix len */
char* field_name; /* Field name */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment