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
4b42fa3c
Commit
4b42fa3c
authored
Mar 05, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-14425: Remove the unused function mtr_write_log()
This amends commit
37e7bde1
parent
1312b4eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
25 deletions
+0
-25
storage/innobase/include/mtr0mtr.h
storage/innobase/include/mtr0mtr.h
+0
-6
storage/innobase/mtr/mtr0mtr.cc
storage/innobase/mtr/mtr0mtr.cc
+0
-19
No files found.
storage/innobase/include/mtr0mtr.h
View file @
4b42fa3c
...
@@ -104,12 +104,6 @@ savepoint. */
...
@@ -104,12 +104,6 @@ savepoint. */
@return true if the mtr is dirtying a clean page. */
@return true if the mtr is dirtying a clean page. */
#define mtr_block_dirtied(b) mtr_t::is_block_dirtied((b))
#define mtr_block_dirtied(b) mtr_t::is_block_dirtied((b))
/** Append records to the system-wide redo log buffer.
@param[in] log redo log records */
void
mtr_write_log
(
const
mtr_buf_t
*
log
);
/** Mini-transaction memo stack slot. */
/** Mini-transaction memo stack slot. */
struct
mtr_memo_slot_t
{
struct
mtr_memo_slot_t
{
/** pointer to the object */
/** pointer to the object */
...
...
storage/innobase/mtr/mtr0mtr.cc
View file @
4b42fa3c
...
@@ -351,25 +351,6 @@ struct mtr_write_log_t {
...
@@ -351,25 +351,6 @@ struct mtr_write_log_t {
}
}
};
};
/** Append records to the system-wide redo log buffer.
@param[in] log redo log records */
void
mtr_write_log
(
const
mtr_buf_t
*
log
)
{
const
ulint
len
=
log
->
size
();
mtr_write_log_t
write_log
;
ut_ad
(
!
recv_no_log_write
);
DBUG_PRINT
(
"ib_log"
,
(
ULINTPF
" extra bytes written at "
LSN_PF
,
len
,
log_sys
.
lsn
));
log_reserve_and_open
(
len
);
log
->
for_each_block
(
write_log
);
log_close
();
}
/** Start a mini-transaction. */
/** Start a mini-transaction. */
void
mtr_t
::
start
()
void
mtr_t
::
start
()
{
{
...
...
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