Skip to content
Permalink
Browse files
MDEV-23190 after-merge fix: remove unused code
The merge commit 4d4865d
introduced fil_space_t::max_page_number_of_io() with no callers.
  • Loading branch information
dr-m committed Oct 15, 2020
1 parent cea6a66 commit 308f835
Showing 1 changed file with 0 additions and 9 deletions.
@@ -415,15 +415,6 @@ struct fil_space_t

ulint magic_n;/*!< FIL_SPACE_MAGIC_N */

/** Clamp a page number for batched I/O, such as read-ahead.
@param offset page number limit
@return offset clamped to the tablespace size */
ulint max_page_number_for_io(ulint offset) const
{
const ulint limit= committed_size;
return limit > offset ? offset : limit;
}

/** @return whether doublewrite buffering is needed */
bool use_doublewrite() const
{

0 comments on commit 308f835

Please sign in to comment.