mariadb/storage/innobase/handler
Marko Mäkelä 62781aa42d MDEV-38850 Dormant corruption in log_t::clear_mmap()
This is a dormant bug, because the setting innodb_log_file_mmap=ON probably
does not work outside mariadb-backup, because log_t::attach() would refuse
to invoke read-only mmap() on a normal server startup.

This was manually tested in an invocation of
mariadb-backup --prepare --export --innodb-log-file-mmap
which would not write anything to the log file, which
is not intended to be used after the invocation anyway.

log_t::clear_mmap(): Properly copy the last log block
from the memory-mapped buffer, so that it can be used
in subsequent writes to the log.

log_t::WRITE_SIZE_MAX: The maximum log_sys.write_size.
2026-02-17 15:02:17 +02:00
..
ha_innodb.cc MDEV-38850 Dormant corruption in log_t::clear_mmap() 2026-02-17 15:02:17 +02:00
ha_innodb.h Merge 10.6 into 10.11 2025-09-24 12:48:56 +03:00
handler0alter.cc MDEV-38589: SELECT unnecessarily waits for log write 2026-01-28 13:24:09 +02:00
i_s.cc Fixed that one can compile MariaDB with ASAN with -Wframe-larger-than=16384 2025-09-04 18:08:38 +03:00
i_s.h Merge 10.5 into 10.6 2021-08-23 11:21:33 +03:00