Skip to content

Commit 81727cd

Browse files
committed
Backport to 10.0: MDEV-8779: mysqld got signal 11 in sql/opt_range_mrr.cc:100(step_down_to)
Post fix: initialize a variable
1 parent 8d0d445 commit 81727cd

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
@@ -4921,7 +4921,7 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
49214921
part_info->subpart_field_array;
49224922
bool in_subpart_fields= FALSE;
49234923
uint max_key_len= 0;
4924-
uint cur_key_len;
4924+
uint cur_key_len= 0;
49254925
for (uint part= 0; part < total_parts; part++, key_part++)
49264926
{
49274927
key_part->key= 0;

0 commit comments

Comments
 (0)