Skip to content
Permalink
Browse files
part_records() signature fix
  • Loading branch information
midenok committed Aug 25, 2020
1 parent 6586bb5 commit 9583188
Showing 1 changed file with 1 addition and 2 deletions.
@@ -1614,9 +1614,8 @@ class ha_partition :public handler
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);
uint32 sub_factor= m_part_info->num_subparts ? m_part_info->num_subparts : 1;
uint32 part_id= part_elem->id * sub_factor;

0 comments on commit 9583188

Please sign in to comment.