aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Add coverage test cases. Have sqlite3_backup_step() transform ↵dan2010-06-30
| | | | | SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returning. FossilOrigin-Name: 5e19bc360e098ec06a72f4a86254d8e62e93ea57
* Add tests to pager1.test and pagerfault.test.dan2010-06-29
| | | FossilOrigin-Name: 008513ee6115f8d6f4b4e1428c1c638282b971a3
* Fix some errors when compiling with SQLITE_OMIT_WAL.dan2010-06-28
| | | FossilOrigin-Name: 3b68cb9c656db8c5c481199919a98f5764f7ebfa
* Currently, if SQLite cannot find a table or index referred to by a query, it ↵dan2010-06-28
| | | | | reloads the database schema from disk to see if the table or index has been added since the schema was cached in memory. Extend this behaviour to columns (which may have been added using ALTER TABLE) and fix some obscure cases related to tables and indexes (INDEXED BY, DROP TABLE etc.). FossilOrigin-Name: 4932f22848b3d15a2b6dc5fa2cd69ce19182e2a4
* 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
* Fix two asserts on the scratch allocator to allow for up to two outstandingdrh2010-06-26
| | | | | scratch allocations per thread. FossilOrigin-Name: f149b498b6ada3fc9f71ee104c351554c80c7f8a
* Suppress a couple uninitialized variable warnings.drh2010-06-26
| | | FossilOrigin-Name: 29571e228cc85f7768c3ad57d0c7af96b5a54983
* Remove a NEVER() in pager that can in fact be reached in obscure failuredrh2010-06-26
| | | | | cases. FossilOrigin-Name: 42b8bd1c70d8dbbc4a59e2fdee8654c4fe84f979
* Fix a case where the doNotSyncSpill flag may remain permanently set ↵dan2010-06-26
| | | | | following aIO error. FossilOrigin-Name: 56c7d111bf7013be95a4c2a657a4861eee91db91
* When synchronous=NORMAL, use the same journal file format as with ↵dan2010-06-26
| | | | | synchronous=FULL (i.e. multiple journal headers within the one journal). Fix for [d11f09d36e]. FossilOrigin-Name: 2eaf5ee0d9338de8a77fb3e06ad2f2b0daa6fcbe
* Further test cases for pager1.test and pagerfault.test.dan2010-06-25
| | | FossilOrigin-Name: bfd563c4714d86805fa09ce9f4f807e5d502a99b
* 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
* Fix up a branch in sqlite3ValueFromExpr() so that we can achieve fulldrh2010-06-25
| | | | | | branch test coverage regardless of whether or not SQLITE_ENABLE_STAT2 is used. FossilOrigin-Name: af471ed79f539ff495f6d4cb3b69188c8af7ae3d
* Change the name of the shared-memory file on windows from *-wal-index todrh2010-06-25
| | | | | *-shm, for consistency with unix. FossilOrigin-Name: 5995cb15080cfb707ddda501f975673f658106f7
* Modify the merge-sort in wal.c so that it does not use recursion.dan2010-06-25
| | | FossilOrigin-Name: daea6c054cee3564d8460d876b78a325ebc382dd
* Revert to allowing a cache spill during writes of multiple pages within adrh2010-06-24
| | | | | | single sector as long as the spill does not require a journal sync and a new journal header. FossilOrigin-Name: 7d83fbae9802a56b2121d0775de54fccd743d971
* Disable memory-pressure induced cache spill during savepoint rollback.drh2010-06-24
| | | FossilOrigin-Name: a55eb4c3e9fa4ea43b8f8182eb9e39138df03f52
* Add coverage tests. Remove a NEVER macro from pager.c, as the condition can ↵dan2010-06-24
| | | | | now be true in wal mode. FossilOrigin-Name: 7aac9ad6dd14b1c56eb8e4750ac769c6197c30bd
* 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 test case for SQLITE_FULL errors to pagerfault.test. Remove a NEVER ↵dan2010-06-23
| | | | | macro in pager.c that this hits. FossilOrigin-Name: 3e9680c4c18140d083b24e05a21ea6792aef2487
* Include the SOURCE_ID value in the log messages output for corruption, misuse,drh2010-06-23
| | | | | and CANTOPEN errors. FossilOrigin-Name: 1727a81fed65bebfea43e0bda271584096d82785
* Adjust the shared-memory locking range to account for the new version numberdrh2010-06-23
| | | | | values in the wal-index header. FossilOrigin-Name: a6dc0df304876b51cef5402b0e21330f10aabccf
* 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
* Fix the xCurrentTimeInt64 interface on windows. It was off by a factor of 10.drh2010-06-23
| | | FossilOrigin-Name: 51ef43b9f7db8fabf73d9c8a76dae6c275e50d58
* Simplifications to the pager_delmaster() implementation.drh2010-06-23
| | | FossilOrigin-Name: 8bfbdec647d29f0eb103ba7deb9116c44193f2e1
* 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
* When trying to transition from journal_mode MEMORY to WAL, use OFF as andrh2010-06-22
| | | | | intermediate journal mode. FossilOrigin-Name: 4775b8f9a9d9b66fcd5abf3af111fcad249e662e
* Some changes to test scripts related to codec enabled versions of sqlite.dan2010-06-22
| | | FossilOrigin-Name: 85dd51a75c75b2a123744f646e04538e4e5d89b3
* idan2010-06-22
| | | | | Fix problem with handling of -vfs option in tcl interface. FossilOrigin-Name: 8f98e8b5a557db5759747f3aae5ea01fb0d1f455
* Minor tweaks to get the pager working for corner cases when thedrh2010-06-21
| | | | | SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN flag is set. FossilOrigin-Name: 82b38fca1aea345ade954517661145f1859e701c
* Fix comment inside the pager_unlock() routine. Always close the masterdrh2010-06-21
| | | | | journal file before trying to delete it. FossilOrigin-Name: f820b815c9bff368eb1ccb850966a812151e610e
* Add test cases to pager1.test and pager2.test.dan2010-06-21
| | | FossilOrigin-Name: cc9ddae6d72b214f52b8949e644b91f4ab340a28
* Change things so that journal2.test works with ENABLE_ATOMIC_WRITE.dan2010-06-21
| | | FossilOrigin-Name: a64d96db09ef2b7651fa4e98d3c7bf3ae5d3fe96
* Merge latest trunk change.dan2010-06-21
|\ | | | | FossilOrigin-Name: f6d26e07b70965e332b1589804ca938593a5f432
| * Fix an uninitialized variable in os_unix.c.drh2010-06-19
| | | | | | FossilOrigin-Name: 822a0283c6bc1c75001f3d1c528a4ff89c6b039c
| * Change the unix VFS to always allocate shared-memory using a file in thedrh2010-06-19
| | | | | | | | | | | | | | same directory as the database. Otherwise, a chroot might cause different processes to use different shared memory files resulting in database corruption. FossilOrigin-Name: 2241788bc85fbc48e9cfecb95fe0a858338e37cb
| * Apply [b9b11855e8] (the alternate fix to [fc62af4523]) to the trunk.dan2010-06-17
| | | | | | FossilOrigin-Name: 9a949a3a5c32b8bfbb94e10e18d050ec80a25553
* | Fix an assert() failure that could occur if compiling with OMIT_SHARED_CACHE.dan2010-06-19
| | | | | | FossilOrigin-Name: 3e76a9f2c041a6d36614f540bb89588703d85925
* | Change the name of IOCAP_SAFE_DELETE to IOCAP_UNDELETABLE_WHEN_OPEN. Have ↵dan2010-06-19
| | | | | | | | | | the xDeviceCharacteristics() method of the win32 VFS return this flag. FossilOrigin-Name: 5a5ff4e3e4c707464f227907d0aefb8ef42180dd
* | Add tests to pager1.test and pagerfault.test.dan2010-06-19
| | | | | | FossilOrigin-Name: f5df83fd875073eee8e2269e87e2a8c9c7abc981
* | Rearrange some code in OP_JournalMode to avoid incorrect returns from ↵dan2010-06-18
| | | | | | | | | | subsequent invocations of "PRAGMA journal_mode" following an IO error. FossilOrigin-Name: ce0a4a9b5f981d066822a9ae63740c91b35bfc60
* | Change the implementation of the unix implementation of xAccess() so that it ↵dan2010-06-18
| | | | | | | | | | returns 0 (does not exist) to an SQLITE_ACCESS_EXISTS query on a file that exists but is zero bytes in size. FossilOrigin-Name: 077b0e5bcd849130c8df373fc2134c4b44351882
* | A different fix to [fc62af4523]. When changing from journal_mode=PERSIST or ↵dan2010-06-17
| | | | | | | | | | TRINCATE to some other rollback mode, delete the journal file only if a RESERVED lock can be obtained on the database file first. FossilOrigin-Name: b9b11855e8a9522309dd30e5256bb67d67e1353a
* | Merge trunk updates with experimental branch.dan2010-06-17
|\| | | | | FossilOrigin-Name: 9f6ea1de5abab0ca28688e257ddf03c66413cf6e
| * Do not delete the journal file in "PRAGMA journal_mode" commands. This fixes ↵dan2010-06-17
| | | | | | | | | | [fc62af4523]. FossilOrigin-Name: 1ec74591a93e8b27ad3ac739914a48a91972e82c
* | Merge fix [f80c3f922a] with experimental changes.dan2010-06-17
|\| | | | | FossilOrigin-Name: 20133e9ca98f5e6c42051ed3d65e4eb71d5366a5