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
cba9ed12
Commit
cba9ed12
authored
Jan 08, 2020
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation
parent
b365b6e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
storage/innobase/include/dyn0buf.h
storage/innobase/include/dyn0buf.h
+7
-10
No files found.
storage/innobase/include/dyn0buf.h
View file @
cba9ed12
...
...
@@ -303,8 +303,7 @@ class mtr_buf_t {
#ifdef UNIV_DEBUG
ulint
total_size
=
0
;
for
(
typename
list_t
::
iterator
it
=
m_list
.
begin
(),
end
=
m_list
.
end
();
for
(
list_t
::
iterator
it
=
m_list
.
begin
(),
end
=
m_list
.
end
();
it
!=
end
;
++
it
)
{
total_size
+=
it
->
used
();
}
...
...
@@ -320,8 +319,7 @@ class mtr_buf_t {
template
<
typename
Functor
>
bool
for_each_block
(
Functor
&
functor
)
const
{
for
(
typename
list_t
::
iterator
it
=
m_list
.
begin
(),
end
=
m_list
.
end
();
for
(
list_t
::
iterator
it
=
m_list
.
begin
(),
end
=
m_list
.
end
();
it
!=
end
;
++
it
)
{
if
(
!
functor
(
&*
it
))
{
...
...
@@ -338,8 +336,8 @@ class mtr_buf_t {
template
<
typename
Functor
>
bool
for_each_block_in_reverse
(
Functor
&
functor
)
const
{
for
(
typename
list_t
::
reverse_iterator
it
=
m_list
.
rbegin
(),
end
=
m_list
.
rend
();
for
(
list_t
::
reverse_iterator
it
=
m_list
.
rbegin
(),
end
=
m_list
.
rend
();
it
!=
end
;
++
it
)
{
if
(
!
functor
(
&*
it
))
{
...
...
@@ -356,8 +354,8 @@ class mtr_buf_t {
template
<
typename
Functor
>
bool
for_each_block_in_reverse
(
const
Functor
&
functor
)
const
{
for
(
typename
list_t
::
reverse_iterator
it
=
m_list
.
rbegin
(),
end
=
m_list
.
rend
();
for
(
list_t
::
reverse_iterator
it
=
m_list
.
rbegin
(),
end
=
m_list
.
rend
();
it
!=
end
;
++
it
)
{
if
(
!
functor
(
&*
it
))
{
...
...
@@ -425,8 +423,7 @@ class mtr_buf_t {
{
ut_ad
(
!
m_list
.
empty
());
for
(
typename
list_t
::
iterator
it
=
m_list
.
begin
(),
end
=
m_list
.
end
();
for
(
list_t
::
iterator
it
=
m_list
.
begin
(),
end
=
m_list
.
end
();
it
!=
end
;
++
it
)
{
if
(
pos
<
it
->
used
())
{
...
...
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