diff options
-rw-r--r-- | sql/partition_info.h | 2 |
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 */ |