mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
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
This commit is contained in:
parent
d2a7710635
commit
5d7da02793
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue