Commit e96f3c79 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-8779: mysqld got signal 11 in sql/opt_range_mrr.cc:100(step_down_to)

Post fix: initialize a variable
parent 22cc8f99
......@@ -4328,7 +4328,7 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
part_info->subpart_field_array;
bool in_subpart_fields= FALSE;
uint max_key_len= 0;
uint cur_key_len;
uint cur_key_len= 0;
for (uint part= 0; part < total_parts; part++, key_part++)
{
key_part->key= 0;
......
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