aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * 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
* When the in single-threaded mode, the sqlite3_mutex_alloc() interfacedrh2010-05-05
| | | | | | | still returns a non-NULL value. The mutex doesn't do anything, but it tests non-NULL. This way, extensions (or VFSes) that use sqlite3_mutex_alloc() can tell the difference between an OOM error and mutexes being disabled. FossilOrigin-Name: 451fd175758983c335aab449fdc4cb838156c4cb
* When sqlite3PagerPagecount() is called without any locks, always returndrh2010-05-04
| | | | | the physical file size, not the logical file size. FossilOrigin-Name: 4016b422286587beda7323052d27821adb1fed73
* Be sure to release all wal-index locks before closing the wal-index.drh2010-05-04
| | | FossilOrigin-Name: b15b67fa14ff77963f470678ff6188c63be8e079
* Relax an over-zealous assert() in sqlite3WalUndo().drh2010-05-04
| | | FossilOrigin-Name: 8f9d22d58c75ad7476c1eea8ba296347e30b7beb
* Take care not to invoke the xShmClose method of the VFS with a NULL drh2010-05-04
| | | | | shared memory object. FossilOrigin-Name: 1465d3842c52aa7471f63deb47fe5b256d4e01c2
* Fix problems with recovering wal files that use a page-size other than the ↵dan2010-05-04
| | | | | default. FossilOrigin-Name: 1a391f3c55dc9d4266552fa26d2a9839c6bafce4
* Fix a typo in walfault.test.dan2010-05-04
| | | FossilOrigin-Name: 232dbe8ecec16485be5c5995fdf7a0ed951c2097
* Test that the correct number of padding frames are appended to the log file ↵dan2010-05-04
| | | | | after committing a transaction in synchronous=FULL mode. FossilOrigin-Name: a60104aa7e38e7d9f2ff2eae02687dc9c5dd5d77
* Fix a bug in the computation of the current time for the alternativedrh2010-05-03
| | | | | CURRENT_TIMESTAMP functions used when SQLITE_OMIT_DATETIME is defined. FossilOrigin-Name: e7ded46b5efabe521008d9043dd72bd1ca748316
* Documentation stubs for sqlite3_wal_autocheckpoint and sqlite3_wal_checkpoint.drh2010-05-03
| | | FossilOrigin-Name: 313762427d96954667909887a797ea996dc6304a
* Fix a bug in the xCurrentTime() method of the os_unix.c VFS.drh2010-05-03
| | | FossilOrigin-Name: 551df11a5613e3edc6c5de44f0ac6abc2d0e6cdf
* Fix a couple of errors in WAL code that can occur in an OOM situation.dan2010-05-03
| | | FossilOrigin-Name: 9d3f3736be42ef8ab48b099d4712e08dfca97873
* Update the crash-test VFS in test6.c to pass-through the shared-memorydrh2010-05-03
| | | | | methods to the real underlying VFS. This fixes the walcrash.test script. FossilOrigin-Name: ea09ff37911376505e8262ee9841224995b696f2
* Change the VFS definition so that all methods take a VFS object pointer asdrh2010-05-03
| | | | | their first parameter. FossilOrigin-Name: 43b5b07f0d996d7ef7426346b1792e9ca898f487
* Have sqlite3_wal_checkpoint() handle a zero-length string in the same way as ↵dan2010-05-03
| | | | | a NULL pointer. Fix "PRAGMA wal_checkpoint" so that it checkpoints all attached databases. FossilOrigin-Name: 7fecd21f45b9ce773ffbcef6c84066474e8cd01c