Commit 8655592a authored by Marko Mäkelä's avatar Marko Mäkelä

recv_log_recover_10_4(): Fix a trivial bug

parent efb51046
......@@ -1037,9 +1037,7 @@ static dberr_t recv_log_recover_10_4()
{
ut_ad(!log_sys.is_encrypted());
const lsn_t lsn = log_sys.log.lsn;
log_mutex_enter();
const lsn_t source_offset = log_sys.log.calc_lsn_offset(lsn);
log_mutex_exit();
const ulint page_no
= (ulint) (source_offset / univ_page_size.physical());
byte* buf = log_sys.buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment