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
8655592a
Commit
8655592a
authored
Jan 15, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recv_log_recover_10_4(): Fix a trivial bug
parent
efb51046
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
storage/innobase/log/log0recv.cc
storage/innobase/log/log0recv.cc
+0
-2
No files found.
storage/innobase/log/log0recv.cc
View file @
8655592a
...
@@ -1037,9 +1037,7 @@ static dberr_t recv_log_recover_10_4()
...
@@ -1037,9 +1037,7 @@ static dberr_t recv_log_recover_10_4()
{
{
ut_ad
(
!
log_sys
.
is_encrypted
());
ut_ad
(
!
log_sys
.
is_encrypted
());
const
lsn_t
lsn
=
log_sys
.
log
.
lsn
;
const
lsn_t
lsn
=
log_sys
.
log
.
lsn
;
log_mutex_enter
();
const
lsn_t
source_offset
=
log_sys
.
log
.
calc_lsn_offset
(
lsn
);
const
lsn_t
source_offset
=
log_sys
.
log
.
calc_lsn_offset
(
lsn
);
log_mutex_exit
();
const
ulint
page_no
const
ulint
page_no
=
(
ulint
)
(
source_offset
/
univ_page_size
.
physical
());
=
(
ulint
)
(
source_offset
/
univ_page_size
.
physical
());
byte
*
buf
=
log_sys
.
buf
;
byte
*
buf
=
log_sys
.
buf
;
...
...
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