summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/log/log0log.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc
index f677aedc87c..906979ffe20 100644
--- a/storage/innobase/log/log0log.cc
+++ b/storage/innobase/log/log0log.cc
@@ -610,9 +610,7 @@ loop:
log_block_store_checksum(buf + i * OS_FILE_LOG_BLOCK_SIZE);
}
- ut_a((next_offset >> srv_page_size_shift) <= ULINT_MAX);
-
- log_sys.log.write(static_cast<size_t>(next_offset), {buf, write_len});
+ log_sys.log.write(next_offset, {buf, write_len});
if (write_len < len) {
start_lsn += write_len;