summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2020-04-27 18:19:07 +0300
committerAleksey Midenkov <midenok@gmail.com>2020-04-27 18:19:07 +0300
commit9bd98f450c04b66d3f4ae7f0d60c9813a7418a1e (patch)
tree823a9a0820511781c26cb64174b0374ed4918195
parent73aa78ea9d48c433ddb91ef3a7a5b62391d35ac7 (diff)
downloadmariadb-git-bb-10.5-6915-ext.tar.gz
Compilation fixbb-10.5-6915-ext
-rw-r--r--sql/partition_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 7ae2d168068..0656238ec07 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -513,6 +513,7 @@ bool make_partition_name(char *move_ptr, uint i)
}
+#ifdef WITH_PARTITION_STORAGE_ENGINE
inline
uint partition_info::next_part_no(uint new_parts) const
{
@@ -545,5 +546,6 @@ uint partition_info::next_part_no(uint new_parts) const
}
return suffix - new_parts;
}
+#endif
#endif /* PARTITION_INFO_INCLUDED */