Commit 840d7eb4 authored by Mikael Ronstrom's avatar Mikael Ronstrom

BUG#48397, set key_part->length to key_part->store_length isn't correct,...

BUG#48397, set key_part->length to key_part->store_length isn't correct, store_length is a bit longer
parent 8e31ec1d
......@@ -3605,8 +3605,8 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
{
key_part->key= 0;
key_part->part= part;
key_part->length= (uint16)get_partition_field_store_length(*field);
key_part->store_length= key_part->length;
key_part->length= (uint16)(*field)->key_length();
key_part->store_length= (uint16)get_partition_field_store_length(*field);
DBUG_PRINT("info", ("part %u length %u store_length %u", part,
key_part->length, key_part->store_length));
......
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