aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
| * Bug fix: Only trust the database size number at offset 28 if the changedrh2010-06-17
| | | | | | | | | | | | | | | | counter at offset 24 matches the version number counter at offset 92. This prevents corruption in the case of two applications writing to the database where one is an older version of SQLite and the other is a newer version. FossilOrigin-Name: f80c3f922a114e738613955a939db46cf0847038
* | Experimental change: On systems where it is not possible to unlink a file ↵dan2010-06-16
|/ | | | | while one or more processes has it open (i.e. not unix), avoid closing the journal file each time the database is unlocked and reopening it at the start of each transaction. FossilOrigin-Name: bede8c8a148fb9be5ffbf38df7fa733e35cc68c3
* Fix a memory leak that can occur in os_unix.c if an IO error occurs within ↵dan2010-06-16
| | | | | the xUnlock method. FossilOrigin-Name: 6c5c04eea1f0e8d61883ee8675c249fbf895dc01
* Minor tweaks to the interface documentation - adding hyperlinks.drh2010-06-15
| | | FossilOrigin-Name: 07b2fdd1cebbdbde5098a662eea65a0c9e8b5442
* Updates to comments and testcase() macros in wal.c.drh2010-06-15
| | | FossilOrigin-Name: 4d90cc0bc07e791b2838fc384866bd5c2282f681
* Move the xShmMap method to in between xShmLock and xShmBarrier, since it seemsdrh2010-06-14
| | | | | to fit in there logically. FossilOrigin-Name: 58dfd83d8b7905391e2a06bb918ffa209c6de6b5
* Add the new xShmMap (formerly xShmPage) to os_win.c.dan2010-06-14
| | | FossilOrigin-Name: 13e7a8242206bca4b5bf356ef074e66474d39609
* 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
* Refactor and simplify the logic used to change journalmode.drh2010-06-11
| | | FossilOrigin-Name: 95cc3f6fdec5494560c3cd4439d06870d1c62506
* Add the SQLITE_TESTCTRL_PGHDRSZ verb for sqlite3_test_control() used to getdrh2010-06-10
| | | | | the size of pcache headers for testing purposes. FossilOrigin-Name: 5d694f04fecf47ca325e108d463c24f42def55d5
* Update the test VFS in test_journal.c so that it implements thedrh2010-06-10
| | | | | xCurrentTimeInt64 method. FossilOrigin-Name: ec3b4a7e5d3d7bd737d356b8a09ce94f8f0f8ce0
* Store the MemPage structure in memory following, instead of preceding, the ↵dan2010-06-10
| | | | | page data for cached pages. This reduces the likelihood of a corrupt database page image causing SQLite to read past the end of a buffer. FossilOrigin-Name: 0ce42e76654d9ba52dac74c940d38b17866016ba
* Remove a condition that must always be true. Replace it with an assert().drh2010-06-10
| | | FossilOrigin-Name: 7abcd54ec09e8025193d1e0ea57775051d823801
* When restarting (wrapping) a log file, set all unused aReadMark[] slots to ↵dan2010-06-09
| | | | | READMARK_NOT_USED instead of 0. Setting them to 0 does not cause a problem, but may cause SQLite to obtain and release a few more file locks than would otherwise be necessary. FossilOrigin-Name: 0797b10c0cc08ae38e26685d1f8331e37d428781
* Fix for ticket [f973c7ac31].dan2010-06-09
| | | FossilOrigin-Name: 6eb058dda8d5f87b02378d8efd821fe64a525dcc
* Shift the meaning of aReadMark[] back so that +1 offset from mxFrame isdrh2010-06-09
| | | | | | removed. Add the new READMARK_NOT_USED value (0xffffffff) instead of zero to signal an aReadMark[] that is not in use. FossilOrigin-Name: c576827d55c156572b76cf7063e9f253ca6e7403
* Simpler fix for the race condition also fixed by [7c102c7b5f]dan2010-06-09
| | | FossilOrigin-Name: 3c2de820034e01c2e939bd90a05a58159f60df50
* In os_unix.c, call munmap() to unmap a shared-memory region prior to closing ↵dan2010-06-07
| | | | | the associated file descriptor. FossilOrigin-Name: 95cc976f1520bdaedd8f93b0e9fbef94e4e2c8cc
* Refactor some of the global variables and commands used by tester.tcl.dan2010-06-07
| | | FossilOrigin-Name: c2edf8e17f874d0ca4e94b75575bf6e14eea1f05
* Add further test cases for the logic in sqlite3WalBeginReadTransaction().dan2010-06-05
| | | FossilOrigin-Name: a49713db39d0d6940b368206d4e669aa69aa1fe5
* Clarify the purpose of a test for a race-condition in walIndexReadHdr().dan2010-06-05
| | | FossilOrigin-Name: c041c6a9786bc9ebb82527f7a2c96d255aec927f
* Remove a condition from sqlite3WalRead() that is unreachable as of the ↵dan2010-06-05
| | | | | changes to clear entries out of the wal-index hash tables on transaction or savepoint rollback. FossilOrigin-Name: 394204735a842b04b677cca20485b1578e475d4c
* Mark a condition in wal.c as ALWAYS().dan2010-06-05
| | | FossilOrigin-Name: 3fe0cc784ac586358c08f87fba458dfbb5eec6f2
* Add extra coverage test cases for wal.c. No changes to production code.dan2010-06-05
| | | FossilOrigin-Name: f9d4ae0e8cc5d32c52eb78799f7959dd236ea9de
* Clarify an assert in sqlite3WalExclusiveMode().dan2010-06-04
| | | FossilOrigin-Name: 255850699ddbf4aad8cc3223aefbada35daa0703
* Remove an unnecessary branch from wal.c.dan2010-06-04
| | | FossilOrigin-Name: 8e54786c9a0c5c399f228f56c73271f84d75694b
* Add an English language error message to corresponding to SQLITE_PROTOCOL. ↵dan2010-06-04
| | | | | "locking protocol". FossilOrigin-Name: ca327e32cfe1633f2c9d3f058e411f108aaa2b3c
* If an attempt to sync the database file as part of a checkpoint fails, do ↵dan2010-06-04
| | | | | not update the shared "nBackfill" variable. Otherwise, another process could wrap the log and overwrite content before it is synced into the database. FossilOrigin-Name: b813233d7604a5fd91e1af91d5d812032eec700a
* Fix a problem where an SQLITE_BUSY in the checkpoint code was being treated ↵dan2010-06-04
| | | | | as an IO error (abandoning, instead of just limiting, the checkpoint). FossilOrigin-Name: 02c4040ce2b4c970b3dee09f7c9ad5a2a3a9aa49
* Fix another problem in test_vfs.c.dan2010-06-03
| | | FossilOrigin-Name: df7d59899ceb2743764b0433cb68f4bc33f16344
* Have test_vfs.c simulate IO errors in xShmLock.dan2010-06-03
| | | FossilOrigin-Name: fcbf7cf189506e43fc2f0820aedffb195038d3a9
* Performance fix for winShmClose().drh2010-06-03
| | | FossilOrigin-Name: ed7774de04978803e979580240148eba1de9166d
* Delay opening the sub-journal until SQLite actually needs to write data to it.dan2010-06-03
| | | FossilOrigin-Name: c43deb33ae5f191ea2e054181759beeeb9ea71bf
* Remove global variables when compiled with SQLITE_OMIT_WSDdrh2010-06-03
| | | FossilOrigin-Name: dd10a547f10364058025c48b28d8fd240bf46aff
* Enhancements to test_vfs.c and walfault.test.dan2010-06-03
| | | FossilOrigin-Name: ac0de2f39e948f3b00e96eebf56ebee70472020d
* If an error (OOM or SQLITE_FULL error) occurs while executing an SQL ↵dan2010-06-03
| | | | | statement and a statement-transaction is automatically rolled back as a result, if a second error occurs during the statement rollback do a full transaction rollback instead. Otherwise the client can be left with an inconsistent cache. FossilOrigin-Name: eb80ddc665132c607c258b59131025a296269dad