aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* If a malloc fails while allocating a savepoint object at the pager level, do ↵dan2010-06-03
| | | | | not try to roll that savepoint back later on. FossilOrigin-Name: 91cb08ffb6332a142542c012b58aa49206ee5704
* When a lock fails due to an I/O error (not an SQLITE_BUSY) then the checkpointdrh2010-06-02
| | | | | should fail. FossilOrigin-Name: c6eb0a27270df69018576232d8f97c16d63d8f6e
* Fix a problem with rolling back to a savepoint opened before the writer ↵dan2010-06-02
| | | | | decided to wrap the log file. FossilOrigin-Name: 6b4aed6aae7dc9e92807d27375cbe1e83c15841b
* If an error occurs while writing frames to the log to commit a transaction, ↵dan2010-06-02
| | | | | do not mark the pages as clean in the cache. Otherwise, the subsequent rollback does not roll them back (leaving the client to continue with a cache that makes it appear that the transaction was committed - inconsistent with the database on disk). FossilOrigin-Name: cb571c1b71a37b3a10d640987c77a6eec508235d
* Added implementation of vfslog_time() for Windows testing.shaneh2010-06-02
| | | FossilOrigin-Name: b3109f85bde0b24bfbcfe6c0f7bbe973be196c1d
* Make sure the directory used by os_unix.c for shared-memory files is alwaysdrh2010-06-02
| | | | | | the same, regardless of individual client permissions and environment variable settings. FossilOrigin-Name: f97bd520f06a16c61ccdd9ebeda7e138896b9ac2
* When walTryBeginRead() encounters an I/O error trying to set a lockdrh2010-06-02
| | | | | | (as opposed to SQLITE_BUSY) be sure to propagate that error back up the call stack. FossilOrigin-Name: aa2c2b67a7f50c97a44cca1af5c437bf5410869c
* Changes to make WAL more robust against SHM locking failures and OOM errors.drh2010-06-02
| | | FossilOrigin-Name: ebf4041383c3cdddb5861960359abd209d4a1028
* Undo one of the "const" markers from the previous check-in because thedrh2010-06-02
| | | | | | value needs to be changable, even if it is not actually ever changed in the current implementation. FossilOrigin-Name: c24ac3563f46fc6bcf7e45ee171afd3ae7d2faa8
* Add some 'const' markers to static data that is really constant.dan2010-06-02
| | | FossilOrigin-Name: e7073e23b80e7cae0c76d42f014ee9b2d40a8f2f
* The shared-memory used by WAL on linux now really is shared memory in /dev/shm.drh2010-06-01
| | | | | | On other unix flavors, the file is in a temporary directory rather than in the same directory as the database. FossilOrigin-Name: fc18c4aadb908c3b6f9b6481a2efca6a0daadc64
* Changes to the way faults are injected into xShmXXX VFS calls.dan2010-06-01
| | | FossilOrigin-Name: 716d99f3929b466c7a17190e0f18de8ab0e7f1fa
* Delay the decision to restart the log file until data is actually ready to ↵dan2010-06-01
| | | | | be written to the log file (instead of at the start of a write transaction). FossilOrigin-Name: b1abfaaf5309cc0d0dda4fb2c237862c8cf83261
* If an attempt to get a read-lock on the WAL fails with SQLITE_BUSY_RECOVER, ↵dan2010-06-01
| | | | | call the busy-handler at the btree level. FossilOrigin-Name: ce64496509a213c08c9dedae2a7a456b393d22e5
* Fix a bug introduced by the previous check-in but only seen ifdrh2010-06-01
| | | | | SQLITE_ENABLE_EXPENSIVE_ASSERTS is turned on. FossilOrigin-Name: 9c9ec8994bf701249efce6c7bb911de4525808c8
* Fix an off-by-one boundary-value issue in walCleanupHash().drh2010-06-01
| | | FossilOrigin-Name: f039552e6330b6a04281748f985b41937f534bd0
* Do not hold the shared-memory mutex in os_unix.c if returning NULL.dan2010-06-01
| | | FossilOrigin-Name: 9622dd468c8914262e9d8bd8dbca9e22ec6ee75c
* If the checkpoint fails to obtain an exclusive lock on one of the read-lock ↵dan2010-06-01
| | | | | bytes, do not consider this an error. FossilOrigin-Name: 9e95e35728cf69a0ae50e774d7f6c71a41b17d97
* Comment edits and cleanup in wal.c. No functional code changes.drh2010-06-01
| | | FossilOrigin-Name: e8e666ab8273f5db5265f0773b39820f75b6df1a
* Attempt to get the filectrl.test script running.drh2010-06-01
| | | FossilOrigin-Name: e46a8f2b752f86c4d8942ee125210516026ffdc2
* Fix os_unix.c so that it will compile and build on a Mac.drh2010-06-01
| | | FossilOrigin-Name: bc707c83e5f9849d9d201d695d0d071ca9ed93cb
* Fix issues with locking_mode=EXCLUSIVE in WAL.drh2010-05-31
| | | FossilOrigin-Name: 8deba0cebd135a18da68530fab9e7d19dc21ddcb
* Add an "isInit" field in the wal-index header that must be non-zero fordrh2010-05-31
| | | | | a valid header. Use this to detect an uninitialized wal-index. FossilOrigin-Name: a16fde190183d1ae252d1aa305b23fdb88c603dc
* Fix an inconsistent #ifdef in wal.c. Fix os_unix.c so that it does not allowdrh2010-05-31
| | | | | moving an SHM lock directly exclusive to shared without going through unlocked. FossilOrigin-Name: 552658da2845c2323167b6c7db6e5c00090f280c
* Avoid dropping the checkpoint lock after a recovery run as a precursor to a ↵dan2010-05-31
| | | | | checkpoint operation. FossilOrigin-Name: cc25cfa04630a43c1de26f2dbdacbe46c110a2b5
* Zero the checkpoint header as the last step of successful WAL recovery. ↵dan2010-05-31
| | | | | Avoid an unnecessary lock/unlock in WalBeginReadTransaction. FossilOrigin-Name: db3509c55dfe288650b803622e3a0828c6e59aea
* Get the new xShmLock interface design working on os_win.c.drh2010-05-31
| | | FossilOrigin-Name: 149a7082e266edf0dc25c23823a9e240f5285215
* Make sure WAL alway requests enough shared-memory space.drh2010-05-31
| | | FossilOrigin-Name: 138f128317b6695530ca3fde7be4cdf22548cd22
* Remove the tests that enable tracing based on the existance of the "vdbe_*"drh2010-05-31
| | | | | files when in SQLITE_DEBUG mode. FossilOrigin-Name: cdbb4e7ca7ec27e7e80dd66529d9d565f547887a
* Do not fail a checkpoint just because active readers prevent backfill.drh2010-05-31
| | | FossilOrigin-Name: 9aa4243e0cedcc9204994d04af1b2b7a80c048bd
* Add WALTRACE() macros to help with debugging and analysis.drh2010-05-31
| | | FossilOrigin-Name: 765c33181a7b9d99b452ce750d69f217b3c81a5d
* Another minor fix to checkpoint on the WAL branch.dan2010-05-31
| | | FossilOrigin-Name: 853f1e3f7720af2723b552bdf086bb106e6e93fe
* Fix a bug in checkpoint introduced by [181ceb32ea].dan2010-05-31
| | | FossilOrigin-Name: b499dbc88a67b4200b5f527be88be4ac90f7043f
* Fix some asserts and other things in the new WAL branch.dan2010-05-31
| | | FossilOrigin-Name: 181ceb32ead7f540a7c6437f53a5b0f3e78162db
* WAL runs but quickly deadlocks.drh2010-05-31
| | | FossilOrigin-Name: ace58acbf1fad13d2be96cafebc3a22875098d03
* Initial code for incremental checkpoint in WAL mode. This check-in compilesdrh2010-05-30
| | | | | | | on unix and runs as long as you do not engage WAL mode. WAL mode crashes and burns. Consider this check-in a baseline implementation for getting the new capability up and running. FossilOrigin-Name: ef3ba7a17ff90674d702e5694b9e792851ab6998
* Make sure the wal-index mapping is always large enough to cover the entiredrh2010-05-26
| | | | | active area of the wal-index. FossilOrigin-Name: 42705babba0e9d2ef078845854bebbd168f23366
* Change the semantics of xShmGet() such that it will never increase the sizedrh2010-05-26
| | | | | | of shared memory. xShmSize() must be used to grow the size of shared memory. A shared memory segment size cannot be shrunk (except by dropping it). FossilOrigin-Name: 72de00731245277b2209103ec0a76e3d4f56530e
* Updated header comments in wal.c. No functional code changes.drh2010-05-25
| | | FossilOrigin-Name: 687632a6b3a0aeb006c1eda5c27d5489f08c230e
* Update header comments in wal.c to correctly describe the WAL file format.drh2010-05-25
| | | | | | Update the locking region offsets in os_unix.c and os_win.c and add assert() statement to verify that the locking region offsets are correct. FossilOrigin-Name: 40030c0739f821ea8ee188c28c579507f10448bc
* If a writer exits unexpectedly in the middle of a transaction, have the ↵dan2010-05-25
| | | | | following writer remove any wal-index hash-table entries left by the interrupted transaction. FossilOrigin-Name: ed77556adcdf7011b95b9969b360269fb2ebe4e5
* Remove unreachable code associated with WAL from the pager.drh2010-05-25
| | | FossilOrigin-Name: 54c1718e6d15a20414cae15895eb5e83217722e2
* OOM errors during an auto-checkpoint are benign.drh2010-05-24
| | | FossilOrigin-Name: 3d252ce5d0d843e4e65beed672598e65c5745129
* Change the checksum used in WAL files so that each frames checksum depends ↵dan2010-05-24
| | | | | on the content of the WAL header and all frame headers and content up to and including the frame to which the checksum is attached. FossilOrigin-Name: 8a53f12c83a107684b99f4a9de371b5ea3ca810a
* Make sure a WAL frame of all zeros is detected as an invalid frame.drh2010-05-24
| | | FossilOrigin-Name: 02d99ad4b51065c67cc7689916130774be1c4c87
* Fix up test_osinst.c to work with SQLITE_OMIT_VIRTUALTABLE.drh2010-05-24
| | | FossilOrigin-Name: 51fd38152b92db637d1d346fca35ec2d3e4d4f57
* Change the WAL file format to support two kinds of checksums - one that is ↵dan2010-05-24
| | | | | fast to calculate on little-endian architectures and another that is fast on big-endian architectures. A flag in the wal-header indicates which the file uses. FossilOrigin-Name: 65ba804dd1d31d1eef6ae3f40a3ade344a410b84
* Add a couple of missing methods to test_osinst.c..dan2010-05-22
| | | FossilOrigin-Name: 5c9e9c06ae350043e66f36087da4021a52e6ee17
* Add several EXPENSIVE_ASSERT code blocks to validate the wal-index hash table.drh2010-05-22
| | | | | | Fix the bugs that these code blocks fine. Rename walClearHash() to walCleanupHash() and simplify its interface. FossilOrigin-Name: 7aade899e55f4565f02d301e1e83fb0bac2ea500
* Fix another bug in walClearHash().dan2010-05-21
| | | FossilOrigin-Name: 40f80ffe70ca691dfa146f6d84956ed0784fc63d