]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Thu, 24 Jun 2010 17:37:57 +0000 (17:37 +0000)]
Modify ctime.test to work with SQLITE_THREADSAFE=2.
FossilOrigin-Name:
c6db3b303182202a8b03512e448607bce71de914
drh [Thu, 24 Jun 2010 14:52:25 +0000 (14:52 +0000)]
Disable memory-pressure induced cache spill during savepoint rollback.
FossilOrigin-Name:
a55eb4c3e9fa4ea43b8f8182eb9e39138df03f52
dan [Thu, 24 Jun 2010 13:24:26 +0000 (13:24 +0000)]
Add a coverage test to pagerfault.test.
FossilOrigin-Name:
b58db67e972b5660e62a9b7daa2c1e87c3cf0a68
dan [Thu, 24 Jun 2010 10:50:17 +0000 (10:50 +0000)]
Add coverage tests. Remove a NEVER macro from pager.c, as the condition can now be true in wal mode.
FossilOrigin-Name:
7aac9ad6dd14b1c56eb8e4750ac769c6197c30bd
drh [Thu, 24 Jun 2010 02:46:48 +0000 (02:46 +0000)]
Make sure the wal-index reader detects an incorrect version number even if
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
drh [Wed, 23 Jun 2010 22:00:35 +0000 (22:00 +0000)]
Fix and/or improve comments in wal.c. No code changes.
FossilOrigin-Name:
ee9991be082202c6637adb47affc777e7917be04
dan [Wed, 23 Jun 2010 19:27:36 +0000 (19:27 +0000)]
Add test case for SQLITE_FULL errors to pagerfault.test. Remove a NEVER macro in pager.c that this hits.
FossilOrigin-Name:
3e9680c4c18140d083b24e05a21ea6792aef2487
drh [Wed, 23 Jun 2010 17:59:51 +0000 (17:59 +0000)]
Include the SOURCE_ID value in the log messages output for corruption, misuse,
and CANTOPEN errors.
FossilOrigin-Name:
1727a81fed65bebfea43e0bda271584096d82785
drh [Wed, 23 Jun 2010 17:58:38 +0000 (17:58 +0000)]
Adjust the shared-memory locking range to account for the new version number
values in the wal-index header.
FossilOrigin-Name:
a6dc0df304876b51cef5402b0e21330f10aabccf
dan [Wed, 23 Jun 2010 15:55:43 +0000 (15:55 +0000)]
Add a version number to the wal-index header. If SQLite encounters a version 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
drh [Wed, 23 Jun 2010 15:18:11 +0000 (15:18 +0000)]
Fix the xCurrentTimeInt64 interface on windows. It was off by a factor of 10.
FossilOrigin-Name:
51ef43b9f7db8fabf73d9c8a76dae6c275e50d58
drh [Wed, 23 Jun 2010 15:04:27 +0000 (15:04 +0000)]
Simplifications to the pager_delmaster() implementation.
FossilOrigin-Name:
8bfbdec647d29f0eb103ba7deb9116c44193f2e1
drh [Tue, 22 Jun 2010 21:15:49 +0000 (21:15 +0000)]
Disable code used only by the codec when the codec is not deployed.
FossilOrigin-Name:
2c90276e340aa19d78d2e33c9f759f8eda0b82a3
dan [Tue, 22 Jun 2010 15:18:44 +0000 (15:18 +0000)]
Add codec support to wal mode.
FossilOrigin-Name:
393741eba353d5d242b8e3c96db3ea2b92228036
drh [Tue, 22 Jun 2010 14:49:39 +0000 (14:49 +0000)]
When trying to transition from journal_mode MEMORY to WAL, use OFF as an
intermediate journal mode.
FossilOrigin-Name:
4775b8f9a9d9b66fcd5abf3af111fcad249e662e
dan [Tue, 22 Jun 2010 13:46:43 +0000 (13:46 +0000)]
Some changes to test scripts related to codec enabled versions of sqlite.
FossilOrigin-Name:
85dd51a75c75b2a123744f646e04538e4e5d89b3
dan [Tue, 22 Jun 2010 11:10:40 +0000 (11:10 +0000)]
i
Fix problem with handling of -vfs option in tcl interface.
FossilOrigin-Name:
8f98e8b5a557db5759747f3aae5ea01fb0d1f455
drh [Mon, 21 Jun 2010 21:45:37 +0000 (21:45 +0000)]
Minor tweaks to get the pager working for corner cases when the
SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN flag is set.
FossilOrigin-Name:
82b38fca1aea345ade954517661145f1859e701c
drh [Mon, 21 Jun 2010 20:19:25 +0000 (20:19 +0000)]
Fix comment inside the pager_unlock() routine. Always close the master
journal file before trying to delete it.
FossilOrigin-Name:
f820b815c9bff368eb1ccb850966a812151e610e
dan [Mon, 21 Jun 2010 18:29:40 +0000 (18:29 +0000)]
Add test cases to pager1.test and pager2.test.
FossilOrigin-Name:
cc9ddae6d72b214f52b8949e644b91f4ab340a28
drh [Mon, 21 Jun 2010 12:47:41 +0000 (12:47 +0000)]
Merge the experimental UNDELETABLE_WHEN_OPEN optimization into the trunk.
FossilOrigin-Name:
ee0acef1faffd480fd2136f81fb2b6f6a17b5388
dan [Mon, 21 Jun 2010 12:34:29 +0000 (12:34 +0000)]
Change things so that journal2.test works with ENABLE_ATOMIC_WRITE.
FossilOrigin-Name:
a64d96db09ef2b7651fa4e98d3c7bf3ae5d3fe96
dan [Mon, 21 Jun 2010 07:45:47 +0000 (07:45 +0000)]
Add further pager tests.
FossilOrigin-Name:
4104b175a8c3560a7680f3d2b54416821bb2e19d
dan [Mon, 21 Jun 2010 06:00:15 +0000 (06:00 +0000)]
Merge latest trunk change.
FossilOrigin-Name:
f6d26e07b70965e332b1589804ca938593a5f432
dan [Mon, 21 Jun 2010 05:40:49 +0000 (05:40 +0000)]
Fix jrnlmode2.test so that it works on systems where UNDELETABLE_WHEN_OPEN is defined.
FossilOrigin-Name:
59be370e52ec814c45efa6cbac45b6df94661b54
drh [Sat, 19 Jun 2010 23:53:11 +0000 (23:53 +0000)]
Fix an uninitialized variable in os_unix.c.
FossilOrigin-Name:
822a0283c6bc1c75001f3d1c528a4ff89c6b039c
dan [Sat, 19 Jun 2010 19:06:33 +0000 (19:06 +0000)]
Fix an assert() failure that could occur if compiling with OMIT_SHARED_CACHE.
FossilOrigin-Name:
3e76a9f2c041a6d36614f540bb89588703d85925
dan [Sat, 19 Jun 2010 18:12:02 +0000 (18:12 +0000)]
Change the name of IOCAP_SAFE_DELETE to IOCAP_UNDELETABLE_WHEN_OPEN. Have the xDeviceCharacteristics() method of the win32 VFS return this flag.
FossilOrigin-Name:
5a5ff4e3e4c707464f227907d0aefb8ef42180dd
dan [Sat, 19 Jun 2010 17:26:37 +0000 (17:26 +0000)]
Add tests to pager1.test and pagerfault.test.
FossilOrigin-Name:
f5df83fd875073eee8e2269e87e2a8c9c7abc981
drh [Sat, 19 Jun 2010 15:10:09 +0000 (15:10 +0000)]
Change the unix VFS to always allocate shared-memory using a file in the
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
dan [Sat, 19 Jun 2010 11:30:41 +0000 (11:30 +0000)]
Add tests to pager1.test and pagerfault.test.
FossilOrigin-Name:
58c0b5bfed8c67cc3f2f4a6784d08c14e652c265
dan [Fri, 18 Jun 2010 18:59:49 +0000 (18:59 +0000)]
Add tests to pager1.test.
FossilOrigin-Name:
582fca89195af54e9668af249691654cfea63d04
dan [Fri, 18 Jun 2010 16:13:45 +0000 (16:13 +0000)]
Rearrange some code in OP_JournalMode to avoid incorrect returns from subsequent invocations of "PRAGMA journal_mode" following an IO error.
FossilOrigin-Name:
ce0a4a9b5f981d066822a9ae63740c91b35bfc60
dan [Fri, 18 Jun 2010 11:10:06 +0000 (11:10 +0000)]
Change the implementation of the unix implementation of xAccess() so that it 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
dan [Thu, 17 Jun 2010 17:05:53 +0000 (17:05 +0000)]
Apply [
b9b11855e8 ] (the alternate fix to [
fc62af4523 ]) to the trunk.
FossilOrigin-Name:
9a949a3a5c32b8bfbb94e10e18d050ec80a25553
dan [Thu, 17 Jun 2010 16:44:52 +0000 (16:44 +0000)]
dan [Thu, 17 Jun 2010 16:44:21 +0000 (16:44 +0000)]
A different fix to [
fc62af4523 ]. When changing from journal_mode=PERSIST or 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
drh [Thu, 17 Jun 2010 16:08:53 +0000 (16:08 +0000)]
Fix the tkt-
fc62af4523 .test to work around non-randomness of the
randomblob() function when in testing mode.
FossilOrigin-Name:
7c3a86b9c7e2a35ce755c32b38e911e79d843fad
dan [Thu, 17 Jun 2010 11:36:28 +0000 (11:36 +0000)]
Fix bug in journal2.test.
FossilOrigin-Name:
c1e04f1d4e8575ebc41b5b4403dbfe3f60d578dc
dan [Thu, 17 Jun 2010 10:52:07 +0000 (10:52 +0000)]
Merge trunk updates with experimental branch.
FossilOrigin-Name:
9f6ea1de5abab0ca28688e257ddf03c66413cf6e
dan [Thu, 17 Jun 2010 10:42:06 +0000 (10:42 +0000)]
Do not delete the journal file in "PRAGMA journal_mode" commands. This fixes [
fc62af4523 ].
FossilOrigin-Name:
1ec74591a93e8b27ad3ac739914a48a91972e82c
dan [Thu, 17 Jun 2010 10:24:27 +0000 (10:24 +0000)]
dan [Thu, 17 Jun 2010 06:19:53 +0000 (06:19 +0000)]
Merge fix [
f80c3f922a ] with experimental changes.
FossilOrigin-Name:
20133e9ca98f5e6c42051ed3d65e4eb71d5366a5
drh [Thu, 17 Jun 2010 02:13:39 +0000 (02:13 +0000)]
Bug fix: Only trust the database size number at offset 28 if the change
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
dan [Wed, 16 Jun 2010 19:04:23 +0000 (19:04 +0000)]
Experimental change: On systems where it is not possible to unlink a file 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
dan [Wed, 16 Jun 2010 12:30:10 +0000 (12:30 +0000)]
Add extra test cases to pager1.test.
FossilOrigin-Name:
ad3209572d0e6afe5c8b52313e334509661045e2
dan [Wed, 16 Jun 2010 10:55:42 +0000 (10:55 +0000)]
Fix a memory leak that can occur in os_unix.c if an IO error occurs within the xUnlock method.
FossilOrigin-Name:
6c5c04eea1f0e8d61883ee8675c249fbf895dc01
dan [Tue, 15 Jun 2010 19:07:42 +0000 (19:07 +0000)]
Rationalize a common pattern in tcl test cases into proc do_multiclient_test.
FossilOrigin-Name:
efe44564983f115017658dd8a130226366d42bab
dan [Tue, 15 Jun 2010 18:00:06 +0000 (18:00 +0000)]
Fix a problem introduced into lock2.test by the previous commit.
FossilOrigin-Name:
c1c9f6fa9d75df740e577dbc5e6a24b91ad2bdd0
dan [Tue, 15 Jun 2010 17:44:47 +0000 (17:44 +0000)]
Add test file pager1.test, containing tests of inter-process locking in non-wal mode.
FossilOrigin-Name:
6e43eed9310bae9ca5e91f8fd9eafc45a16b7019
dan [Tue, 15 Jun 2010 14:21:17 +0000 (14:21 +0000)]
Run extra iterations in wal3.test to ensure test coverage.
FossilOrigin-Name:
ea80cbe51e33d6a3f15a4ad56f360fc5323866de
dan [Tue, 15 Jun 2010 14:06:06 +0000 (14:06 +0000)]
drh [Tue, 15 Jun 2010 12:09:06 +0000 (12:09 +0000)]
Minor tweaks to the interface documentation - adding hyperlinks.
FossilOrigin-Name:
07b2fdd1cebbdbde5098a662eea65a0c9e8b5442
drh [Tue, 15 Jun 2010 11:21:54 +0000 (11:21 +0000)]
Updates to comments and testcase() macros in wal.c.
FossilOrigin-Name:
4d90cc0bc07e791b2838fc384866bd5c2282f681
dan [Tue, 15 Jun 2010 06:56:37 +0000 (06:56 +0000)]
Changes to the way tcl test scripts work. No changes to production code.
FossilOrigin-Name:
2c5e48a4855e2ec4572697c8fcfe4433e302ef33
drh [Mon, 14 Jun 2010 18:06:20 +0000 (18:06 +0000)]
Fix an error in the walfault.test script introduced by the previous check-in.
FossilOrigin-Name:
a2b9374fc6f0aba2d465d432e1124bd957aab548
drh [Mon, 14 Jun 2010 18:01:46 +0000 (18:01 +0000)]
Move the xShmMap method to in between xShmLock and xShmBarrier, since it seems
to fit in there logically.
FossilOrigin-Name:
58dfd83d8b7905391e2a06bb918ffa209c6de6b5
drh [Mon, 14 Jun 2010 17:09:53 +0000 (17:09 +0000)]
Merge the experimental shared-memory mmap-by-chunk changes into the trunk.
FossilOrigin-Name:
f295e7ed5f04f6b8bffdaff8b565be3836ce4e80
dan [Mon, 14 Jun 2010 16:16:33 +0000 (16:16 +0000)]
Add the new xShmMap (formerly xShmPage) to os_win.c.
FossilOrigin-Name:
13e7a8242206bca4b5bf356ef074e66474d39609
dan [Mon, 14 Jun 2010 14:07:50 +0000 (14:07 +0000)]
Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name 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
dan [Mon, 14 Jun 2010 11:49:26 +0000 (11:49 +0000)]
Update some comments in wal.c. No code changes.
FossilOrigin-Name:
1ce9c92bffa5d7f8431c005b29d698b0f5b95875
dan [Mon, 14 Jun 2010 11:18:50 +0000 (11:18 +0000)]
Change the interface to internal function walGetHash() to make it easier to follow.
FossilOrigin-Name:
5e8e2e978ea48ce4ad93a936c838934f33d665df
dan [Mon, 14 Jun 2010 10:30:12 +0000 (10:30 +0000)]
Add the xShmPage method to the "crash" vfs in test6.c.
FossilOrigin-Name:
1008f536440840da7d56c01ec147a25295fd1fd4
dan [Mon, 14 Jun 2010 07:53:26 +0000 (07:53 +0000)]
Add some fault-injection tests to improve coverage.
FossilOrigin-Name:
37b26d125f4b1d8e75bb38800fefd145611f94aa
dan [Sat, 12 Jun 2010 12:02:35 +0000 (12:02 +0000)]
Fix some problems with handling IO errors on the experimental branch.
FossilOrigin-Name:
eade8bc238df580412f5cf1b91a91532ae671e46
dan [Fri, 11 Jun 2010 19:04:21 +0000 (19:04 +0000)]
Experimental change to the xShmXXX parts of the VFS interface.
FossilOrigin-Name:
ca68472db01c14a899892007d1cbaff5e86ae193
drh [Fri, 11 Jun 2010 17:01:24 +0000 (17:01 +0000)]
Refactor and simplify the logic used to change journalmode.
FossilOrigin-Name:
95cc3f6fdec5494560c3cd4439d06870d1c62506
drh [Thu, 10 Jun 2010 16:25:55 +0000 (16:25 +0000)]
Adding original art for the new SQLite logo.
FossilOrigin-Name:
af353bd89e5ec89f113d217225cc59cbc8373d64
drh [Thu, 10 Jun 2010 14:07:40 +0000 (14:07 +0000)]
Add the SQLITE_TESTCTRL_PGHDRSZ verb for sqlite3_test_control() used to get
the size of pcache headers for testing purposes.
FossilOrigin-Name:
5d694f04fecf47ca325e108d463c24f42def55d5
drh [Thu, 10 Jun 2010 10:51:27 +0000 (10:51 +0000)]
Update the test VFS in test_journal.c so that it implements the
xCurrentTimeInt64 method.
FossilOrigin-Name:
ec3b4a7e5d3d7bd737d356b8a09ce94f8f0f8ce0
dan [Thu, 10 Jun 2010 06:53:26 +0000 (06:53 +0000)]
Store the MemPage structure in memory following, instead of preceding, the 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
drh [Thu, 10 Jun 2010 01:07:42 +0000 (01:07 +0000)]
Remove a condition that must always be true. Replace it with an assert().
FossilOrigin-Name:
7abcd54ec09e8025193d1e0ea57775051d823801
dan [Wed, 9 Jun 2010 19:01:02 +0000 (19:01 +0000)]
Fix test script problems causing errors in the "inmemory_journal" permutations.
FossilOrigin-Name:
ea05b7f929e4696175dbc3ded36dba8ed2a6b575
dan [Wed, 9 Jun 2010 16:58:49 +0000 (16:58 +0000)]
When restarting (wrapping) a log file, set all unused aReadMark[] slots to 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
dan [Wed, 9 Jun 2010 15:47:11 +0000 (15:47 +0000)]
drh [Wed, 9 Jun 2010 14:45:12 +0000 (14:45 +0000)]
Shift the meaning of aReadMark[] back so that +1 offset from mxFrame is
removed. Add the new READMARK_NOT_USED value (0xffffffff) instead of
zero to signal an aReadMark[] that is not in use.
FossilOrigin-Name:
c576827d55c156572b76cf7063e9f253ca6e7403
dan [Wed, 9 Jun 2010 11:28:43 +0000 (11:28 +0000)]
Simpler fix for the race condition also fixed by [
7c102c7b5f ]
FossilOrigin-Name:
3c2de820034e01c2e939bd90a05a58159f60df50
dan [Tue, 8 Jun 2010 15:50:53 +0000 (15:50 +0000)]
Close database opened by tester.tcl when it is sourced in all.test. Because test scripts are now run in slave interpreters, this connection was not being closed by the first script run as it was previously.
FossilOrigin-Name:
b072e9f69ad5ec68b8ec4c716556070001f885e0
dan [Tue, 8 Jun 2010 15:16:10 +0000 (15:16 +0000)]
Changes to wal3.test to support small default cache size settings. And builds that create autovacuum databases by default.
FossilOrigin-Name:
ac4cc2574bafce30390a34f13228380d017791cb
dan [Mon, 7 Jun 2010 19:26:54 +0000 (19:26 +0000)]
In os_unix.c, call munmap() to unmap a shared-memory region prior to closing the associated file descriptor.
FossilOrigin-Name:
95cc976f1520bdaedd8f93b0e9fbef94e4e2c8cc
dan [Mon, 7 Jun 2010 17:47:26 +0000 (17:47 +0000)]
Change all.test, quick.test and permutations.test so that they use a separate interpreter for each test file.
FossilOrigin-Name:
7c33eb5a5add8fe76dd412ecab5b6ff8cd78a98d
dan [Mon, 7 Jun 2010 14:28:16 +0000 (14:28 +0000)]
Refactor some of the global variables and commands used by tester.tcl.
FossilOrigin-Name:
c2edf8e17f874d0ca4e94b75575bf6e14eea1f05
dan [Mon, 7 Jun 2010 06:11:39 +0000 (06:11 +0000)]
Add a couple of extra coverage tests for wal.c.
FossilOrigin-Name:
cfe60254df50f086014b115f1a2d9e31c85d67fd
dan [Sat, 5 Jun 2010 19:18:59 +0000 (19:18 +0000)]
Add further test cases for the logic in sqlite3WalBeginReadTransaction().
FossilOrigin-Name:
a49713db39d0d6940b368206d4e669aa69aa1fe5
dan [Sat, 5 Jun 2010 18:34:26 +0000 (18:34 +0000)]
Clarify the purpose of a test for a race-condition in walIndexReadHdr().
FossilOrigin-Name:
c041c6a9786bc9ebb82527f7a2c96d255aec927f
dan [Sat, 5 Jun 2010 18:12:23 +0000 (18:12 +0000)]
Remove a condition from sqlite3WalRead() that is unreachable as of the changes to clear entries out of the wal-index hash tables on transaction or savepoint rollback.
FossilOrigin-Name:
394204735a842b04b677cca20485b1578e475d4c
dan [Sat, 5 Jun 2010 14:42:57 +0000 (14:42 +0000)]
Mark a condition in wal.c as ALWAYS().
FossilOrigin-Name:
3fe0cc784ac586358c08f87fba458dfbb5eec6f2
dan [Sat, 5 Jun 2010 11:53:34 +0000 (11:53 +0000)]
Add extra coverage test cases for wal.c. No changes to production code.
FossilOrigin-Name:
f9d4ae0e8cc5d32c52eb78799f7959dd236ea9de
dan [Fri, 4 Jun 2010 18:37:59 +0000 (18:37 +0000)]
Clarify an assert in sqlite3WalExclusiveMode().
FossilOrigin-Name:
255850699ddbf4aad8cc3223aefbada35daa0703
dan [Fri, 4 Jun 2010 17:16:52 +0000 (17:16 +0000)]
Remove an unnecessary branch from wal.c.
FossilOrigin-Name:
8e54786c9a0c5c399f228f56c73271f84d75694b
dan [Fri, 4 Jun 2010 15:59:58 +0000 (15:59 +0000)]
Add an English language error message to corresponding to SQLITE_PROTOCOL. "locking protocol".
FossilOrigin-Name:
ca327e32cfe1633f2c9d3f058e411f108aaa2b3c
dan [Fri, 4 Jun 2010 12:22:35 +0000 (12:22 +0000)]
Add test for the code that detects an inconsistent pair of wal-index headers to wal2.test.
FossilOrigin-Name:
157feba10f7ac01eecf79715c44bb16c98958280
dan [Fri, 4 Jun 2010 11:56:22 +0000 (11:56 +0000)]
If an attempt to sync the database file as part of a checkpoint fails, do 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
dan [Fri, 4 Jun 2010 10:37:05 +0000 (10:37 +0000)]
Fix a problem where an SQLITE_BUSY in the checkpoint code was being treated as an IO error (abandoning, instead of just limiting, the checkpoint).
FossilOrigin-Name:
02c4040ce2b4c970b3dee09f7c9ad5a2a3a9aa49
dan [Thu, 3 Jun 2010 19:10:08 +0000 (19:10 +0000)]
Fix another problem in test_vfs.c.
FossilOrigin-Name:
df7d59899ceb2743764b0433cb68f4bc33f16344
dan [Thu, 3 Jun 2010 18:20:19 +0000 (18:20 +0000)]
Have test_vfs.c simulate IO errors in xShmLock.
FossilOrigin-Name:
fcbf7cf189506e43fc2f0820aedffb195038d3a9
drh [Thu, 3 Jun 2010 18:02:48 +0000 (18:02 +0000)]
Performance fix for winShmClose().
FossilOrigin-Name:
ed7774de04978803e979580240148eba1de9166d
dan [Thu, 3 Jun 2010 16:58:46 +0000 (16:58 +0000)]
Add extra tests for removing elements from wal-index hash tables as part of a rollback.
FossilOrigin-Name:
af3e598ad9315a4642dd8fa098dfdbd727770aed
dan [Thu, 3 Jun 2010 12:35:28 +0000 (12:35 +0000)]
Delay opening the sub-journal until SQLite actually needs to write data to it.
FossilOrigin-Name:
c43deb33ae5f191ea2e054181759beeeb9ea71bf
drh [Thu, 3 Jun 2010 12:09:52 +0000 (12:09 +0000)]
Remove global variables when compiled with SQLITE_OMIT_WSD
FossilOrigin-Name:
dd10a547f10364058025c48b28d8fd240bf46aff