summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-12-31 20:53:33 +0800
committerEugene Kosov <claprix@yandex.ru>2019-12-31 20:53:33 +0800
commit37ee1706869f3e871368cd7534c31979321679e1 (patch)
tree2faa3103f6f96c849095caf52a2347a91281a174
parent5fd3760d725381773d0cc109712f977ecf6da823 (diff)
downloadmariadb-git-bb-10.5-MDEV-18115.tar.gz
-rw-r--r--storage/innobase/log/log0recv.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/log/log0recv.cc b/storage/innobase/log/log0recv.cc
index af8bd1785eb..952d5b0bad6 100644
--- a/storage/innobase/log/log0recv.cc
+++ b/storage/innobase/log/log0recv.cc
@@ -1108,8 +1108,7 @@ static dberr_t recv_log_format_0_recover(lsn_t lsn, bool crypt)
"Upgrade after a crash is not supported."
" This redo log was created before MariaDB 10.2.2";
- log_sys.log.read((source_offset & ~(OS_FILE_LOG_BLOCK_SIZE - 1))
- & (srv_page_size - 1),
+ log_sys.log.read(source_offset & ~(OS_FILE_LOG_BLOCK_SIZE - 1),
{buf, OS_FILE_LOG_BLOCK_SIZE});
if (log_block_calc_checksum_format_0(buf)