summaryrefslogtreecommitdiff
path: root/sql/ha_partition.h
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2020-08-25 22:21:08 +0300
committerAleksey Midenkov <midenok@gmail.com>2020-08-25 22:21:08 +0300
commit95831888e8a89a4e141e76d51dbfc0701552c824 (patch)
treebf71985e6ec573de99117dc8348eb6f6fd5c65ae /sql/ha_partition.h
parent6586bb51f3167fad9e353e8c9cd69f51e0acec21 (diff)
downloadmariadb-git-95831888e8a89a4e141e76d51dbfc0701552c824.tar.gz
part_records() signature fix
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r--sql/ha_partition.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 6a12c8a4800..b80c2174658 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -1614,9 +1614,8 @@ public:
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;