Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
14543afd
Commit
14543afd
authored
Jul 16, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Remove unused AbstractCallback::m_free_limit
parent
c400ef25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
storage/innobase/row/row0import.cc
storage/innobase/row/row0import.cc
+0
-9
storage/xtradb/row/row0import.cc
storage/xtradb/row/row0import.cc
+0
-9
No files found.
storage/innobase/row/row0import.cc
View file @
14543afd
...
...
@@ -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
;
...
...
@@ -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
);
...
...
storage/xtradb/row/row0import.cc
View file @
14543afd
...
...
@@ -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
;
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment