]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Mon, 28 Jun 2010 11:23:09 +0000 (11:23 +0000)]
Fix some errors when compiling with SQLITE_OMIT_WAL.
FossilOrigin-Name:
3b68cb9c656db8c5c481199919a98f5764f7ebfa
dan [Mon, 28 Jun 2010 11:06:53 +0000 (11:06 +0000)]
Remove debugging code from test script.
FossilOrigin-Name:
a85ae33246226801f88c1e377725c192711797cc
dan [Mon, 28 Jun 2010 10:15:19 +0000 (10:15 +0000)]
Currently, if SQLite cannot find a table or index referred to by a query, it 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
drh [Sat, 26 Jun 2010 22:16:02 +0000 (22:16 +0000)]
Make walIndexTryHdr() a private function. Fix an issue with SQLITE_MUTEX_NOOP.
FossilOrigin-Name:
ec65bbd06bdd3bf16a742c5bb1fab0dce756c01a
drh [Sat, 26 Jun 2010 21:34:06 +0000 (21:34 +0000)]
Suppress various compiler warnings.
FossilOrigin-Name:
e82d008eaffb5522080cad6c69c1b194b78eadbd
drh [Sat, 26 Jun 2010 20:25:30 +0000 (20:25 +0000)]
Fix two asserts on the scratch allocator to allow for up to two outstanding
scratch allocations per thread.
FossilOrigin-Name:
f149b498b6ada3fc9f71ee104c351554c80c7f8a
drh [Sat, 26 Jun 2010 20:00:54 +0000 (20:00 +0000)]
Suppress a couple uninitialized variable warnings.
FossilOrigin-Name:
29571e228cc85f7768c3ad57d0c7af96b5a54983
dan [Sat, 26 Jun 2010 19:03:30 +0000 (19:03 +0000)]
drh [Sat, 26 Jun 2010 19:02:33 +0000 (19:02 +0000)]
Remove a NEVER() in pager that can in fact be reached in obscure failure
cases.
FossilOrigin-Name:
42b8bd1c70d8dbbc4a59e2fdee8654c4fe84f979
dan [Sat, 26 Jun 2010 17:15:07 +0000 (17:15 +0000)]
Fix a case where the doNotSyncSpill flag may remain permanently set following aIO error.
FossilOrigin-Name:
56c7d111bf7013be95a4c2a657a4861eee91db91
dan [Sat, 26 Jun 2010 15:42:33 +0000 (15:42 +0000)]
When synchronous=NORMAL, use the same journal file format as with synchronous=FULL (i.e. multiple journal headers within the one journal). Fix for [
d11f09d36e ].
FossilOrigin-Name:
2eaf5ee0d9338de8a77fb3e06ad2f2b0daa6fcbe
dan [Fri, 25 Jun 2010 19:09:48 +0000 (19:09 +0000)]
Further test cases for pager1.test and pagerfault.test.
FossilOrigin-Name:
bfd563c4714d86805fa09ce9f4f807e5d502a99b
dan [Fri, 25 Jun 2010 16:34:32 +0000 (16:34 +0000)]
Reduce the average (but not maximum) size of the allocations made as part of a checkpoint.
FossilOrigin-Name:
4a7fd91b7ab2c5d21fbac7f6f123820c8f4ec7f6
dan [Fri, 25 Jun 2010 15:16:25 +0000 (15:16 +0000)]
Reduce the size of the large allocation (approx 8KB for every 4000 frames in the log) that occurs during checkpoint. Use the 'scratch' memory for this allocation instead of the general purpose allocation.
FossilOrigin-Name:
29887487ed549f97c3c9b37f852bae179b6ea9a9
drh [Fri, 25 Jun 2010 14:17:58 +0000 (14:17 +0000)]
Fix up a branch in sqlite3ValueFromExpr() so that we can achieve full
branch test coverage regardless of whether or not SQLITE_ENABLE_STAT2 is
used.
FossilOrigin-Name:
af471ed79f539ff495f6d4cb3b69188c8af7ae3d
drh [Fri, 25 Jun 2010 12:52:47 +0000 (12:52 +0000)]
Change the name of the shared-memory file on windows from *-wal-index to
*-shm, for consistency with unix.
FossilOrigin-Name:
5995cb15080cfb707ddda501f975673f658106f7
dan [Fri, 25 Jun 2010 11:35:52 +0000 (11:35 +0000)]
Modify the merge-sort in wal.c so that it does not use recursion.
FossilOrigin-Name:
daea6c054cee3564d8460d876b78a325ebc382dd
dan [Thu, 24 Jun 2010 19:16:06 +0000 (19:16 +0000)]
Add test cases to pager1.test and pagerfault.test.
FossilOrigin-Name:
4941e437d2638f36ac8510d4a5b4c780afc798bb
drh [Thu, 24 Jun 2010 18:36:33 +0000 (18:36 +0000)]
Revert to allowing a cache spill during writes of multiple pages within a
single sector as long as the spill does not require a journal sync and a
new journal header.
FossilOrigin-Name:
7d83fbae9802a56b2121d0775de54fccd743d971
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