Commit 95831888 authored by Aleksey Midenkov's avatar Aleksey Midenkov

part_records() signature fix

parent 6586bb51
...@@ -1614,9 +1614,8 @@ class ha_partition :public handler ...@@ -1614,9 +1614,8 @@ class ha_partition :public handler
return h; return h;
} }
ha_rows part_records(void *_part_elem) ha_rows part_records(partition_element *part_elem)
{ {
partition_element *part_elem= reinterpret_cast<partition_element *>(_part_elem);
DBUG_ASSERT(m_part_info); DBUG_ASSERT(m_part_info);
uint32 sub_factor= m_part_info->num_subparts ? m_part_info->num_subparts : 1; uint32 sub_factor= m_part_info->num_subparts ? m_part_info->num_subparts : 1;
uint32 part_id= part_elem->id * sub_factor; uint32 part_id= part_elem->id * sub_factor;
......
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