Skip to content

Commit 9bd98f4

Browse files
committed
Compilation fix
1 parent 73aa78e commit 9bd98f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/partition_info.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ bool make_partition_name(char *move_ptr, uint i)
513513
}
514514

515515

516+
#ifdef WITH_PARTITION_STORAGE_ENGINE
516517
inline
517518
uint partition_info::next_part_no(uint new_parts) const
518519
{
@@ -545,5 +546,6 @@ uint partition_info::next_part_no(uint new_parts) const
545546
}
546547
return suffix - new_parts;
547548
}
549+
#endif
548550

549551
#endif /* PARTITION_INFO_INCLUDED */

0 commit comments

Comments
 (0)