mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Merge in patch for bug 12380149
This commit is contained in:
parent
f152d4cf05
commit
ec425cc5ac
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue