Commit e7aaef43 authored by Magnus Blåudd's avatar Magnus Blåudd

Merge in patch for bug 12380149

parent a4b5278a
...@@ -3979,7 +3979,7 @@ void get_partition_set(const TABLE *table, uchar *buf, const uint index, ...@@ -3979,7 +3979,7 @@ void get_partition_set(const TABLE *table, uchar *buf, const uint index,
part_spec->start_part= 0; part_spec->start_part= 0;
part_spec->end_part= num_parts - 1; part_spec->end_part= num_parts - 1;
if ((index < MAX_KEY) && if ((index < MAX_KEY) &&
key_spec->flag == (uint)HA_READ_KEY_EXACT && key_spec && key_spec->flag == (uint)HA_READ_KEY_EXACT &&
part_info->some_fields_in_PF.is_set(index)) part_info->some_fields_in_PF.is_set(index))
{ {
key_info= table->key_info+index; key_info= table->key_info+index;
......
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