]>
git.ipfire.org Git - thirdparty/sqlite.git/log
shaneh [Fri, 1 Apr 2011 14:22:46 +0000 (14:22 +0000)]
Removed dependency on sqliteInt.h so that multiplex VFS shim can be compiled as loadable module.
FossilOrigin-Name:
718f1ad7df9115871ba6159012d3183183fc40a1
shaneh [Thu, 31 Mar 2011 15:11:53 +0000 (15:11 +0000)]
Enable/disable support.
FossilOrigin-Name:
b3c6d9aa9e2124a2f2a1a5f9dbbd7db3b1d01a31
shaneh [Thu, 31 Mar 2011 13:14:12 +0000 (13:14 +0000)]
Tests and bug fixes for SELECT multiplex_control(op, val);
Add tests and fixes for SELECT multiplex_control(op, val);
FossilOrigin-Name:
fee9734c193a8bec9599e02e16938179e642bf5e
shaneh [Thu, 31 Mar 2011 05:31:24 +0000 (05:31 +0000)]
Additional test cases; Round chunk size up to a multiple of max page size;
FossilOrigin-Name:
36e364a3fe7d3a9a521189ff0262611a492c21dc
shaneh [Wed, 30 Mar 2011 21:03:07 +0000 (21:03 +0000)]
Updates to multiplex.test script; misc. bug fixes;
FossilOrigin-Name:
c41ff2358e8af0fe2186ab4173b81fba204a57ab
shaneh [Tue, 29 Mar 2011 05:06:46 +0000 (05:06 +0000)]
In-progress changes - do not use; Removed prefix support; Added file control interface to enable/disable and adjust chunk size;
added app-def function for same;
FossilOrigin-Name:
bc02d0c193225bd49a8d8a3295aeac752d3c2e30
shaneh [Tue, 15 Mar 2011 04:45:48 +0000 (04:45 +0000)]
Allow multiplex file names to be preceeded by prefix of the form ":multiplex:chunksize:maxchunks:"
Still work to be done, though it compiles and prefixes are ignored.
FossilOrigin-Name:
cfa4a2f7ea948be0925227efca82baea509249c9
shaneh [Tue, 15 Mar 2011 02:55:28 +0000 (02:55 +0000)]
Fix cut-and-paste typo in debugging print statement in winMutexTry().
FossilOrigin-Name:
def98fd23e42bda13547e38ab13fed0e6554ce99
drh [Mon, 14 Mar 2011 13:54:01 +0000 (13:54 +0000)]
Merge the unix-excl VFS into the trunk. This merge also adds the -vfs
option to the command-line shell.
FossilOrigin-Name:
3934b004e93852c89b937ec20431de96a2e99440
drh [Sat, 12 Mar 2011 18:10:44 +0000 (18:10 +0000)]
In the "unix-excl" VFS, use the heap for shared memory, since only a single
process is able to read or write the database.
FossilOrigin-Name:
a05a6d40875df674f9c2b46e33128c6878d4edaa
drh [Sat, 12 Mar 2011 17:02:57 +0000 (17:02 +0000)]
Add the new optional "unix-excl" VFS. This VFS grabs an exclusive lock on
the database preventing other processes from accessing it, but continues to
allow other database connections from the same process.
FossilOrigin-Name:
00051c3296e11211b2bb5ae28f016b17dca857d7
shaneh [Sat, 12 Mar 2011 04:58:55 +0000 (04:58 +0000)]
More tests for SQLITE_OMIT_UNIQUE_ENFORCEMENT and minor change to implementation.
FossilOrigin-Name:
b86999436ec2414c990ba720441fe316f647eef6
drh [Fri, 11 Mar 2011 16:15:48 +0000 (16:15 +0000)]
Remove an unused field from the unix sqlite3_file object.
FossilOrigin-Name:
f957f23a8a392bb1720720960bda2c7b24de9663
shaneh [Thu, 10 Mar 2011 21:48:02 +0000 (21:48 +0000)]
Simplification of tests and more added for SQLITE_OMIT_UNIQUE_ENFORCEMENT tests.
FossilOrigin-Name:
75a38411a89bd2969ec5cecca13c13a390b3d478
shaneh [Thu, 10 Mar 2011 21:13:18 +0000 (21:13 +0000)]
Skip unique constraint enforcement if compiled with SQLITE_OMIT_UNIQUE_ENFORCEMENT.
FossilOrigin-Name:
ba85bf8cb88f7ae220d919f5c23f51d9dcedc843
shaneh [Thu, 10 Mar 2011 03:54:55 +0000 (03:54 +0000)]
Minor clean-up of previous mem5 allocator fix.
FossilOrigin-Name:
3643842316239ff7859f0ec522736a2b9c03d22c
shaneh [Wed, 9 Mar 2011 21:36:17 +0000 (21:36 +0000)]
Fix issue with mem5 allocator when min request size is larger thatn 2^30.
FossilOrigin-Name:
d7dae06fb2d57ed6b9555b774712f42077ae4155
drh [Wed, 9 Mar 2011 21:02:31 +0000 (21:02 +0000)]
Omit unnecessary OP_Next and OP_Prev operators when uniqueness constraints
guarantee that the code will only make one pass through the loop.
FossilOrigin-Name:
f000c9b2b7348238fe2085140d2dd05294a19709
drh [Wed, 9 Mar 2011 11:04:07 +0000 (11:04 +0000)]
Updates to the OS/2 implementation from Rich Walsh.
FossilOrigin-Name:
dc46156a2237701679433779b871844f4f2abe4b
drh [Tue, 8 Mar 2011 16:39:29 +0000 (16:39 +0000)]
Merge the syscall-override changes into trunk.
FossilOrigin-Name:
36d79e6f54cdc4129c6e6366a49722e2cf1cccbd
drh [Tue, 8 Mar 2011 14:05:07 +0000 (14:05 +0000)]
Unix errno integer can vary from one system to the next. So do not
depend on specific errno values in test cases.
FossilOrigin-Name:
ddb747d33a004c7fe532a661e879ccba68c79c59
drh [Tue, 8 Mar 2011 13:06:41 +0000 (13:06 +0000)]
Fix two compiler warnings. No functional code changes.
FossilOrigin-Name:
c829868aa2254c5e2268cdb803462cc6ec5cb71e
drh [Tue, 8 Mar 2011 02:38:28 +0000 (02:38 +0000)]
Fix additional cases of possible signed integer overflow, especially with
regard to negation.
FossilOrigin-Name:
2d5800bd8cfc7d7f5578a71b1aeaa74b2ec4b372
drh [Sun, 6 Mar 2011 21:54:33 +0000 (21:54 +0000)]
Another minor simplification brought to light by clang.
FossilOrigin-Name:
3bfbf026dd6a0eeef07f8f5f1ebf74c9cfebcd61
drh [Sun, 6 Mar 2011 21:28:32 +0000 (21:28 +0000)]
Remove dead code identified by the clang static analyzer.
FossilOrigin-Name:
01a79d5a7af48fb7e50291c0c7c6283d3fb359d0
drh [Sat, 5 Mar 2011 21:41:34 +0000 (21:41 +0000)]
Simplifications to the overflow-free multiplier. Also remove some commented-out
code that was left in that subroutine by mistake on the previous check-in.
FossilOrigin-Name:
55fc25fdab61e6094289e068c343e012fec10439
drh [Sat, 5 Mar 2011 20:59:46 +0000 (20:59 +0000)]
Fix all known instances of signed-integer overflow. Within SQL expressions,
integer overflow now forces coercion to floating point. The shift operators
work with any integer right-hand operand with negative values reversing
the direction of the shift.
FossilOrigin-Name:
abf21394124a0af46f072793718964cee2ce55d0
drh [Sat, 5 Mar 2011 13:54:15 +0000 (13:54 +0000)]
Fix an instance of signed arithmetic overflow and an one bit-shift overflow.
Mark six other signed arithmetic overflow locations that need fixing.
FossilOrigin-Name:
04abab71ecd52f6070b9f84781a3df3d6dba7722
drh [Fri, 4 Mar 2011 15:43:57 +0000 (15:43 +0000)]
Handle EINTR errors from open().
FossilOrigin-Name:
a7d176b27cd73791d45eb3a31df78187ae10ce20
drh [Fri, 4 Mar 2011 00:56:58 +0000 (00:56 +0000)]
Do a better job of choosing the join table order when the tables having
very different numbers of rows.
FossilOrigin-Name:
952f5e8c69904c48f2decfabf8ea60a2e9f3e134
drh [Wed, 2 Mar 2011 22:07:29 +0000 (22:07 +0000)]
Fix quoting of the result in rtreeB.test.
FossilOrigin-Name:
c6532b35cc5a81cc753a22e0165bfdd5143941f1
drh [Wed, 2 Mar 2011 19:06:42 +0000 (19:06 +0000)]
Add additional VFS methods to retrieve system call pointers and to get a
list of all changeable system calls.
FossilOrigin-Name:
38558363494e3a736dcb091dd859e76b7ccd78b0
drh [Wed, 2 Mar 2011 18:01:10 +0000 (18:01 +0000)]
Add more system calls to the set that can be overridden in os_unix.c.
Also merge in recent fixes from trunk.
FossilOrigin-Name:
80fac2a6e07221bb67613af84ab9dda3e18b5ceb
drh [Wed, 2 Mar 2011 17:54:32 +0000 (17:54 +0000)]
Fix bugs in [
7b6e30e6a7 ] that only show up on Mac.
FossilOrigin-Name:
ec55e8c6bb4f2419b3813aa2fd1a20d8f5016159
drh [Wed, 2 Mar 2011 15:44:35 +0000 (15:44 +0000)]
Make sure the rtreenode() testing and analysis routine in the RTREE extension
can handle 64-bit rowids. This fix is in response to a message on the
mailing list.
FossilOrigin-Name:
24602557fc3295fe2836d269175f12ec680ac011
drh [Wed, 2 Mar 2011 15:09:07 +0000 (15:09 +0000)]
Proof-of-concept prototype for the proposed xSetSystemCall extension method
on the VFS.
FossilOrigin-Name:
92b5a76abc53290e1bb87b6b55bc64bb1b331dfc
drh [Wed, 2 Mar 2011 02:08:13 +0000 (02:08 +0000)]
Log all error from close() in os_unix.c to sqlite3_log() but do not attempt to
report errors back up to the application. Update the unix error logging to
put the most important information earlier in the message.
FossilOrigin-Name:
7b6e30e6a712311d4ef275253b085b85e6e17116
drh [Fri, 25 Feb 2011 03:25:07 +0000 (03:25 +0000)]
Comment out some code in os_unix.c that only runs on MacOSX with
SQLITE_ENABLE_LOCKING_STYLE.
FossilOrigin-Name:
4e50b0362ab6604a4b6c9f4ad849ec1733d6ce1a
drh [Thu, 24 Feb 2011 21:10:00 +0000 (21:10 +0000)]
Fix a typo in a comment. No changes to code.
FossilOrigin-Name:
af4756184a255f5d8a5cd276bf9f2fc3b38d9169
drh [Wed, 23 Feb 2011 22:39:23 +0000 (22:39 +0000)]
Reserve a range of bits in the SQLITE_OPEN_xxxx bit vector for future
expansion.
FossilOrigin-Name:
9b9046546db5b060e37e7ba01c23bb7e9528d861
drh [Wed, 23 Feb 2011 14:00:12 +0000 (14:00 +0000)]
Fix a typo in the robust_flock() macro for systems without EINTR.
FossilOrigin-Name:
af9ba2a6d2c37915e799eec52bb827de46afd34d
drh [Wed, 23 Feb 2011 13:33:46 +0000 (13:33 +0000)]
Retry selected system calls on unix when they fail with EINTR.
FossilOrigin-Name:
b9d29ea385bafcf87c7dd07822ce9ec3d3892bd1
drh [Tue, 22 Feb 2011 03:34:56 +0000 (03:34 +0000)]
When a stale schema-cookie is seen, expire only the one statement that
encountered the bad cookie, not every statement on the database
connection. Ticket [
b72787b1a7cea1f ]
FossilOrigin-Name:
1bca0a7e198391202fd2bc1650c0a62028a9aaa5
dan [Mon, 21 Feb 2011 17:49:49 +0000 (17:49 +0000)]
Fix a problem with "EXPLAIN QUERY PLAN SELECT count(*) FROM tbl".
FossilOrigin-Name:
9f9f32882501ac9b6e60f81195a64bdbf6e4497b
dan [Mon, 21 Feb 2011 11:46:24 +0000 (11:46 +0000)]
Have os_unix.c call sqlite3_log() following errors in certain system calls.
FossilOrigin-Name:
01076528a43b61ae20ef6969b7d326de9b5313e4
drh [Sat, 19 Feb 2011 23:18:12 +0000 (23:18 +0000)]
An SQLITE_PROTOCOL error counts as a locking error for verification
purposes.
FossilOrigin-Name:
e87d499a4f8a456111c1f96ca6da31d0810fb7c8
drh [Sat, 19 Feb 2011 17:02:44 +0000 (17:02 +0000)]
Change a testcase() added by the previous checkin into an assert().
FossilOrigin-Name:
6f3dad32aa0e1e9ee374302c82bea9bd60d5854b
drh [Sat, 19 Feb 2011 16:51:45 +0000 (16:51 +0000)]
Add testcase macros to verify that all return values from
walTryBeginRead() are tested.
FossilOrigin-Name:
262b6fca0b7a251c02604c684a9f7e7a1434d630
drh [Sat, 19 Feb 2011 15:22:14 +0000 (15:22 +0000)]
Changes to make WAL more robust against SQLITE_PROTOCOL errors.
FossilOrigin-Name:
fd578a32f8e9f04957359e73f244a60f02afe08c
drh [Fri, 18 Feb 2011 17:23:23 +0000 (17:23 +0000)]
Fix the sqlite3ValueFromExpr() routine so that it returns SQLITE_NOMEM
on an OOM when trying to extract a NULL.
FossilOrigin-Name:
1061e94fa983a441b289753b873559163ab849e6
drh [Thu, 17 Feb 2011 15:58:20 +0000 (15:58 +0000)]
Remove a no-op code path from sqlite3ExprIsInteger(). Replace it with an
assert() that proves it always does nothing.
FossilOrigin-Name:
7af66d1bd53fd5973281646511e4e1d3b16601a3
drh [Thu, 17 Feb 2011 13:52:02 +0000 (13:52 +0000)]
Remove an assert() that was made redundant by the previous checkin.
FossilOrigin-Name:
21db719156deef9fb26aff27a01e324da255c825
drh [Thu, 17 Feb 2011 13:33:15 +0000 (13:33 +0000)]
Add an ALWAYS() around a always-true test in where.c.
FossilOrigin-Name:
8123283ee1a360586a1721a56b4db15718c25ee0
drh [Wed, 16 Feb 2011 23:32:24 +0000 (23:32 +0000)]
Fix harmless compiler warnings in the query planner.
FossilOrigin-Name:
31fc4ba66e76876b2e7b6b2b74c07f47571938ce
shaneh [Wed, 16 Feb 2011 01:23:50 +0000 (01:23 +0000)]
Add "do_not_use_codec" logic to some of the TCL based test cases that read/write directly to the DB.
FossilOrigin-Name:
edd27669f3d0ec8c878267fb5cae9b73fcdfd2b8
shaneh [Mon, 14 Feb 2011 03:49:40 +0000 (03:49 +0000)]
Skip some tests in capi3e.test when compiled with SQLITE_OMIT_UTF16.
FossilOrigin-Name:
b04304b9677b84c4bfca011bf7fa0488e7d56d08
drh [Fri, 11 Feb 2011 22:54:28 +0000 (22:54 +0000)]
Add a NEVER() around a test that is believed to always be false.
FossilOrigin-Name:
f7e2ea33d5b37e5b133d96e96a11d2842504355c
shaneh [Fri, 11 Feb 2011 20:52:20 +0000 (20:52 +0000)]
Skip flattening if subquery has LIMIT and outer query is DISTINCT. Fix for ticket
752e1646fc .
FossilOrigin-Name:
559739998833643f589fa76d8360080691f83c18
drh [Fri, 11 Feb 2011 06:59:02 +0000 (06:59 +0000)]
Fix a bug in the new WHERE-clause processing that tries to use an
index to resolve IS NOT NULL constraints when SQLITE_ENABLE_STAT2 is
defined. The bug could cause memory overruns and segfaults. The bug
was new to the code and has not appeared in an official release.
Found during structural testing.
FossilOrigin-Name:
a5c36b9f39ab9629b857ec9c550f3892c0d94fb4
drh [Fri, 11 Feb 2011 03:56:11 +0000 (03:56 +0000)]
Allow an index paired with a NOT NULL constraint to be used for sorting
under the condition that the index be treated as a non-unique index.
FossilOrigin-Name:
d78949fc93077e1aa7f05cf9f7e947727939cc96
drh [Fri, 11 Feb 2011 02:43:14 +0000 (02:43 +0000)]
Disable unused NULL tests when SQLITE_ENABLE_STAT2 is not in use.
FossilOrigin-Name:
5ecd11788269e78dc26639b2503a10b7e25b2483
shaneh [Thu, 10 Feb 2011 21:08:58 +0000 (21:08 +0000)]
Add .testctrl option to CLI.
FossilOrigin-Name:
f85afa0ecc7b31d32659ae53e70771cd42abda38
drh [Thu, 10 Feb 2011 18:56:09 +0000 (18:56 +0000)]
Split the documentation for sqlite3_wal_checkpoint_v2() and its constants
onto separate pages. No changes to code.
FossilOrigin-Name:
0ef8ffd12fce47c3c89e851e5116e2777ea9f435
drh [Thu, 10 Feb 2011 17:46:14 +0000 (17:46 +0000)]
Prevent a segfault when automatic indices try to use a column with an
unknown collating function. Ticket [
77aa3b1e6592582e38605d36 ]. This
check-in also removes some stray \r characters unrelated to the problem.
FossilOrigin-Name:
f01030a0df4f94f886ab209ee8766b095da28c1e
drh [Thu, 10 Feb 2011 00:08:47 +0000 (00:08 +0000)]
Refactor the cost function in the query planner. Give extra cost (thus
reduce likelihood of selection) to full table scans.
FossilOrigin-Name:
878da276ebf643b716ddd650d4d0ca3595fe5bf2
shaneh [Wed, 9 Feb 2011 19:55:20 +0000 (19:55 +0000)]
Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes to test modules.
FossilOrigin-Name:
7cc515edc9cade2bc6c74699b3e4153bf2b74ebb
dan [Wed, 9 Feb 2011 18:19:20 +0000 (18:19 +0000)]
Do not report corruption if the the db size header field is greater than the file size on disk unless the two change-counter header fields are identical. Fix for ticket [
89b8c9ac54 ].
FossilOrigin-Name:
00c4596f0b270120848ab8d06dcdec7813a9a315
shaneh [Wed, 9 Feb 2011 15:25:17 +0000 (15:25 +0000)]
Update Makefile.in for fts3_aux changes.
FossilOrigin-Name:
38b7cb33c55c1498618721b3a11a35559b755fb2
drh [Wed, 9 Feb 2011 03:04:27 +0000 (03:04 +0000)]
Use macros to define the relative costs of search and seek operations when
computing costs in the query planner. Current constants seems wrong and
need to be fixed, but doing so will alter test results. Need more
experimentation to determine accurate relative costs.
FossilOrigin-Name:
5f2ec44b22062ee9d31e20806fcec0101675aced
drh [Wed, 9 Feb 2011 03:03:16 +0000 (03:03 +0000)]
Simplifications to the sqlite3_wal_checkpoint_v2() logic.
FossilOrigin-Name:
652b8835c58fc9d474c9837fc966d8857bec4a91
drh [Mon, 7 Feb 2011 23:56:01 +0000 (23:56 +0000)]
Cleanup to the OP_Checkpoint opcode.
FossilOrigin-Name:
f611a5a879b7dec1ed1d8bf32413c8a6b81c3172
dan [Mon, 7 Feb 2011 16:24:39 +0000 (16:24 +0000)]
Fix some test cases in walfault.test. Extend one test case to restore code coverage. Add wal5.test to the "coverage-wal" permutation.
FossilOrigin-Name:
f83b07ace340c9dd3e0cbe3cd3c106db003b0bd4
dan [Mon, 7 Feb 2011 15:12:12 +0000 (15:12 +0000)]
Change blocking-checkpoint tests so that they run once using "PRAGMA wal_checkpoint" and once using calls to sqlite3_wal_checkpoint_v2(). Also fix edge cases surrounding the output variables set by wal_checkpoint_v2().
FossilOrigin-Name:
5a4b6652cf3780ffed6fe0fe669e8090b0b71e81
dan [Sat, 5 Feb 2011 15:47:12 +0000 (15:47 +0000)]
Ensure fts4aux can handle a table name in single or double quotes as a constructor argument.
FossilOrigin-Name:
929d62e496bb36a3ee0e19ec4609329d79aaeddc
dan [Sat, 5 Feb 2011 14:37:57 +0000 (14:37 +0000)]
Add test cases for fts4aux. Fix a bug affecting fts3 tables with multiple columns.
FossilOrigin-Name:
dc511e60a65232a7087e12ff40b63506cf37a634
dan [Fri, 4 Feb 2011 18:56:25 +0000 (18:56 +0000)]
Change fts4aux to (additionally) report on term frequency in individual columns of an fts table.
FossilOrigin-Name:
3996f92a9aca9ac2628be003eca83c8f954c71de
drh [Fri, 4 Feb 2011 14:28:34 +0000 (14:28 +0000)]
Significant changes have occurred since the 3.7.5 release so go ahead and
increase the version number to 3.7.6.
FossilOrigin-Name:
999c915a4a075a4d1736ae786cbe7d1587809fee
drh [Fri, 4 Feb 2011 06:36:44 +0000 (06:36 +0000)]
Merge the stat2 query planner enhancements into the trunk.
FossilOrigin-Name:
499edcbc8ab70fcf35431d4e672c68dbcb6c5aad
drh [Fri, 4 Feb 2011 05:47:51 +0000 (05:47 +0000)]
If a deferred foreign key constraint fails on a statement that is not part
of a larger transation, make sure that the statement fully ends so that
subsequent invocations of the same statement will not pass the constraint
because they think the transaction is not closed. This is a merge of
the deferred-fk-quirk branch together with a test case.
FossilOrigin-Name:
2f94d4623f9aae1b5bc7041bd85f4e3a7462c60e
drh [Fri, 4 Feb 2011 00:51:16 +0000 (00:51 +0000)]
Fix the ATTACH command so that the filename argument can be any expression
and so that if authorizer callback gets a NULL pointer for the filename
if the filename argument is anything other than a string literal.
Ticket [
9013e13dba5b58c7 ]
FossilOrigin-Name:
e64e1453a9c204d93de1af92dc0b3ca26762b024
dan [Thu, 3 Feb 2011 12:48:17 +0000 (12:48 +0000)]
Extra tests for fts4 compress/uncompress hooks. Fix some minor problems with the same.
FossilOrigin-Name:
80225abe79b0a7723b922ec129954438af95855a
dan [Thu, 3 Feb 2011 10:56:00 +0000 (10:56 +0000)]
Extra tests for the fts4aux module.
FossilOrigin-Name:
cfc475690d85ea7e3547424289d9837f46ab7ef4
drh [Thu, 3 Feb 2011 01:26:32 +0000 (01:26 +0000)]
Fix a superlock test case to conform to the new wal_checkpoint returns.
FossilOrigin-Name:
8bf2d51b6a50da84cf6b0d2bd78e633d6810160b
dan [Wed, 2 Feb 2011 19:17:39 +0000 (19:17 +0000)]
Fix minor problems with the output of "PRAGMA wal_checkpoint". In both code and tests.
FossilOrigin-Name:
aef61036b31963e4c3ff4e8acf8c1734dc9394af
dan [Wed, 2 Feb 2011 17:30:43 +0000 (17:30 +0000)]
Optimize handling of equality and range constraints on the "term" column of an fts4aux table.
FossilOrigin-Name:
386701ded2bcee5309ec9f285d94e6eb1eade193
drh [Wed, 2 Feb 2011 16:34:08 +0000 (16:34 +0000)]
Merge in the blocking-checkpoint enhancement, including the new
sqlite3_wal_checkpoint_v2() interface and the
PRAGMA wal_checkpoint(full) statement.
FossilOrigin-Name:
bac7342c368a7c4f5f2878e08d9581dcbf57dd58
dan [Wed, 2 Feb 2011 04:40:07 +0000 (04:40 +0000)]
Merge fts4aux branch.
FossilOrigin-Name:
c6d9f7d8c48e1ff405e1c1d98a166974fc829f58
dan [Wed, 2 Feb 2011 04:26:46 +0000 (04:26 +0000)]
Add missing file fts3_aux.c.
FossilOrigin-Name:
0147d9739f318a02721d3ae0e7be339a19231f60
dan [Tue, 1 Feb 2011 18:59:34 +0000 (18:59 +0000)]
Remove extra instances of the text "checked out." from sqlite.h.in. Also add new file fts3_aux.c to mksqlite3c.tcl.
FossilOrigin-Name:
9897da22c5b51611597350efbe8d5dcaf39d748b
dan [Tue, 1 Feb 2011 18:00:43 +0000 (18:00 +0000)]
Fix a problem causing builds with SQLITE_OMIT_WAL defined to fail.
FossilOrigin-Name:
b9b48dd8ddceec009b5a22a3699e1524542c004a
dan [Tue, 1 Feb 2011 17:55:48 +0000 (17:55 +0000)]
Fix a case in fts4 where a corrupt %_stat table could lead to a crash.
FossilOrigin-Name:
4ade96ce974244fc34bb97713d3cba10e3d33056
dan [Tue, 1 Feb 2011 16:34:32 +0000 (16:34 +0000)]
Add virtual table module "fts4aux", used to inspect the full-text index of an fts4 table directly. Also add the "compress" and "uncompress" fts4 options.
FossilOrigin-Name:
b010ddcc52889160af2183a33c5f483bb0ae91b9
drh [Fri, 28 Jan 2011 17:03:50 +0000 (17:03 +0000)]
SQLite version 3.7.5 release candidate 2
FossilOrigin-Name:
ed759d5a9edb3bba5f48f243df47be29e3fe8cd7
dan [Fri, 28 Jan 2011 16:45:42 +0000 (16:45 +0000)]
Add test script pagerfault3.test. No changes to code or existing tests.
FossilOrigin-Name:
682fe41efd3578e8c9abc7138b61f361c3adbe95
drh [Fri, 28 Jan 2011 15:46:14 +0000 (15:46 +0000)]
Change pager_truncate() to a different method for extending files while
also ensuring that writes are page-size and page-aligned.
FossilOrigin-Name:
874bc8844f6494cdbf700bd884dee67d40f11fc0
dan [Fri, 28 Jan 2011 15:07:55 +0000 (15:07 +0000)]
When extending a database file, do so by writing one or more page-size chunks of data to the file, instead of just a single byte to the end.
FossilOrigin-Name:
58577135a81d3f19667b1de6167d2e3f1b74cd53
drh [Fri, 28 Jan 2011 03:13:58 +0000 (03:13 +0000)]
Reactivate the analyze5.test script.
FossilOrigin-Name:
a2a9f6401c927f6259cda3ba35219cabef24e84d
drh [Fri, 28 Jan 2011 01:57:41 +0000 (01:57 +0000)]
Change the weighting of binary searches on tables to 1/10th the cost of a
search on an index. Change the assumed reduction in search space from a
indexed range constraint from 1/3rd to 1/4th. Do not let the estimated
number of rows drop below 1.
FossilOrigin-Name:
4847c6cb71423248b186ab7842b97c83e2f5fefd
drh [Thu, 27 Jan 2011 14:35:01 +0000 (14:35 +0000)]
SQLite version 3.7.5 release candidate 1
FossilOrigin-Name:
35ac78f55159705af140b949ee33852aedd62816
drh [Wed, 26 Jan 2011 19:46:22 +0000 (19:46 +0000)]
Update all built-in VFSes to return SQLITE_OK for the
SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the
xFileControl methods to return SQLITE_NOTFOUND for unrecognized
operation codes.
FossilOrigin-Name:
6f2c72a0f6579db3f40c079436ca40e3e52bd6d9