aboutsummaryrefslogtreecommitdiff
path: root/src/wal.c
Commit message (Collapse)AuthorAge
...
* | Enhanced comments in wal.c and declare some procedure parameters "const".drh2010-12-15
|/ | | | | No changes to the generated code. FossilOrigin-Name: d0e4375b8a784d4e4ae66caababac919edd61883
* If a database file with the WAL flag set is opened in exclusive-locking ↵dan2010-11-01
| | | | | mode, use heap memory to store the wal-index instead of shared-memory. FossilOrigin-Name: 8dd5c69198619866923c6053b71899c1fb8c4c67
* If walLockExclusive() fails for reasons other than SQLITE_BUSY inside ofdrh2010-10-05
| | | | | walRestartLog() then propagate that error back up to the application. FossilOrigin-Name: 04dcba6b3379d2168609950ed919c8f743705333
* Fix some compiler warnings under MSVC.shaneh2010-09-01
| | | FossilOrigin-Name: afdc82a99eba260aed8ae2cca4bcec629f384098
* Fix some compiler warnings in the MSVC build.shaneh2010-08-18
| | | FossilOrigin-Name: 1f5662b7db5d623c8d99c45a8d97a0aa4427593f
* Invoke sqlite3_log() whenever one or more frames are recovered from a WAL file.dan2010-08-17
| | | FossilOrigin-Name: e05089aaefe02ec59a1923812349471a78075d29
* Fix a typo in a comment in wal.c. No code changes.drh2010-08-16
| | | FossilOrigin-Name: d854a3d41c68f785c909c159cd9ca2154c64001a
* Add ALWAYS() macros in wal.c to cover branches that are no longer reachabledrh2010-08-16
| | | | | following the pager refactoring. FossilOrigin-Name: 24f24c927c77bb3bb4d26a23dd5d94f964db8033
* Adjustments for better 64K page size handling.drh2010-08-14
| | | FossilOrigin-Name: faf1974e2de321bfefb68b81d702ae69771933ef
* Increase the maximum page size from 32k to 64k.drh2010-08-12
| | | FossilOrigin-Name: 45362437d491fbe0f033a67b398f8ba68cbf1b3b
* Fix a problem causing the return code of an xSync call to be ignored in wal.c.dan2010-08-09
| | | FossilOrigin-Name: f1b2b5f9c3a5561ea6108283ae08404106c3f8bc
* In WAL mode, ignore any error returned by an xFileControl(FCNTL_SIZE_HINT) ↵dan2010-08-09
| | | | | call. This matches the behaviour in rollback mode. FossilOrigin-Name: 158a309737bd4cdc033cd504a6d0cc43c15b6e17
* Fix minor problems and update comments in pager.c.dan2010-08-07
| | | FossilOrigin-Name: 92e456374b052aceff356d10317b5b94fcdeaa5c
* Incremental checkin on pager state refactoring.dan2010-08-03
| | | FossilOrigin-Name: 0a636798bdb6961a47327091715b254f79add823
* Support FCNTL_CHUNK_SIZE on windows too.dan2010-07-28
| | | FossilOrigin-Name: a038688c991435967b935946c2283707820bb5da
* Changes to wal.c so that SQLite can read even if the WAL file is opened ↵dan2010-07-15
| | | | | read-only, provided the wal-index (shm file) is opened read/write. FossilOrigin-Name: 932d19da73c9673cdd4cc01289b17761c23d23cb
* Handle the case where xShmMap returns SQLITE_BUSY.dan2010-07-15
| | | FossilOrigin-Name: 75f5354876c4300a8e53fe551dc837dd383d1e38
* Test the libaries response to read-only or unreadable database, WAL and ↵dan2010-07-14
| | | | | wal-index files. If a WAL file cannot be opened in read/write mode, return SQLITE_CANTOPEN to the caller. FossilOrigin-Name: 45bb84c6283d803fc29077fdc2d06fa50ec06a59
* On unix, try to create the *-wal and *-shm files with the same permissions ↵dan2010-07-14
| | | | | as the associated database file. FossilOrigin-Name: e5d180eed245437b61bfb257ee01e2571c93afe7
* Change the name of the xShmClose VFS method to xShmUnmap, everywhere.drh2010-07-14
| | | FossilOrigin-Name: c2d27cf51d33e6f38bab37008d39074051f75274
* Changes so that the xShmOpen VFS method is no longer required. Its job can ↵dan2010-07-13
| | | | | be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. FossilOrigin-Name: f4780bde62c6c19146d2723c101540b8db898d38
* Fix warning under MSVC.shaneh2010-07-09
| | | FossilOrigin-Name: 0c32c4bbdd74297767dcf4ec4295f9cc72875af0
* Reformat WAL code for clearer presentation. Update comments for correctness.drh2010-07-09
| | | | | | Add checks to ensure that corruption in shared-memory does not result in an infinite loop. FossilOrigin-Name: 40eaada7ec45e70bdf64d060051f24c5c5e3faf3
* Make the initial salt values in the WAL header random values, not zero.drh2010-07-07
| | | FossilOrigin-Name: baa5eddd0539342945c14a2793c2579efb7e3b26
* Remove two more testcase() macros that require 4GiB WAL files to hit.drh2010-07-07
| | | FossilOrigin-Name: 16e18f2706e67210eae62edfb748758fd27f23d7
* Remove a testcase() macro that would require a 4GiB WAL to reach.drh2010-07-07
| | | FossilOrigin-Name: 15f9c2713bdfd3d6c8d8d4298f101d128e39b99a
* Add testcase macros to ensure that large-file cases are tested in WAL.drh2010-07-07
| | | FossilOrigin-Name: 8156b57ac33161ae6dd8a9413127ecce3c9eae83
* Fix a problem with writing to databases larger than 2^32 bytes with WAL mode.dan2010-07-07
| | | FossilOrigin-Name: b956ddca75d64ba662fa0b03b643822d836b6501
* Allocate a buffer containing the full path-name to the associated WAL file ↵dan2010-07-05
| | | | | when a pager is created. This saves having to construct a new buffer each time a new read-transaction is opened and SQLite checks for the existance of a WAL file. FossilOrigin-Name: 3053a4ad15343a56efa430503797b77bb6d1e770
* Fix a couple more compiler warnings under MSVC.shaneh2010-07-02
| | | FossilOrigin-Name: 26bc27e3f4c8a666f3358f73fc21eccdec3508f6
* Fix some warnings when compiling under MSVC.shaneh2010-07-02
| | | FossilOrigin-Name: 708338773919fa024abbba55180654beb60e6d84
* Make walIndexTryHdr() a private function. Fix an issue with SQLITE_MUTEX_NOOP.drh2010-06-26
| | | FossilOrigin-Name: ec65bbd06bdd3bf16a742c5bb1fab0dce756c01a
* Suppress various compiler warnings.drh2010-06-26
| | | FossilOrigin-Name: e82d008eaffb5522080cad6c69c1b194b78eadbd
* Suppress a couple uninitialized variable warnings.drh2010-06-26
| | | FossilOrigin-Name: 29571e228cc85f7768c3ad57d0c7af96b5a54983
* Reduce the average (but not maximum) size of the allocations made as part of ↵dan2010-06-25
| | | | | a checkpoint. FossilOrigin-Name: 4a7fd91b7ab2c5d21fbac7f6f123820c8f4ec7f6
* Reduce the size of the large allocation (approx 8KB for every 4000 frames in ↵dan2010-06-25
| | | | | the log) that occurs during checkpoint. Use the 'scratch' memory for this allocation instead of the general purpose allocation. FossilOrigin-Name: 29887487ed549f97c3c9b37f852bae179b6ea9a9
* Modify the merge-sort in wal.c so that it does not use recursion.dan2010-06-25
| | | FossilOrigin-Name: daea6c054cee3564d8460d876b78a325ebc382dd
* Make sure the wal-index reader detects an incorrect version number even ifdrh2010-06-24
| | | | | | it had to hold a lock in order to read the wal-index. Also, expand and enhance various comments in wal.c. FossilOrigin-Name: 2e6a462cebc05bfd4648d26dd5ae70b68844aa5f
* Fix and/or improve comments in wal.c. No code changes.drh2010-06-23
| | | FossilOrigin-Name: ee9991be082202c6637adb47affc777e7917be04
* Add a version number to the wal-index header. If SQLite encounters a version ↵dan2010-06-23
| | | | | number in either the wal or wal-index files that it does not understand, the operation is abandoned and SQLITE_CANTOPEN returned. FossilOrigin-Name: 8d0f8a7f70d6fb42369411a934b30f8c8ca8322f
* Disable code used only by the codec when the codec is not deployed.drh2010-06-22
| | | FossilOrigin-Name: 2c90276e340aa19d78d2e33c9f759f8eda0b82a3
* Add codec support to wal mode.dan2010-06-22
| | | FossilOrigin-Name: 393741eba353d5d242b8e3c96db3ea2b92228036
* Updates to comments and testcase() macros in wal.c.drh2010-06-15
| | | FossilOrigin-Name: 4d90cc0bc07e791b2838fc384866bd5c2282f681
* Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name ↵dan2010-06-14
| | | | | of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations. FossilOrigin-Name: fc0cabc15c97dde6a852b4f07df6d30f1d2c04bc
* Update some comments in wal.c. No code changes.dan2010-06-14
| | | FossilOrigin-Name: 1ce9c92bffa5d7f8431c005b29d698b0f5b95875
* Change the interface to internal function walGetHash() to make it easier to ↵dan2010-06-14
| | | | | follow. FossilOrigin-Name: 5e8e2e978ea48ce4ad93a936c838934f33d665df
* Add the xShmPage method to the "crash" vfs in test6.c.dan2010-06-14
| | | FossilOrigin-Name: 1008f536440840da7d56c01ec147a25295fd1fd4
* Add some fault-injection tests to improve coverage.dan2010-06-14
| | | FossilOrigin-Name: 37b26d125f4b1d8e75bb38800fefd145611f94aa
* Fix some problems with handling IO errors on the experimental branch.dan2010-06-12
| | | FossilOrigin-Name: eade8bc238df580412f5cf1b91a91532ae671e46
* Experimental change to the xShmXXX parts of the VFS interface.dan2010-06-11
| | | FossilOrigin-Name: ca68472db01c14a899892007d1cbaff5e86ae193