mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
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
This commit is contained in:
parent
8d0d4451d3
commit
81727cd774
1 changed files with 1 additions and 1 deletions
|
|
@ -4921,7 +4921,7 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
|
||||||
part_info->subpart_field_array;
|
part_info->subpart_field_array;
|
||||||
bool in_subpart_fields= FALSE;
|
bool in_subpart_fields= FALSE;
|
||||||
uint max_key_len= 0;
|
uint max_key_len= 0;
|
||||||
uint cur_key_len;
|
uint cur_key_len= 0;
|
||||||
for (uint part= 0; part < total_parts; part++, key_part++)
|
for (uint part= 0; part < total_parts; part++, key_part++)
|
||||||
{
|
{
|
||||||
key_part->key= 0;
|
key_part->key= 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue