]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If SQLITE_ENABLE_WAL2NOCKSUM is defined, then SQLite calculates the frame checksums...
authordan <Dan Kennedy>
Wed, 29 Jan 2025 15:11:07 +0000 (15:11 +0000)
committerdan <Dan Kennedy>
Wed, 29 Jan 2025 15:11:07 +0000 (15:11 +0000)
commit2a8768ad662ee6223b6d0ae1a3632bd41ef7cefe
treecc1020d8c916bc2b0a5cea73fb9984d7e76c0845
parent2ce43ceec1a8eaaabf51e6a2a69dd04a3f4ef12c
If SQLITE_ENABLE_WAL2NOCKSUM is defined, then SQLite calculates the frame checksums used in wal2 mode based on the previous checksum and the frame header only, not the frame body only. This risks corruption following a OS crash or power failure, but also speeds up writes in wal2 mode.

FossilOrigin-Name: dc74bd8915a9e1a915fb4ff3229a7b5e8f89486fe1df812a7738f6627d379648
main.mk
manifest
manifest.uuid
src/test_config.c
src/wal.c
test/wal2recover2.test