Commit 14543afd authored by Marko Mäkelä's avatar Marko Mäkelä

Cleanup: Remove unused AbstractCallback::m_free_limit

parent c400ef25
...@@ -561,14 +561,6 @@ class AbstractCallback ...@@ -561,14 +561,6 @@ class AbstractCallback
/** Space id of the file being iterated over. */ /** Space id of the file being iterated over. */
ulint m_space; 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 */ /** Current size of the space in pages */
ulint m_size; ulint m_size;
...@@ -647,7 +639,6 @@ AbstractCallback::init( ...@@ -647,7 +639,6 @@ AbstractCallback::init(
ut_a(m_space == ULINT_UNDEFINED); ut_a(m_space == ULINT_UNDEFINED);
m_size = mach_read_from_4(page + FSP_SIZE); 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); m_space = mach_read_from_4(page + FSP_HEADER_OFFSET + FSP_SPACE_ID);
return set_current_xdes(0, page); return set_current_xdes(0, page);
......
...@@ -561,14 +561,6 @@ class AbstractCallback ...@@ -561,14 +561,6 @@ class AbstractCallback
/** Space id of the file being iterated over. */ /** Space id of the file being iterated over. */
ulint m_space; 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 */ /** Current size of the space in pages */
ulint m_size; ulint m_size;
...@@ -647,7 +639,6 @@ AbstractCallback::init( ...@@ -647,7 +639,6 @@ AbstractCallback::init(
ut_a(m_space == ULINT_UNDEFINED); ut_a(m_space == ULINT_UNDEFINED);
m_size = mach_read_from_4(page + FSP_SIZE); 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); m_space = mach_read_from_4(page + FSP_HEADER_OFFSET + FSP_SPACE_ID);
return set_current_xdes(0, page); return set_current_xdes(0, page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment