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
50e79f60
Commit
50e79f60
authored
May 27, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-19606: Make recv_dblwr_t::list a forward_list
parent
7d3a759d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
storage/innobase/include/log0recv.h
storage/innobase/include/log0recv.h
+3
-4
No files found.
storage/innobase/include/log0recv.h
View file @
50e79f60
...
...
@@ -33,8 +33,7 @@ Created 9/20/1997 Heikki Tuuri
#include "log0log.h"
#include "mtr0types.h"
#include <list>
#include <vector>
#include <forward_list>
/** Is recv_writer_thread active? */
extern
bool
recv_writer_thread_active
;
...
...
@@ -159,7 +158,7 @@ struct recv_t{
struct
recv_dblwr_t
{
/** Add a page frame to the doublewrite recovery buffer. */
void
add
(
byte
*
page
)
{
pages
.
push_
back
(
page
);
pages
.
push_
front
(
page
);
}
/** Find a doublewrite copy of a page.
...
...
@@ -169,7 +168,7 @@ struct recv_dblwr_t {
@retval NULL if no page was found */
const
byte
*
find_page
(
ulint
space_id
,
ulint
page_no
);
typedef
std
::
list
<
byte
*
,
ut_allocator
<
byte
*>
>
list
;
typedef
std
::
forward_list
<
byte
*
,
ut_allocator
<
byte
*>
>
list
;
/** Recovered doublewrite buffer page frames */
list
pages
;
...
...
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