Skip to content

Commit e96f3c7

Browse files
committed
MDEV-8779: mysqld got signal 11 in sql/opt_range_mrr.cc:100(step_down_to)
Post fix: initialize a variable
1 parent 22cc8f9 commit e96f3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/opt_range.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4328,7 +4328,7 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
43284328
part_info->subpart_field_array;
43294329
bool in_subpart_fields= FALSE;
43304330
uint max_key_len= 0;
4331-
uint cur_key_len;
4331+
uint cur_key_len= 0;
43324332
for (uint part= 0; part < total_parts; part++, key_part++)
43334333
{
43344334
key_part->key= 0;

0 commit comments

Comments
 (0)