Commit 21f27346 authored by Nikita Malyavin's avatar Nikita Malyavin

add a comment about partitioning unsupported

parent a0a34398
......@@ -4589,6 +4589,8 @@ static bool append_system_key_parts(THD *thd, HA_CREATE_INFO *create_info,
}
if (thd->work_part_info)
{
// Unfortunately partitions do not support searching upper/lower bounds
// (i.e. ha_index_read_map with KEY_OR_PREV, KEY_OR_NEXT)
my_error(ER_PERIOD_WITHOUT_OVERLAPS_PARTITIONED, MYF(0));
return true;
}
......
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