summaryrefslogtreecommitdiff
path: root/src/wal.c
AgeCommit message (Expand)AuthorLines
2026-10-23Fix a race condition with a writer that could cause a connection with a read-...dan-1/+5
2026-10-23Fix a race condition with a writer that could cause a connection with a read-...dan-15/+25
2026-10-23Ensure that all content that is copied into the -shm file during recoverydrh-0/+1
2026-09-03Improve the documentation of the WalIterator object and the new pagemapdrh-18/+42
2026-09-03When checkpointing, use a mapping from pgno to frame instead of the sorted li...dan-31/+83
2026-09-02When -DSQLITE_DEBUG or -DSQLITE_ENABLE_WALSTAT is used, provide thedrh-0/+58
2026-09-01Within a checkpoint, avoid allocating memory for *-shm pages that will not be...dan-12/+18
2026-08-16When reading a frame from a WAL file where the WAL pagesize and the databasedrh-1/+5
2026-06-12When using a read-only WAL/SHM, handle a corrupt page size in the WALdrh-1/+7
2026-04-04Appease static analyzers by masking the index to thedrh-3/+6
2026-03-03Minor tweaks to the previous, for testability.drh-2/+2
2026-03-03Avoid an obscure race condition between a checkpointer and a writer wrapping ...dan-56/+71
2025-10-30Add (void) to two places for the sake of SQLITE_OMIT_WAL builds. Why these do...stephan-2/+2
2025-10-27Fix a minor over-allocation of heap memory in wal.c.dan-1/+1
2025-09-04Add "PRAGMA wal_checkpoint = noop" and SQLITE_CHECKPOINT_NOOP. To request a c...dan-25/+30
2025-06-17Avoid writing frames with no checksums into the wal file if a savepoint is ro...dan-0/+4
2025-06-03Fix harmless compiler warning introduced by the setlk-snapshot-fix merge.drh-1/+1
2025-05-30If blocking locks are enabled, avoid using the busy handler when blocked by a...dan-1/+2
2025-03-24Clarify and reduce redundancy in an assert() in walChecksumBytes().drh-4/+2
2025-03-14Make use of the flexible-array feature of C99, when available, to try todrh-3/+6
2025-02-25Reinstate the assert() removed by [0f6223b8]. Avoid holding a wal-mode write ...dan-0/+3
2025-02-25Remove an assert() added by [e88212b1] that is sometimes false.dan-3/+0
2025-02-24Merge latest changes from trunk into this branch.dan-1/+1
2025-02-17Code changes that make it easier to prove that no 32-bit integer overflowsdrh-1/+1
2025-01-30Fix a problem causing the write-lock to be held when it should not be in some...dan-2/+14
2025-01-27Add the sqlite3_setlk_timeout() API. For setting the timeout used by SQLITE_E...dan-1/+1
2025-01-24Fix a race condition causing SQLite to use a busy-handler for an operation th...dan-2/+5
2024-12-16Code formatting changes to make trunk more like wal2.drh-126/+128
2024-12-16Remove unnecessary end-of-line whitespace.drh-4/+4
2024-10-19An assortment of comment typo fixes discovered by aspell. Add several new wor...stephan-1/+1
2024-09-26When possible, avoid taking wal file read-lock 0 in sqlite3_snapshot_get().dan-2/+16
2024-09-09Move the vfstrace extension out of src/ over into ext/misc/ where it belongs.drh-1/+1
2024-01-09Put an SQLITE_ENABLE_SETLK_TIMEOUT branch inside the appropriate ifdef withdrh-0/+4
2024-01-06Ensure that SQLITE_PROTOCOL is not returned too early when a SQLITE_ENABLE_SE...dan-11/+55
2024-01-02Adjust the sqlite3PagerDirectReadOk() routine (part of thedrh-0/+1
2023-11-28In SQLITE_ENABLE_SETLK_TIMEOUT builds, use blocking locks in place of sleep()...dan-19/+44
2023-11-28Handle an SQLITE_BUSY_TIMEOUT error if one occurs while attempting a shared l...dan-1/+2
2023-11-27Have SQLITE_ENABLE_SETLK_TIMEOUT builds block when locking a read-lock slot.dan-1/+7
2023-11-27In SQLITE_ENABLE_SETLK_TIMEOUT builds, use blocking locks in place of sleep()...dan-18/+35
2023-11-15Changes so that if SQLITE_ENABLE_SETLK_TIMEOUT is defined as 2 instead of 1, ...dan-3/+2
2023-11-08Avoid blocking as part of passive checkpoint operations, even if SQLITE_ENABL...dan-1/+6
2023-08-17Fix a possible UAF in SEH if an exception occurs at an inopportune momentdrh-1/+24
2023-08-14Fix a problem in sqlite3_snapshot_recover() introduced by the [8a6b0c24937e85...dan-1/+2
2023-07-26Add a comment describing the contents of the ExceptionInformation[] array for...dan-0/+5
2023-07-24Update the latest trunk enhancements into the wal-shm-exceptions branch.drh-2/+0
2023-07-11Reduce divergence between branches: trunk and wal-shm-exceptions.drh-14/+4
2023-07-11Get fault injection for testing working correctly. Other code clean-up.drh-6/+17
2023-07-10Fix a warning. Unclear yet if the code is correct this way or not.drh-1/+1
2023-07-10Merge the latest trunk enhancements into the wal-shm-exceptions branch.drh-1/+1
2023-07-06Merge all recent trunk enhancements into the wal-shm-exceptions branch.drh-189/+220