/ Check-in [9799241f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Enhance the WAL header sync so that it honors the various synchronous pragmas, settings, and device characteristics.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wal-header-sync
Files: files | file ages | folders
SHA1:9799241f7de952c4d1ea8bf6508b577d2b57a370
User & Date: drh 2011-12-16 21:26:26
Context
2011-12-17
13:45
Merge in changes that cause the first sector of the WAL file to be synced when the WAL restarts. This is a fix for the power-loss corruption problem described in ticket [ff5be73dee086] check-in: 44ca4d12 user: drh tags: trunk
2011-12-16
21:26
Enhance the WAL header sync so that it honors the various synchronous pragmas, settings, and device characteristics. Closed-Leaf check-in: 9799241f user: drh tags: wal-header-sync
19:34
Proposed changes that ensure that the WAL header is written prior to the first commit mark. check-in: 91d0437c user: drh tags: wal-header-sync
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to src/pager.c.

Changes to src/wal.c.

Changes to src/wal.h.

Changes to test/wal2.test.

Changes to test/wal3.test.