Skip to content

Commit

Permalink
Cleanup: Remove unused AbstractCallback::m_free_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Jul 20, 2020
1 parent c400ef2 commit 14543af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions storage/innobase/row/row0import.cc
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,6 @@ class AbstractCallback
/** Space id of the file being iterated over. */
ulint m_space;

/** Minimum page number for which the free list has not been
initialized: the pages >= this limit are, by definition, free;
note that in a single-table tablespace where size < 64 pages,
this number is 64, i.e., we have initialized the space about
the first extent, but have not physically allocted those pages
to the file. @see FSP_LIMIT. */
ulint m_free_limit;

/** Current size of the space in pages */
ulint m_size;

Expand Down Expand Up @@ -647,7 +639,6 @@ AbstractCallback::init(
ut_a(m_space == ULINT_UNDEFINED);

m_size = mach_read_from_4(page + FSP_SIZE);
m_free_limit = mach_read_from_4(page + FSP_FREE_LIMIT);
m_space = mach_read_from_4(page + FSP_HEADER_OFFSET + FSP_SPACE_ID);

return set_current_xdes(0, page);
Expand Down
9 changes: 0 additions & 9 deletions storage/xtradb/row/row0import.cc
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,6 @@ class AbstractCallback
/** Space id of the file being iterated over. */
ulint m_space;

/** Minimum page number for which the free list has not been
initialized: the pages >= this limit are, by definition, free;
note that in a single-table tablespace where size < 64 pages,
this number is 64, i.e., we have initialized the space about
the first extent, but have not physically allocted those pages
to the file. @see FSP_LIMIT. */
ulint m_free_limit;

/** Current size of the space in pages */
ulint m_size;

Expand Down Expand Up @@ -647,7 +639,6 @@ AbstractCallback::init(
ut_a(m_space == ULINT_UNDEFINED);

m_size = mach_read_from_4(page + FSP_SIZE);
m_free_limit = mach_read_from_4(page + FSP_FREE_LIMIT);
m_space = mach_read_from_4(page + FSP_HEADER_OFFSET + FSP_SPACE_ID);

return set_current_xdes(0, page);
Expand Down

0 comments on commit 14543af

Please sign in to comment.