]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Fri, 6 Aug 2010 19:00:12 +0000 (19:00 +0000)]
Remove all vestiges of ctype.h from FTS3.
FossilOrigin-Name:
b8b465ed2c56b23b50334680a2a940885b1ac530
dan [Fri, 6 Aug 2010 13:50:07 +0000 (13:50 +0000)]
Do not run some tests in notify3.test with the inmemory_journal permutation. They do not pass as the tests assume that the database schema is not loaded until the first invocation of [db eval]. This is not true with the inmemory_journal permutation.
FossilOrigin-Name:
698fba826e40ce6414cf6c261441d68b174c1637
drh [Fri, 6 Aug 2010 02:10:00 +0000 (02:10 +0000)]
Change two automatic array variables into static constant arrays.
Update and reformat some comments for cleaner presentation.
FossilOrigin-Name:
a7a15547cccb4aeb719aba19641f31390c316d8c
drh [Thu, 5 Aug 2010 11:56:01 +0000 (11:56 +0000)]
Make the size of a Bitvec object 512 bytes on all platforms, instead of
having the size depend on the size of a pointer. This makes testing easier.
FossilOrigin-Name:
ca479f3de2927ccc05dc76d10e40c00b8e0c88d1
drh [Thu, 5 Aug 2010 03:21:39 +0000 (03:21 +0000)]
Do not read the database file size on a SAVEPOINT rollback any more since
after checkin [
65b8636ac6e5 ] the in-header-size field is always valid.
FossilOrigin-Name:
fbe70e1106bcc5086ceb9d8f39cc39baf3643092
drh [Thu, 5 Aug 2010 02:52:32 +0000 (02:52 +0000)]
Fix the query planner so that when it has a choice of full-scan tables to
move to the outer loop, it chooses the one that is likely to give the fewest
output rows.
FossilOrigin-Name:
309bbedf9648c750d7b8aedbc15d4fd68f846824
drh [Wed, 4 Aug 2010 21:17:16 +0000 (21:17 +0000)]
If the outer loop of a join must be a full table scan, make sure that an
incomplete ANALYZE does not trick the planner into use a table that might
be indexable in an inner loop. Ticket [
13f033c865f878 ]
FossilOrigin-Name:
e7a714b52c45af096af74049826d32c647abfe3f
dan [Wed, 4 Aug 2010 11:34:31 +0000 (11:34 +0000)]
When opening a write-transaction on a database file that has been appended to or truncated by a pre-3.7.0 client, update the database-size field in the database header. Fix for [
51ae9cad31 ].
FossilOrigin-Name:
65b8636ac6e5d3e4502d4f576ddf9350d5df3022
drh [Tue, 3 Aug 2010 18:06:25 +0000 (18:06 +0000)]
Fix disabled implementation-mark comments in func.c.
FossilOrigin-Name:
57c0960038b8ce97f9d6665f15e7f6ec310c681f
drh [Tue, 3 Aug 2010 13:08:54 +0000 (13:08 +0000)]
Fix the REPLACE conflict resolution so that it falls back to ABORT when
a CHECK constraint fails. Ticket [
c38baa3d969eab794 ].
FossilOrigin-Name:
4e157b774764b8bafc9fabb88decf54f178b5ff5
drh [Mon, 2 Aug 2010 10:59:13 +0000 (10:59 +0000)]
Modify wal2.test to disable tests requiring TCL 8.5 if the test harness is
compiled using TCL 8.4.
FossilOrigin-Name:
016486c7d544dcf9b7422cb0fb9804aa1c418f68
dan [Mon, 2 Aug 2010 10:47:05 +0000 (10:47 +0000)]
In shared-cache mode, do not allow one connection to checkpoint a database while a second connection is reading or writing the same shared-cache.
FossilOrigin-Name:
e75b52d156905ce16bedb94f65c01a4640bdfa75
drh [Sun, 1 Aug 2010 22:41:32 +0000 (22:41 +0000)]
Fix a typo in an error message of the TCL interface.
FossilOrigin-Name:
8eadd7b87bfe8786e0352ca14b29d1451998c02c
drh [Fri, 30 Jul 2010 18:40:55 +0000 (18:40 +0000)]
If a database becomes corrupted such that an index is out of sync with its
table, make sure the corruption is detected and reported back. Do not assume
that indices always contain rowids for valid table rows.
FossilOrigin-Name:
83395a3d24f18170fc068d9e644291678694c3f0
drh [Fri, 30 Jul 2010 16:54:25 +0000 (16:54 +0000)]
Fix typos in comments. No code or logic changes.
FossilOrigin-Name:
15c294ca051ed8b5078e7ac9a969b0f9358d9184
drh [Fri, 30 Jul 2010 16:44:29 +0000 (16:44 +0000)]
Remove a test from sqlite3PagerCommitPhaseOne which is now always true
after the multi-file transaction fix.
FossilOrigin-Name:
6758f6a8ec97941e09847b309812b3194eb57f19
dan [Fri, 30 Jul 2010 11:31:12 +0000 (11:31 +0000)]
Changes to the comments describing the Pager.setMaster variable in pager.c. Add an assert() statement to verify that two master journal pointers are not written to a single journal file.
FossilOrigin-Name:
ad78ccacb00e2f8a5ca93e2c9006266d9477fe48
drh [Fri, 30 Jul 2010 11:20:35 +0000 (11:20 +0000)]
Cherry-pick the multi-file transaction fix for ticket [
f3e5abed55 ] out of
the experimental branch.
FossilOrigin-Name:
40f7f0a583e6bba66cd006253a0ef4623ea74f17
dan [Fri, 30 Jul 2010 05:06:05 +0000 (05:06 +0000)]
Add tests to check that the ICU regexp() function can only be called with exactly two arguments.
FossilOrigin-Name:
451d965742cc219db709939b4ba1da2f2343dbce
drh [Fri, 30 Jul 2010 00:31:08 +0000 (00:31 +0000)]
Updates to the README.txt file for ICU.
FossilOrigin-Name:
d37443d33388b402e610a00c362a1e2e79548801
drh [Thu, 29 Jul 2010 10:13:25 +0000 (10:13 +0000)]
Unconditionally include the pTmpSpace size in the estimate of the pager
memory used.
FossilOrigin-Name:
4b97f8640e9167cd355a24836fe74e4224cf12b9
drh [Thu, 29 Jul 2010 10:07:21 +0000 (10:07 +0000)]
Change the profile timer units back to nanoseconds and update the
sqlite3_profile() documentation.
Ticket [
c43940c49b74c70a69 ]
FossilOrigin-Name:
7783b98a938b77d6b8e4e85b32b05452c47fbe4b
drh [Thu, 29 Jul 2010 01:50:38 +0000 (01:50 +0000)]
Correct handling of compound foreign key constraints that include the
integer primary key as one of the columns.
Ticket [
ce7c133ea6cc9ccdc1 ]
FossilOrigin-Name:
53902f7d4a46aa70ecc5bf180a01ff888d52686a
drh [Wed, 28 Jul 2010 19:17:51 +0000 (19:17 +0000)]
Get SQLITE_OMIT_VIRTUALTABLE working again after being broken by recent
changes.
FossilOrigin-Name:
33b1e862ffa7109480cf4a77ceae8aebe98d3eee
drh [Wed, 28 Jul 2010 18:51:26 +0000 (18:51 +0000)]
Fix the dbstatus.test script so that it works correctly on 64-bit machines.
FossilOrigin-Name:
a3401d9ee540828f3efd26d89f6b771e0ecb2777
drh [Wed, 28 Jul 2010 17:36:11 +0000 (17:36 +0000)]
Improve the accuracy of the Pager heap usage estimate.
FossilOrigin-Name:
ae89777e7f8bae2cdd3407395ea84c1b39577c4b
drh [Wed, 28 Jul 2010 17:16:41 +0000 (17:16 +0000)]
Adjust the shell test script "shell4.test" to account for changes in the
".stat on" display format from the previous checkin.
FossilOrigin-Name:
2f2fa7dd809ae2a67048643da8c01a4664848ba7
drh [Wed, 28 Jul 2010 17:01:24 +0000 (17:01 +0000)]
Record the pcache allocation size statistics even for pcache overflow
allocations. Adjust the wording on one of the stat output lines in
the shell.
FossilOrigin-Name:
f9adf66ad575abbb63736caef27bd3c619e516a6
shaneh [Wed, 28 Jul 2010 16:05:34 +0000 (16:05 +0000)]
Modify CLI to optionally display "stats".
FossilOrigin-Name:
419ce0ed89d10252492b2926817259899ee74e71
drh [Wed, 28 Jul 2010 15:52:09 +0000 (15:52 +0000)]
Lookaside memory is not used to store schemas. Change the
SQLITE_DBSATUS_SCHEMA_USED documentation to reflect this fact.
FossilOrigin-Name:
07abfd5268564c18afd1074c2069d65c64f4b8eb
drh [Wed, 28 Jul 2010 15:49:02 +0000 (15:49 +0000)]
Add documentation for the SQLITE_STATUS_MALLOC_COUNT parameter to
sqlite3_status().
FossilOrigin-Name:
dbfbdb60c00b5aeae29c85acec0ae910b82dbdba
drh [Wed, 28 Jul 2010 02:53:36 +0000 (02:53 +0000)]
Do not allow automatic indices for the RHS of IN expressions which are not
correlated subqueries. Ticket [
8011086c85c6c404014c9 ]
FossilOrigin-Name:
267492d3a7eff7b7b24ed6bd6d6ff55148fe37f3
drh [Tue, 27 Jul 2010 16:42:22 +0000 (16:42 +0000)]
Update the makefiles to prefer TCL version 8.5 instead of 8.4.
FossilOrigin-Name:
8118de2af33557f75b4f2f1b1194a21d46ccf7fe
drh [Mon, 26 Jul 2010 19:09:31 +0000 (19:09 +0000)]
Fix a bug in the SQLITE_STATUS_MALLOC_COUNT counter. Add an ALWAYS() around
a condition in the SQLITE_DBSTATUS_SCHEMA_USED logic that is always true.
FossilOrigin-Name:
6df081adbfa581c477bd2c96bb3f7f44be131a8f
drh [Mon, 26 Jul 2010 18:43:40 +0000 (18:43 +0000)]
Add the SQLITE_STATUS_MALLOC_COUNT option for sqlite3_status().
FossilOrigin-Name:
8f8e442b3af553753e25c304efa289b626e3a227
drh [Mon, 26 Jul 2010 16:40:03 +0000 (16:40 +0000)]
Increase the version number to 3.7.1 due to the API enhancement of the previous
check-in.
FossilOrigin-Name:
1d7571e4be6d96aec13cd8b3b7b10b8dc44d19a5
drh [Mon, 26 Jul 2010 16:24:35 +0000 (16:24 +0000)]
Add support for SQLITE_DBSTATUS_SCHEMA_USED and SQLITE_DBSTATUS_STMT_USED to
the trunk.
FossilOrigin-Name:
008368b2bd1513e2df21c2070548c6fc94abebb1
dan [Mon, 26 Jul 2010 15:57:01 +0000 (15:57 +0000)]
When calculating schema memory, use the actual allocated size of hash elements, not sizeof(HashElem). Also fix a bug in dbstatus.test
FossilOrigin-Name:
e327ef37faec52ce99591266160be2ce2d577cc3
dan [Mon, 26 Jul 2010 14:47:14 +0000 (14:47 +0000)]
Add virtual table test cases to dbstatus.test.
FossilOrigin-Name:
72b84d066a4eac90a77142c3ea66ef3d21a1104e
drh [Mon, 26 Jul 2010 14:20:06 +0000 (14:20 +0000)]
Further fixes to the P4_MEM size measurement logic.
FossilOrigin-Name:
934cda2987c331b57a195ed45e9a91794896672a
drh [Mon, 26 Jul 2010 13:57:59 +0000 (13:57 +0000)]
Fix an issue with P4_MEM and the schema size measurement logic. Also fix
a compiler warning.
FossilOrigin-Name:
8166f33885b86029bb8a0fbaf70606a0d2d5ec2e
drh [Mon, 26 Jul 2010 12:38:12 +0000 (12:38 +0000)]
Make sure sqlite3_free() is not called for P4_MPRINTF during a size
measurement.
FossilOrigin-Name:
56f11f8823cd06a69eebce6a9613e22b1810b59b
dan [Mon, 26 Jul 2010 12:36:29 +0000 (12:36 +0000)]
Remove an assert() that uses a variable removed earlier.
FossilOrigin-Name:
c04907e69820bd19f647c5f555327e0058db4e6d
dan [Mon, 26 Jul 2010 12:05:17 +0000 (12:05 +0000)]
Change the way SubProgram objects are deleted so that the code is the same for deletion and measurement.
FossilOrigin-Name:
00e55102a8309eb6df08ad4a8937ba02688bac62
drh [Mon, 26 Jul 2010 11:59:40 +0000 (11:59 +0000)]
Update comments to better documentation the new memory measurement functions.
FossilOrigin-Name:
620bad035755449c4e6a762f01ef2b1d9e521c7c
drh [Mon, 26 Jul 2010 11:07:20 +0000 (11:07 +0000)]
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree()
and all memory from sqlite3_malloc() is freed by sqlite3_free().
FossilOrigin-Name:
629e38a8c9e31111e351fe4625a5835576d23584
drh [Sat, 24 Jul 2010 16:34:37 +0000 (16:34 +0000)]
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and
all memory from sqlite3_malloc() is freed by sqlite3_free().
FossilOrigin-Name:
ac1f37a647e9ed1c00a901d26d9956a86c40117a
dan [Sat, 24 Jul 2010 11:28:28 +0000 (11:28 +0000)]
Experimental code to measure memory consumed by database schemas and prepared statements.
FossilOrigin-Name:
9aa30342f4de4eff630520ea8e07ad253d3f0877
drh [Fri, 23 Jul 2010 22:26:20 +0000 (22:26 +0000)]
Fix a typo in the OS/2 vfs code.
FossilOrigin-Name:
a6bb2108bfb562a7067ef6150e43382736c0c4f5
dan [Fri, 23 Jul 2010 17:37:13 +0000 (17:37 +0000)]
drh [Fri, 23 Jul 2010 17:32:23 +0000 (17:32 +0000)]
Strenghten an assert() in malloc.c that helps to ensure that allocated memory
is freed by the appropriate routine.
FossilOrigin-Name:
80db61acca034a8edff0fd23a65a0bbc9206a7b3
drh [Fri, 23 Jul 2010 17:06:32 +0000 (17:06 +0000)]
Remove additional traces (mostly in comments) of the Table.dbMem field.
FossilOrigin-Name:
5c58f44aeb224e106497368d9290d75a08807761
dan [Fri, 23 Jul 2010 15:55:31 +0000 (15:55 +0000)]
Add a test case to shared.test. No changes to production code.
FossilOrigin-Name:
bfb0dd3c2f7e1ffbdf236be4adc3e0d804ed5854
dan [Fri, 23 Jul 2010 15:41:47 +0000 (15:41 +0000)]
Remove the Table.dbMem variable, as it is no longer being used for its original purpose.
FossilOrigin-Name:
6eddc6e601cf8f585c6c2cf79f36fcbfe98a307e
dan [Fri, 23 Jul 2010 08:31:35 +0000 (08:31 +0000)]
Remove the unused Schema.db variable.
FossilOrigin-Name:
430be657be68687c998f2f5f8dcd112bf26106be
drh [Thu, 22 Jul 2010 22:40:03 +0000 (22:40 +0000)]
Add evidence marks to the where.c source file. Comment only - no code changes.
FossilOrigin-Name:
f3f9e8e5bb90cc36e0d63a7289a8acf534c5fa2a
dan [Thu, 22 Jul 2010 17:55:40 +0000 (17:55 +0000)]
Make the sqlite3_db_status() routine threadsafe.
FossilOrigin-Name:
241f7bd190329fa02ca428651072a4a206132eab
drh [Thu, 22 Jul 2010 17:49:52 +0000 (17:49 +0000)]
Enhance the LIKE/GLOB query optimization so that it works as long as there
is an index with the appropriate collating sequence and even if the default
collating sequence of the column is different.
Ticket [
4711020446da7d93d99 ].
FossilOrigin-Name:
9f932655f9eb9fdab16d7deed98b7cad414e0ca6
dan [Thu, 22 Jul 2010 15:44:06 +0000 (15:44 +0000)]
Add test/threadtest3.c, containing multi-thread tests implemented in C.
FossilOrigin-Name:
aad88cf54e9e55b757d2ece9e39d436e71dcaa9f
drh [Thu, 22 Jul 2010 12:33:57 +0000 (12:33 +0000)]
Try to optimize LIKE and GLOB operators when RHS contains no wildcard.
Ticket [
e090183531fc274747 ]
FossilOrigin-Name:
613a87d62fd1f8526d53136efae5adae91824bcf
drh [Thu, 22 Jul 2010 11:40:34 +0000 (11:40 +0000)]
Tweaks to the virtual table documentation contained in comments of sqlite3.h.
No changes to actual code.
FossilOrigin-Name:
f5866d4723460e80814b8599e0b84ff4a924da6f
drh [Wed, 21 Jul 2010 16:16:28 +0000 (16:16 +0000)]
Fix a comment typo. This check-in is 3.7.0 release candidate 2.
FossilOrigin-Name:
b36b105eab6fd3195f4bfba6cb5cda0f063b7460
shaneh [Tue, 20 Jul 2010 20:23:38 +0000 (20:23 +0000)]
Added fix for race conditions from os_unix.c; added saving of errno in two places.
FossilOrigin-Name:
13ed106c8c279422a6159e28c6887d13a88b7b8b
dan [Tue, 20 Jul 2010 18:59:00 +0000 (18:59 +0000)]
Fix a race condition in os_unix.c that may occur when one thread is opening a connection to a shared-memory block and another is either closing or locking the same shared-memory.
FossilOrigin-Name:
3b7330c19a5327322068e9460018fe0152b8ac87
drh [Mon, 19 Jul 2010 15:01:43 +0000 (15:01 +0000)]
Update the CLI test scripts for version 3.7.0.
FossilOrigin-Name:
92fe70dadde2eb551518d69ac2eaa6a0151d7dfe
dan [Mon, 19 Jul 2010 12:44:14 +0000 (12:44 +0000)]
Use exit(255) instead of abort() in the tcl [sqlite_abort] test command. This stops testfixture from creating dozens of core files each time tests are run.
FossilOrigin-Name:
aec9e13148671e612d4ba674e74c12116573434f
dan [Mon, 19 Jul 2010 12:05:33 +0000 (12:05 +0000)]
Changes to stat.test so that it works with file-format 4.
FossilOrigin-Name:
f87bb283615847764d24943695990564f02b939e
dan [Mon, 19 Jul 2010 11:16:36 +0000 (11:16 +0000)]
Re-introduce the prefix-search optimization of [
feef1b15d6 ], which was lost in a reorganization of FTS3 code.
FossilOrigin-Name:
d692434b4935e8e7858230af1c126b0be8203077
dan [Mon, 19 Jul 2010 05:27:17 +0000 (05:27 +0000)]
Enable previously failing tests in e_expr.test that pass following [
3e5975aa3b ].
FossilOrigin-Name:
3d59c54a39c4c3149bf01063a91c3db35ec84b31
drh [Mon, 19 Jul 2010 02:30:33 +0000 (02:30 +0000)]
Fix a parser bug that was causing the relative precedence of LIKE and <
operators to be incorrect.
FossilOrigin-Name:
3e5975aa3bb9df9e1f954bcce99384e0f13cb453
drh [Mon, 19 Jul 2010 01:52:07 +0000 (01:52 +0000)]
Improvements to the formatting of parse.out file from Lemon. Add the -r option
to Lemon to disable the state sorting, making debugging easier.
FossilOrigin-Name:
a2eaf8294f6d3fb39548987d632e934bb5d71cc9
drh [Sun, 18 Jul 2010 11:35:53 +0000 (11:35 +0000)]
Add the -p option to lemon to cause conflicts resolved by precedence rules
to appear in the parse.out file.
FossilOrigin-Name:
fb6a59b0a905ddea071948f9a527483a1b1b219f
dan [Sat, 17 Jul 2010 18:44:49 +0000 (18:44 +0000)]
Add new test file e_expr.test.
FossilOrigin-Name:
cbcf8abbb2cb3e603cc3da45075f6b076e5cad56
dan [Sat, 17 Jul 2010 09:27:31 +0000 (09:27 +0000)]
Do not run journal3.test with the inmemory_journal permutation.
FossilOrigin-Name:
e1d228e992fe8da1fc5aef95d9bc8be62c6b46c7
dan [Fri, 16 Jul 2010 11:10:25 +0000 (11:10 +0000)]
Fix a problem with wal4.test caused by changes in the previous checkin.
FossilOrigin-Name:
1218d3703ad23d01ce0d7cbcabdc9e0d864f8717
dan [Fri, 16 Jul 2010 10:39:54 +0000 (10:39 +0000)]
Fix a test script bug uncovered by [
a121cd80c5 ] that was causing shared_err.test to fail.
FossilOrigin-Name:
d7b63a4c9fdd2acdb5829224b6189e7f2f6bedb9
drh [Thu, 15 Jul 2010 18:38:39 +0000 (18:38 +0000)]
Previous check-in [
534aab837e ] accidently reverted some
changes from [
a121cd80c5 ]. This check-in restores those changes.
FossilOrigin-Name:
abff795f38e33d778c8dd494a601bc029237da9e
drh [Thu, 15 Jul 2010 18:32:40 +0000 (18:32 +0000)]
Optionally support shared-memory in /dev/shm or other tmpfs directory
using an unsupported compile-time option.
FossilOrigin-Name:
534aab837e5a34fd58963ab2b505bfbb9da2e8ee
dan [Thu, 15 Jul 2010 18:20:53 +0000 (18:20 +0000)]
Changes to wal.c so that SQLite can read even if the WAL file is opened read-only, provided the wal-index (shm file) is opened read/write.
FossilOrigin-Name:
932d19da73c9673cdd4cc01289b17761c23d23cb
dan [Thu, 15 Jul 2010 17:54:14 +0000 (17:54 +0000)]
Handle the case where xShmMap returns SQLITE_BUSY.
FossilOrigin-Name:
75f5354876c4300a8e53fe551dc837dd383d1e38
dan [Thu, 15 Jul 2010 14:59:37 +0000 (14:59 +0000)]
When creating a journal file on unix, attempt to create it with the same permissions as the associated database file.
FossilOrigin-Name:
a121cd80c5ac94e5977bc3164d2500e0ea132fed
dan [Thu, 15 Jul 2010 11:14:21 +0000 (11:14 +0000)]
Change a comment inside a block of code in parse.y from C++ to C style.
FossilOrigin-Name:
dea7d33b2d7d25280a31a2b9c1573f4292b81187
drh [Wed, 14 Jul 2010 20:51:34 +0000 (20:51 +0000)]
Fix a typo in a comment in os_unix.c.
FossilOrigin-Name:
e1e7312580a8b19825b0c52fa8af6c9382f99f22
drh [Wed, 14 Jul 2010 20:23:52 +0000 (20:23 +0000)]
The expression list on the RHS of an IN operator can no longer be empty
because an empty expression list is now optimized out by changes in
check-in [
c288ac644d0bf ]. Therefore add ALWAYS() macros around tests
for the expression list being non-empty.
FossilOrigin-Name:
fd130ae56c0e23f2d5b4a82f1a09e89ed7ae1e85
drh [Wed, 14 Jul 2010 19:31:07 +0000 (19:31 +0000)]
Additional test cases and evidence marks for the empty RHS bug on the IN
operator - ticket [
80e031a00f45dca877 ]
FossilOrigin-Name:
6851c517ac7f80538aa5f3a1994fa1921c0ec3f4
drh [Wed, 14 Jul 2010 18:24:06 +0000 (18:24 +0000)]
Make the result of an IN or NOT IN expression with an empty set on the
right-hand side always either false or true, respectively, even if the
left-hand side is NULL. Ticket [
80e031a00f45dc ]
FossilOrigin-Name:
c288ac644d0bfda2b9bc204dc86df8e74d4f6843
dan [Wed, 14 Jul 2010 18:10:02 +0000 (18:10 +0000)]
Fix an assert() failure in wal2.test caused by messing with the contents of shared memory.
FossilOrigin-Name:
9f452514d96ab8d424eadc55c283c53fe831476d
dan [Wed, 14 Jul 2010 16:37:17 +0000 (16:37 +0000)]
Test the libaries response to read-only or unreadable database, WAL and wal-index files. If a WAL file cannot be opened in read/write mode, return SQLITE_CANTOPEN to the caller.
FossilOrigin-Name:
45bb84c6283d803fc29077fdc2d06fa50ec06a59
dan [Wed, 14 Jul 2010 14:48:58 +0000 (14:48 +0000)]
On unix, try to create the *-wal and *-shm files with the same permissions as the associated database file.
FossilOrigin-Name:
e5d180eed245437b61bfb257ee01e2571c93afe7
dan [Wed, 14 Jul 2010 08:20:35 +0000 (08:20 +0000)]
Add tests to pagerfault.test.
FossilOrigin-Name:
b092f2a74bdc77c1f90ad3b4448cb68a891ecf63
dan [Wed, 14 Jul 2010 07:06:47 +0000 (07:06 +0000)]
Test that a corrupted WAL hash-table does not put the library into an infinite loop.
FossilOrigin-Name:
c73886ed7497c0daf798c3b02ca6f5a1c2addde3
dan [Wed, 14 Jul 2010 06:20:26 +0000 (06:20 +0000)]
Fix a typo in the IS_BIG_INT macro used by coverage test instrumentation.
FossilOrigin-Name:
5314ca3928dab1c76fa4ec5dbe110e3212c95e9f
drh [Wed, 14 Jul 2010 01:45:22 +0000 (01:45 +0000)]
Fix the unix driver to return an I/O error if unlink fails for any reason
other than the file not existing in the first place.
FossilOrigin-Name:
90d73c66bfa880cdeb688b3016c8b1c58bfcf35f
drh [Wed, 14 Jul 2010 00:22:36 +0000 (00:22 +0000)]
Remove the xShmOpen method from the VFS. Shared-memory is opened automatically
by a call to xShmMap. Rename the xShmClose method to xShmUnmap.
FossilOrigin-Name:
2b68e50268412599576c86ae70b830d0388cb35c
drh [Wed, 14 Jul 2010 00:14:30 +0000 (00:14 +0000)]
Change the name of the xShmClose VFS method to xShmUnmap, everywhere.
FossilOrigin-Name:
c2d27cf51d33e6f38bab37008d39074051f75274
drh [Tue, 13 Jul 2010 23:41:40 +0000 (23:41 +0000)]
Tweaks to the new shared-memory interface design - mostly comment changes.
FossilOrigin-Name:
6336de7aa96a6e1e68cc123e5d5f485d790d95a2
dan [Tue, 13 Jul 2010 18:45:10 +0000 (18:45 +0000)]
Fix a typo in a comment in sqlite.h.in.
FossilOrigin-Name:
4a6c4b6605ddce59e586ab17024de5269191a823
dan [Tue, 13 Jul 2010 18:44:03 +0000 (18:44 +0000)]
Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap.
FossilOrigin-Name:
f4780bde62c6c19146d2723c101540b8db898d38
drh [Tue, 13 Jul 2010 14:48:27 +0000 (14:48 +0000)]
Improved documentation for the SQLITE_ACCESS_* constants that are used
with the xAccess() method of the VFS.
FossilOrigin-Name:
3d4bb65f10ed0297f38e732ce57e5440cba8deef
dan [Tue, 13 Jul 2010 14:33:48 +0000 (14:33 +0000)]
Add proposed interface change to sqlite.h.in. This commit breaks the build.
FossilOrigin-Name:
52577bb5e723d8de4fc609286666b581f8d9c746