Commit 5d7da027 authored by Eugene Kosov's avatar Eugene Kosov

MDEV-27139 32-bit systems fail to use big innodb-log-file-size

log_write_buf(): do not cast to size_t which prevents to write to files
which a bigger that 4G and remove useless assertion
parent d2a77106
......@@ -610,9 +610,7 @@ log_write_buf(
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;
......
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