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
c7399db6
Commit
c7399db6
authored
Sep 28, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21174 fixup: Remove buf_dblwr_being_created
parent
8bc4ebed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
storage/innobase/buf/buf0dblwr.cc
storage/innobase/buf/buf0dblwr.cc
+0
-6
storage/innobase/include/buf0dblwr.h
storage/innobase/include/buf0dblwr.h
+0
-2
No files found.
storage/innobase/buf/buf0dblwr.cc
View file @
c7399db6
...
...
@@ -39,9 +39,6 @@ using st_::span;
/** The doublewrite buffer */
buf_dblwr_t
*
buf_dblwr
=
NULL
;
/** Set to TRUE when the doublewrite buffer is being created */
ibool
buf_dblwr_being_created
=
FALSE
;
#define TRX_SYS_DOUBLEWRITE_BLOCKS 2
/****************************************************************//**
...
...
@@ -144,7 +141,6 @@ buf_dblwr_create()
start_again:
mtr
.
start
();
buf_dblwr_being_created
=
TRUE
;
buf_block_t
*
trx_sys_block
=
buf_dblwr_trx_sys_get
(
&
mtr
);
...
...
@@ -157,7 +153,6 @@ buf_dblwr_create()
buf_dblwr_init
(
TRX_SYS_DOUBLEWRITE
+
trx_sys_block
->
frame
);
mtr
.
commit
();
buf_dblwr_being_created
=
FALSE
;
return
(
true
);
}
else
{
if
(
UT_LIST_GET_FIRST
(
fil_system
.
sys_space
->
chain
)
->
size
...
...
@@ -307,7 +302,6 @@ buf_dblwr_create()
/* Flush the modified pages to disk and make a checkpoint */
log_make_checkpoint
();
buf_dblwr_being_created
=
FALSE
;
/* Remove doublewrite pages from LRU */
buf_pool_invalidate
();
...
...
storage/innobase/include/buf0dblwr.h
View file @
c7399db6
...
...
@@ -34,8 +34,6 @@ Created 2011/12/19 Inaam Rana
/** Doublewrite system */
extern
buf_dblwr_t
*
buf_dblwr
;
/** Set to TRUE when the doublewrite buffer is being created */
extern
ibool
buf_dblwr_being_created
;
/** Create the doublewrite buffer if the doublewrite buffer header
is not present in the TRX_SYS 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