aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | Change the vfs instrumentation code in test_osinst.c to make it easier to ↵dan2010-05-12
| | | | | | | | | | | | | | | deploy. Add a vtab implementation for reading the binary log file format. FossilOrigin-Name: ee13c8849d234931bb3be36e42383d228b3cbfcb
* | | Make sure xShmGet is never called while already holding the shared-memorydrh2010-05-13
| | | | | | | | | | | | | | | segment. FossilOrigin-Name: 92ebdbc5f64ac63796ff56c1e1aec3b95c6bdd20
* | | Change the xShmSize() implementation in os_unix.c so that it will onlydrh2010-05-13
| | | | | | | | | | | | | | | increase and never decrease the size of a shared-memory segment. FossilOrigin-Name: 149d2ae4a6fe2f86822f286d2a7092c51bec7ebb
* | | Fix for a segfault that can follow a malloc failure.dan2010-05-13
| | | | | | | | | FossilOrigin-Name: 3cab9022457ce50f82c5822d8ba6c04a3a85cb6a
* | | Modify the VFS in test_vfs.c to match the refactoring of the xShmXXX methods.dan2010-05-13
| | | | | | | | | FossilOrigin-Name: 25e72f81561575051c63e9bf5d2c8e76f9fcf5c6
* | | Fix for the test_devsym.c test module for the VFS-SHM refactoring.drh2010-05-12
| | | | | | | | | FossilOrigin-Name: 49d62933759d4e160ee3a4dd2aa316a2f5bbb4e6
* | | A couple simple fixes to get wal.test mostly working.drh2010-05-12
| | | | | | | | | FossilOrigin-Name: c74458127468f30b16715594c8d68e9d3c05d292
* | | Refactoring the VFS-SHM methods used by WAL. This version compiles anddrh2010-05-12
|/ / | | | | | | | | runs non-WAL test cases but crashes and burns on wal.test. FossilOrigin-Name: 2b00152c1ac0b3735aa6cfab61259ff04d81c701
* | Remove the OP_Variable optimization of check-in [48b77b04935d894] since itdrh2010-05-12
| | | | | | | | | | can lead to malfunctions as described in ticket [26ff0c82d1e90]. FossilOrigin-Name: 7838163d087780a6fb403a17641b96f71baec088
* | Remove a branch made redundant by the earlier exclusive-mode changes.dan2010-05-12
| | | | | | FossilOrigin-Name: c501b2ede6aad123bef0aa7ce8b356a134eb6d26
* | Have os_unix.c use the suffix "-wal-index" for wal-index files instead of ↵dan2010-05-11
| | | | | | | | | | "-wal-inde". FossilOrigin-Name: 885e854e7cdc79ecc9d5772d563ddc0f61753ab6
* | When an attempt to change journal_mode fails due to locks, be sure todrh2010-05-11
| | | | | | | | | | leave internal structures in a consistent state. FossilOrigin-Name: cf3d1e0b8a739302cf2848ac3e6eaaae04e6a44c
* | Changes so that WAL and exclusive-locking mode work together.dan2010-05-11
|/ | | FossilOrigin-Name: 71e7b1cf9f4cd02a2a9bc8a3e58acd7a7e3c7e60
* Fix an off-by-one error while constructing the name of the mmap file fordrh2010-05-10
| | | | | the wal-index under os_unix.c. FossilOrigin-Name: 6e3735f72cb7d2f4d16c8f9bc59ff159c75243e5
* Merge [96d6eaf4d2] and [40b0a6357b].dan2010-05-10
|\ | | | | FossilOrigin-Name: c67756c404669141fa06a1ce3f1efadefa277bc6
| * Fix an uninitialized variable in OSX proxy locking.drh2010-05-10
| | | | | | FossilOrigin-Name: 96d6eaf4d2be453191b36875811d9556ad0763ed
* | Modify the format of the wal-index to use a hash table to index log file ↵dan2010-05-10
|/ | | | | segments. FossilOrigin-Name: 40b0a6357b160e04326ab176955a68a1cf3f8b7c
* If an ATTACH command files due to OP_JournalMode but still attaches thedrh2010-05-10
| | | | | database, make sure VACUUM still detaches it when done. FossilOrigin-Name: 6ecdc7ba2b5e79e8b5862fb49cf6c2b99a40659a
* Enhance the OP_JournalMode opcode with an ignore-errors option and use thatdrh2010-05-10
| | | | | option the ATTACH command. FossilOrigin-Name: 0bdea4cfbd7832f2a00c01b93c92ba13d20139ef
* When running a checkpoint while in locking_mode=EXCLUSIVE, be sure to movedrh2010-05-07
| | | | | the wal-index lock to UNLOCK from READ prior to promoting to CHECKPOINT. FossilOrigin-Name: be114bdf9bb98c7287f8cb54340c630b0c412e9d
* Change the xShmOpen() method of the VFS to take the database file name asdrh2010-05-07
| | | | | | its argument, not the WAL file name. Also fix some unrelated compiler warnings. FossilOrigin-Name: a65c2939267ef6acec4e355a207f98f217e263d6
* Additional tweaks to API documentation. No functional code changes.drh2010-05-07
| | | FossilOrigin-Name: e1230782a371f09cd46dacc8ecbc6a0c5baab2d5
* Updates to documentation on the C interfaces supporting WAL. No functionaldrh2010-05-07
| | | | | changes to code. FossilOrigin-Name: 681ba20cf077e9a0fccd51ed50101ad0f2c67eb3
* Test another IO error case in wal.c.dan2010-05-07
| | | FossilOrigin-Name: 8b3b5ab8fa61ca4ef22c98abaab397707ee74ea3
* Fix a problem with checkpointing large log files created by an external process.dan2010-05-07
| | | FossilOrigin-Name: 8f94bde568be52ecc5a976b7a09776ea7b4bb511
* Since walIndexTryHdr() can no longer encounter any error conditions, change ↵dan2010-05-07
| | | | | tehe function signature so that it does not return an error code. This removes unreachable branches from other code. FossilOrigin-Name: 061a282cc0bf76541ab1f99b351a49d489ff93ec
* The PRAGMA journal_mode=WAL; command now makes WAL the default journal modedrh2010-05-06
| | | | | | for new databases added with ATTACH, so the behavior is consistent with the other journal modes. FossilOrigin-Name: c3520460a4a39fc5e981c3033068ffbb422a4af2
* Make sure to do a clean shutdown of the library upon existing the shelldrh2010-05-06
| | | | | in order to remove WAL files. FossilOrigin-Name: c1762dda00b8bdb7c3247617ac4cb654f1d95cf7
* Changes to support SQLITE_OMIT_WAL.shaneh2010-05-06
| | | FossilOrigin-Name: 32a8501d78714cc390eba5f993f329ef3b499878
* Instead of transitioning to RECOVER state from CHECKPOINT when a recovery is ↵dan2010-05-06
| | | | | required, perform the recovery while holding the CHECKPOINT lock. FossilOrigin-Name: bb0b6021e721c2e4f1533ab18381604c6b7b31d5
* If recovery is run before a checkpoint, change back to a CHECKPOINT lock ↵dan2010-05-06
| | | | | before performing the actual checkpoint. FossilOrigin-Name: dc98ee169cfa43c89f1b36fb1150d4788710fda3
* Only pass -1 as the size parameter to xShmGet when the caller does not care ↵dan2010-05-06
| | | | | what size mapping is returned. Only call xShmSize when the underlying allocation (not the mapping) should be resized. FossilOrigin-Name: 637f51ddf9e4a57e1f171b6d2c6c93152074267e
* Fix a bug whereby an old snapshot could be checkpointed (and subsequent ↵dan2010-05-06
| | | | | transactions discarded) if the last connection to disconnect from a WAL database happended to be holding an out-of-date wal-index header. FossilOrigin-Name: d0c0034b0baa83046c1d6b94c886f7039e4e06f5
* After throwing an error to say that one cannot change into WAL mode withindrh2010-05-06
| | | | | a tranactions, do not then go and change into WAL mode. FossilOrigin-Name: 56a17dae91600a3863903f8d654ed52a0f720caf
* Further coverage tests.dan2010-05-06
| | | FossilOrigin-Name: 98a9713e0030a36ea99a18a12a2e7685c6db72b3
* Add tests to cover a couple of branches in wal.c.dan2010-05-06
| | | FossilOrigin-Name: 429f437fb776fc974a6adf791b729e25bea82fef
* Add tests for some lock-contention cases.dan2010-05-06
| | | FossilOrigin-Name: f0fcb9c9a67e2bf7bbedbedbc27791b605a21dd1
* Remove the noop-mutex implementations of mutex_held() and mutex_notheld() drh2010-05-06
| | | | | since they are both unreachable. FossilOrigin-Name: 6767b62a9a063582889f5ceb42f95eab24c697da
* Add test cases to test the libraries handling of corrupt wal-index headers.dan2010-05-06
| | | FossilOrigin-Name: 9465b267d420120c050bbe4f143ac824146a9e4a
* Add tests for handling errors returned by xShm VFS methods.dan2010-05-06
| | | FossilOrigin-Name: fbbcacb137e8f5246b88ad09331236aaa1900f60
* Change the behavior of the sqlite3_wal_hook() callback. It should now returndrh2010-05-05
| | | | | | | SQLITE_OK or an error code and the error code is propagated back up the stack. If a checkpoint is desired, the callback should invoke sqlite3_wal_callback() itself. FossilOrigin-Name: 1b14195e05fe5551992a39246ec3bcf6a33bbfac
* Further simplifications to the SHM locking logic. Remove the SQLITE_SHM_QUERYdrh2010-05-05
| | | | | option. Unify the WRITE to READ and RECOVER to READ transitions. FossilOrigin-Name: e9bfa6e4ce7d1edc6be8b9173ac3b6bfd180632a
* Test the handling of errors returned by the xShmXXX() APIs.dan2010-05-05
| | | FossilOrigin-Name: 72663123d6be2b194cad7a6057d0f20dd0d9fe05
* Do not compare page sizes on source and destination of backup untildrh2010-05-05
| | | | | | transactions are started and the page sizes are locked. This is a fix to check-in [7bd44794c4]. FossilOrigin-Name: ec7157788b16936b4b6e4642107b3c86aa44df24
* Simplifications to the SHM locking implementation in os_unix.c.drh2010-05-05
| | | FossilOrigin-Name: 9de05bfb09e29bafdf5782263330fe8eefcfaba3
* Prohibit backup if the destination is using WAL and has a different pagedrh2010-05-05
| | | | | size from the source. FossilOrigin-Name: 7bd44794c482beee16c684712545275e2bf63dfa
* When closing a WAL database, if the exclusive lock on the database file is ↵dan2010-05-05
| | | | | obtained and the database successfully checkpointed, delete the wal-index file from the file system. FossilOrigin-Name: 2ac5d96c8e5831b392d83c86491d9ed8bc9c8db7
* Make sure the page size of the main database is fixed following adrh2010-05-05
| | | | | | | failed VACUUM attempt. Otherwise, two consecutive failed VACUUM attempts with attempted page_size changes on encrypted or WAL databases could result in database corruption. FossilOrigin-Name: 208e7d5d3a8915433dbf50c6cc6698ec6c8df944
* Do not attempt to modify the page_size when running VACUUM on a WAL database.drh2010-05-05
| | | FossilOrigin-Name: 58a1a59be89b33c6d5fa8b43571037d7d96625a1
* Get the previous mutex fix working with SQLITE_DEBUG and with the amalgamation.drh2010-05-05
| | | FossilOrigin-Name: df19928f7ee94bca3989313ff16507c15d6efe2b