]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Wed, 4 Apr 2012 13:58:19 +0000 (13:58 +0000)]
Fix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES.
FossilOrigin-Name:
9e1e2fe2950bb96784413eae934314d95bce08e7
drh [Wed, 4 Apr 2012 13:43:13 +0000 (13:43 +0000)]
In the multiplexor extension, improve the error logging when a chunk fails
to open.
FossilOrigin-Name:
781453c686656a7bd4a274a3b3204ceb6ecae8df
dan [Tue, 3 Apr 2012 18:34:24 +0000 (18:34 +0000)]
Do not run attempt to run test file fts4merge3.test unless the build includes FTS.
FossilOrigin-Name:
0506bf86d31e821a905e3a8a03c4817e326f7f44
dan [Tue, 3 Apr 2012 18:33:43 +0000 (18:33 +0000)]
Modify capi3.test and capi3c.test so that they work with SQLITE_OMIT_AUTORESET builds.
FossilOrigin-Name:
1d5e744cc645150ccaa7256663146fc7b8540bd5
dan [Tue, 3 Apr 2012 17:43:28 +0000 (17:43 +0000)]
Modify the integrity-check code to reduce the size of the large allocation from 4 bytes to 1 bit for each page in the database file.
FossilOrigin-Name:
fa3a498dfe9ed59c30da5eaa0d7cad167fd4e393
drh [Tue, 3 Apr 2012 17:05:16 +0000 (17:05 +0000)]
Fix a typo in the rtree6.test script that prevented it from running.
FossilOrigin-Name:
221fe4a8ea5bea90031e459746ea71ff173e6f52
drh [Tue, 3 Apr 2012 17:01:36 +0000 (17:01 +0000)]
Rerun autoconf to update the configure script for version 3.7.12
FossilOrigin-Name:
6d73eb20e825f51143a1b59ad33f44e6448ef760
drh [Tue, 3 Apr 2012 15:10:34 +0000 (15:10 +0000)]
If the SELECT that finds all root pages in the showdb fails, then report
an error.
FossilOrigin-Name:
4b16141501655faa23e7d34ad05570ea929abb7c
drh [Tue, 3 Apr 2012 14:59:50 +0000 (14:59 +0000)]
Enhance the "showdb" utility program with the "pgidx" option. Now requires
linkage with the amalgamation.
FossilOrigin-Name:
4b5737014c6f1638de9dc162463508ea7dfe333d
drh [Mon, 2 Apr 2012 21:35:42 +0000 (21:35 +0000)]
The SQLITE_RTREE_INT_ONLY compile-time option causes the RTree extension
to use only integer math and store only integer coordinates.
FossilOrigin-Name:
02b7640f5118e0a635b68f65765191bb3171b7bd
drh [Mon, 2 Apr 2012 17:18:23 +0000 (17:18 +0000)]
Add #ifdefs to allow a test build to succeed even if SQLITE_ENABLE_FTS3 is
not defined.
FossilOrigin-Name:
fb121980e48af368353431fd04924e414b65c852
drh [Sat, 31 Mar 2012 19:12:23 +0000 (19:12 +0000)]
Fix a compiler warning by removing a redundant variable.
FossilOrigin-Name:
af602d87736b52802a4e760ffeeaa28112b99d9a
drh [Sat, 31 Mar 2012 17:50:12 +0000 (17:50 +0000)]
Test cases for RELEASE and ROLLBACK TO of a nested savepoint while queries
are pending.
FossilOrigin-Name:
d2bf0efa7da59448a62f5be795403be4e5b7fb7f
drh [Sat, 31 Mar 2012 17:17:26 +0000 (17:17 +0000)]
Do not abort pending queries on a RELEASE of a nested SAVEPOINT.
This is a candidate fix for ticket [
27ca74af3c083f787 ].
FossilOrigin-Name:
79a4a3a84f0b367d54da5e69e64ffca474264717
dan [Sat, 31 Mar 2012 15:08:56 +0000 (15:08 +0000)]
Modify selectColumnsFromExprList() to avoid ever incorrectly returning SQLITE_NOMEM.
FossilOrigin-Name:
e7cb6b73ac079d0751b3f9429d0f6a35ca8ec853
dan [Sat, 31 Mar 2012 11:58:23 +0000 (11:58 +0000)]
Change the ICU tokenizer so that it does not attempt to call strlen(NULL).
FossilOrigin-Name:
04298f1ac42c40cb2a48092b415acf96a08954b7
dan [Sat, 31 Mar 2012 09:59:44 +0000 (09:59 +0000)]
Fix a bug in the EXPLAIN code for listing trigger programs that was causing an out-of-bounds read.
FossilOrigin-Name:
c9342ca58105499a5eb61c3e6d016559b6072c95
drh [Sat, 31 Mar 2012 02:34:35 +0000 (02:34 +0000)]
Do more aggressive optimization of the AND operator where one side or the
other is always false.
FossilOrigin-Name:
f9a7e179cbbeeab5e57bbf392bef89750215546b
mistachkin [Fri, 30 Mar 2012 16:44:33 +0000 (16:44 +0000)]
Avoid using the OVERLAPPED struct on WinCE.
FossilOrigin-Name:
196ca3a8b007b9f792e969893d981f6c5aa2fccc
drh [Fri, 30 Mar 2012 15:57:45 +0000 (15:57 +0000)]
Simplify the winRead and winWrite VFS functions to reduce the number
of system calls.
FossilOrigin-Name:
b34491869c4fb31d2fdd14c94a7db2e1c0e572ba
drh [Fri, 30 Mar 2012 15:48:48 +0000 (15:48 +0000)]
When a named CHECK constraint fails, include the name of the constraint
in the error message.
FossilOrigin-Name:
1b75f301affac654bee24fa247046ea0782d3c4d
drh [Fri, 30 Mar 2012 14:59:43 +0000 (14:59 +0000)]
Fix MSVC compiler warnings in test code.
FossilOrigin-Name:
cb7a850439c9a4a7887650d6b81d95ab8025de5b
drh [Fri, 30 Mar 2012 13:34:17 +0000 (13:34 +0000)]
Fix an FTS4 test script problem for windows.
FossilOrigin-Name:
36aa6665e709b5942b3558afbd555058b42f2c78
drh [Fri, 30 Mar 2012 12:10:38 +0000 (12:10 +0000)]
Change the name of a local variable from "not" to "bNot" to lessen the
chances of it colliding with some prior #define in the appliation.
FossilOrigin-Name:
cbdd86387630600b309de4aaeaa131ec7b053ce2
drh [Fri, 30 Mar 2012 00:05:57 +0000 (00:05 +0000)]
In the ".output" command-line shell, if the first character of the output
filename is '|' then use popen() instead of fopen().
FossilOrigin-Name:
fa82062c659ffbe7ad01106d3ef54d7bb44f1f44
drh [Fri, 30 Mar 2012 00:00:36 +0000 (00:00 +0000)]
Fix compiler warnings on GCC and MSVC and fix a C89-ism that
broke the build for MSVC.
FossilOrigin-Name:
b451c0f97f0abe78ebe6c62ff489ec1ad8a1f767
dan [Thu, 29 Mar 2012 15:11:32 +0000 (15:11 +0000)]
Merge fts4-incr-merge with trunk.
FossilOrigin-Name:
4d6de3e9bef3487f2d89167939ab2c42872d05b3
dan [Thu, 29 Mar 2012 14:29:07 +0000 (14:29 +0000)]
Disable the LIKE optimization if the column on the left-hand-side of the LIKE operator belongs to a virtual table.
FossilOrigin-Name:
0bacb879e18026f2a8e22fe3e4bc8d27de5c4416
dan [Thu, 29 Mar 2012 07:51:45 +0000 (07:51 +0000)]
Fix an out of date comment on sqlite3ArrayAllocate().
FossilOrigin-Name:
4afdd5ae53ef0ff7c0fde74eaa04638c923c679b
drh [Wed, 28 Mar 2012 16:44:13 +0000 (16:44 +0000)]
Merge in the latest changes from trunk.
FossilOrigin-Name:
66c4aaadda433c9d479a25c27cdff84560088402
drh [Wed, 28 Mar 2012 16:22:03 +0000 (16:22 +0000)]
Avoid loading overflow pages just to satisfy typeof() or length() functions
if the correct result can be computed without the extra page fetches.
FossilOrigin-Name:
0733c98c329bc9942460746e9bbaf4b4c94c1520
drh [Wed, 28 Mar 2012 16:14:50 +0000 (16:14 +0000)]
Minor changes to the core of OP_Column for performance and to clarify the
critical path.
FossilOrigin-Name:
868394761e41b7483a5874426ee052dfb3a9e2be
dan [Wed, 28 Mar 2012 13:55:29 +0000 (13:55 +0000)]
Fix a problem in fts4merge3.test.
FossilOrigin-Name:
64fc8b30f8bc7ddc697b6042040e958787ff3118
drh [Wed, 28 Mar 2012 13:41:10 +0000 (13:41 +0000)]
Improvements to comments. Minor changes to code in the hot path of
OP_Column - with the hope of get a few cycles of performance improvement.
FossilOrigin-Name:
ca093103437f141caa3eb11539c6eb7b4dd65175
drh [Wed, 28 Mar 2012 02:51:51 +0000 (02:51 +0000)]
Test cases for length() of a large blob in an aggregate query.
FossilOrigin-Name:
d095fa4bfabd765c8e935ed227a334161097dd34
drh [Wed, 28 Mar 2012 02:43:20 +0000 (02:43 +0000)]
Fix the typeof() and length() optimization so that it works for aggregates
as well as scalar queries.
FossilOrigin-Name:
bc18215a8a660442db6ddeeda4a88df0acffe0f7
drh [Wed, 28 Mar 2012 01:34:47 +0000 (01:34 +0000)]
Evaluate typeof(X) and length(Y) where X is any column and Y is a blob column
without actually loading X and Y from disk.
FossilOrigin-Name:
b899dbeb60752843287e2c6ad3577e1d00f0d587
drh [Tue, 27 Mar 2012 18:00:05 +0000 (18:00 +0000)]
Add output of PRAGMAs auto_vacuum and encoding to the "schema" command of the
fts3view utility program.
FossilOrigin-Name:
e31076319363a46905836880765bae3bf204ed19
dan [Tue, 27 Mar 2012 15:10:50 +0000 (15:10 +0000)]
Really delete the fts3merge.test script (should have been deleted by the previous commit).
FossilOrigin-Name:
83838149d9dd7956c5f48f760c2f321180d2db5f
dan [Tue, 27 Mar 2012 15:00:06 +0000 (15:00 +0000)]
Remove the fts3merge.test script in favour of changing the fts4merge.test script so that it runs tests using both fts4 and fts3. Fix some problems with incr-merge and FTS3 tables.
FossilOrigin-Name:
5c447e226afca0d46b9ed994dea26a16a9ae168c
drh [Tue, 27 Mar 2012 14:54:44 +0000 (14:54 +0000)]
In the fts3view utility, label the blank segments used to mark the end of a
segment sequence for a level/idx as "null". Improve the alignment of root
segment names.
FossilOrigin-Name:
04aea0245e4183fef3664609f5a6353b65d71a85
drh [Tue, 27 Mar 2012 13:51:31 +0000 (13:51 +0000)]
Enhance the fts3view tool with the big-segment command and fix a bug in the
display of doclists.
FossilOrigin-Name:
e9436d8038e5a0d1ba992a77d1064d4a55595f57
dan [Tue, 27 Mar 2012 13:44:28 +0000 (13:44 +0000)]
Merge the fts4-incr-merge-exp branch with fts4-incr-merge.
FossilOrigin-Name:
eb00b95885023a8592693f0babbb0066207073b0
dan [Tue, 27 Mar 2012 11:48:02 +0000 (11:48 +0000)]
Allow multiple incremental merges to proceed concurrently. This is required to prevent a large crisis-merge from occuring while an even larger incremental-merge is underway.
FossilOrigin-Name:
7ed9d2f24a650b424b97dfc19b8042c4cf09c82c
drh [Tue, 27 Mar 2012 00:38:33 +0000 (00:38 +0000)]
Minor correct errors in the file format description for FTS3/4 contained in
the fts3.c header comment.
FossilOrigin-Name:
fb8aacdd8fbdc946cb271cc589f76b806387937d
drh [Tue, 27 Mar 2012 00:34:04 +0000 (00:34 +0000)]
Enhance fts3view to show decodes of segments and doclists.
FossilOrigin-Name:
6d09de231b68dd9520d99c65d133f26e90eb784f
drh [Mon, 26 Mar 2012 21:57:53 +0000 (21:57 +0000)]
Add the fts3view utility program.
FossilOrigin-Name:
f936c8ea16d21345fd1622272dc7e9850acb2493
drh [Mon, 26 Mar 2012 14:36:42 +0000 (14:36 +0000)]
Fix FTS3 so that it works even without SQLITE_DEBUG.
FossilOrigin-Name:
a18c103121529c2e3c6a8ada16a4c40d14080670
dan [Mon, 26 Mar 2012 10:57:31 +0000 (10:57 +0000)]
Modify the FTS integrity-check so that the checksums do not depend on the results of signed integer overflow, which is undefined in C.
FossilOrigin-Name:
f907fc3fb387e74bb66babcbf050748cb253a6fa
dan [Mon, 26 Mar 2012 10:47:03 +0000 (10:47 +0000)]
Add a comment to explain how the FTS integrity-check works.
FossilOrigin-Name:
64e8a116f39434a3b7347f01a47f88eef3276742
dan [Mon, 26 Mar 2012 10:36:55 +0000 (10:36 +0000)]
Add an experimental integrity-check function to FTS.
FossilOrigin-Name:
40fc8804743dfb005991e9c5ef7b0ebcb3c2e731
drh [Sun, 25 Mar 2012 17:25:38 +0000 (17:25 +0000)]
Increase the version number to 3.7.12
FossilOrigin-Name:
d95f9fb713c7ba4e570556d835fbd77e574afdea
drh [Sat, 24 Mar 2012 20:09:33 +0000 (20:09 +0000)]
Add SQLITE_DBSTATUS_CACHE_WRITE to the command-line shell.
FossilOrigin-Name:
30b8dd326d28c0c08543989e376011ea41773a7e
drh [Sat, 24 Mar 2012 20:06:14 +0000 (20:06 +0000)]
Add SQLITE_DBSTATUS_CACHE_WRITE. Used to query a database connection for the cumulative number of database pages written.
FossilOrigin-Name:
05f98d4eec0f029b76fd471f8d9edf2807de6b55
dan [Sat, 24 Mar 2012 19:44:56 +0000 (19:44 +0000)]
Add SQLITE_DBSTATUS_CACHE_WRITE. Used to query a database connection for the cumulative number of database pages written.
FossilOrigin-Name:
3cb6a879f1220db03a66429d63330e27e8ca6e49
drh [Sat, 24 Mar 2012 17:29:05 +0000 (17:29 +0000)]
Enable fts3 tables to use incremental merge by automatically creating the
%_stat table when it is needed.
FossilOrigin-Name:
cc051fc0b2d89603b27b94cf2afdbda417ee9d94
dan [Sat, 24 Mar 2012 17:09:11 +0000 (17:09 +0000)]
Fix a failing assert() in the FTS3_LOG_MERGES related code.
FossilOrigin-Name:
4220d52cb3426f1680b72d57ecc9f4ade029357d
dan [Sat, 24 Mar 2012 16:43:55 +0000 (16:43 +0000)]
Add a comment to fts3SyncMethod() to justify the nMinMerge=64 constant.
FossilOrigin-Name:
af55ca5fc6778cb6d1a79a17dfa2d4e567ea1ccc
drh [Sat, 24 Mar 2012 16:18:08 +0000 (16:18 +0000)]
Fix a bug in debugging code enabled when FTS3_LOG_MERGES is defined.
FossilOrigin-Name:
2e06babf49de844d0e878d68114dbcc5ad4d6e54
dan [Sat, 24 Mar 2012 16:11:21 +0000 (16:11 +0000)]
Remove the Fts3Table.mxLevel variable.
FossilOrigin-Name:
67a0cffc9d07be7f09dad9d019a18160711295cd
dan [Sat, 24 Mar 2012 14:45:59 +0000 (14:45 +0000)]
Merge auto-incr-merge with incr-merge branch.
FossilOrigin-Name:
1c68687ab6d05b100191663820e7d82377d52445
dan [Sat, 24 Mar 2012 14:45:19 +0000 (14:45 +0000)]
Modify the way the number of leaves written and the maximum relative level are calculated in the auto-incr-merge code.
FossilOrigin-Name:
0d841c957c6ec4afecb49504177c6279e09d7012
drh [Sat, 24 Mar 2012 02:20:43 +0000 (02:20 +0000)]
An attempt at automatic incremental merging for FTS4.
FossilOrigin-Name:
ed69434cd89084f4b57bd2cc4f5cc558904af565
dan [Fri, 23 Mar 2012 18:26:11 +0000 (18:26 +0000)]
Fix a spurious SQLITE_CONSTRAINT error that may be returned by an incr-merge operation.
FossilOrigin-Name:
ed7c17ea165f6348506bd23ebc58c427bb65d697
dan [Fri, 23 Mar 2012 15:38:43 +0000 (15:38 +0000)]
Add a test to verify that sqlite3_total_changes() works with incr-merge operations.
FossilOrigin-Name:
1c72cecc6bf5be2a5c04ad6214a6bac22a29f860
dan [Fri, 23 Mar 2012 14:38:49 +0000 (14:38 +0000)]
Remove an incorrect assert() statement. Fix a const-related warning.
FossilOrigin-Name:
96ed47493b3d46344fd2105642f31690aee06674
drh [Fri, 23 Mar 2012 14:23:52 +0000 (14:23 +0000)]
When an incremental blob cursor is invalidated (occurs when an SQL statement modifies or deletes the row the blob cursor points to) release all page references held by the cursor. Otherwise, the presence of these references may cause other code in btree.c to incorrectly infer that the database is corrupt.
FossilOrigin-Name:
341b703ce16361a64ed8bba64ff46792132c0b56
dan [Fri, 23 Mar 2012 13:40:59 +0000 (13:40 +0000)]
Fix another test case issue in trace2.test.
FossilOrigin-Name:
02a8e4236cf2c1c74b3c6537be1b5f197175a32e
dan [Fri, 23 Mar 2012 11:09:59 +0000 (11:09 +0000)]
When an incremental blob cursor is invalidated (occurs when an SQL statement modifies or deletes the row the blob cursor points to) release all page references held by the cursor. Otherwise, the presence of these references may cause other code in btree.c to incorrectly infer that the database is corrupt.
FossilOrigin-Name:
82c3f2ba42f2c75ba6951cc2743148886a4dc0bc
dan [Fri, 23 Mar 2012 11:07:22 +0000 (11:07 +0000)]
Update a couple of existing test cases.
FossilOrigin-Name:
dcb8fa0f77a44250df0e8c4f6cfb9f6e181982d7
dan [Thu, 22 Mar 2012 17:48:00 +0000 (17:48 +0000)]
Add test cases to fts4merge.test.
FossilOrigin-Name:
ecab2083334dcdde24a3c56864114979b7a6f25a
dan [Thu, 22 Mar 2012 16:48:12 +0000 (16:48 +0000)]
Following an incr-merge operation that does not completely consume its input segments, store context in the rowid==1 row of the %_stat table that allows the next incr-merge to pick up where the previous left off.
FossilOrigin-Name:
ab0a4f44fb67e9f0cb82297b80e728ca58cdb0fb
drh [Thu, 22 Mar 2012 12:50:34 +0000 (12:50 +0000)]
Always quote the names of tables in the output of the shell's ".dump" command,
even if the name is pure alphabetic text, in case the name is a keyword.
FossilOrigin-Name:
638b71150281a211f89b4057b0d5d32d3fbcf323
dan [Wed, 21 Mar 2012 14:34:23 +0000 (14:34 +0000)]
Add fts4merge3.test, for testing that older versions of FTS4 may interoperate with incr-merge capable versions.
FossilOrigin-Name:
903ec5126dd981da6d7bab45c568f34b99446159
drh [Tue, 20 Mar 2012 17:04:17 +0000 (17:04 +0000)]
Merge trunk changes into the fts4-incr-merge branch.
FossilOrigin-Name:
f61d5fb0281381228eb1a12a233bacaeb26b12a3
drh [Tue, 20 Mar 2012 15:10:42 +0000 (15:10 +0000)]
Remove the _SafeInit() entry points from the TCL interface. They have long
been no-ops. Removing them completely avoids confusion as to why they
don't work.
FossilOrigin-Name:
0fb26c7bfa7a4bb1503f90fd6f5b9c70f444665b
drh [Tue, 20 Mar 2012 11:35:50 +0000 (11:35 +0000)]
drh [Tue, 20 Mar 2012 03:10:51 +0000 (03:10 +0000)]
Fix out-of-bounds array references in the "echo" virtual table module
used for testing. No changes to the SQLite core.
FossilOrigin-Name:
7b449b301ea03295262b8d572b02625e4b39cfa5
drh [Mon, 19 Mar 2012 17:42:46 +0000 (17:42 +0000)]
Add additional test cases to e_insert.test. Update evidence marks.
no changes to core code.
FossilOrigin-Name:
036395c0a8e08883b11df025e3da9e2461e4b1eb
drh [Mon, 19 Mar 2012 14:57:49 +0000 (14:57 +0000)]
Fix one more compiler warning missed by the previous check-in.
FossilOrigin-Name:
bc03d99a78e90c02b69037e5f5f81537b5a3ac60
drh [Mon, 19 Mar 2012 14:51:19 +0000 (14:51 +0000)]
Suppress harmless compiler warnings on windows in FTS4 and RTREE.
FossilOrigin-Name:
4fd68647c8d4b120e04d054617cef31001f44c6f
drh [Mon, 19 Mar 2012 14:28:43 +0000 (14:28 +0000)]
Avoid a compiler warning (an incorrect compiler warning, at that) in vs2010.
FossilOrigin-Name:
7dd97f12cd268cac1241f0f3e8de94bb629b97c7
dan [Mon, 19 Mar 2012 10:21:37 +0000 (10:21 +0000)]
Ensure that compatible malloc and free functions are used with stat3 data if SQLITE_ENABLE_STAT3 is defined.
FossilOrigin-Name:
32bb1ecee4e43a4683512dbca047abf735afd313
dan [Sat, 17 Mar 2012 16:56:57 +0000 (16:56 +0000)]
Fix various incorrect and missing comments and other style issues in and around the FTS incremental merge code.
FossilOrigin-Name:
7aabb62c8ccbd2b8d216e25226f06e5820dec38a
dan [Sat, 17 Mar 2012 15:12:16 +0000 (15:12 +0000)]
In pager1.test, use "file attr test.db -readonly 0" before "file attr test.db -perm rw-rw-rw-", not after.
FossilOrigin-Name:
4f5283f18f570a09b95c26e5aa14885ada518dd2
dan [Sat, 17 Mar 2012 09:43:09 +0000 (09:43 +0000)]
Modify a test in ioerr2.test to account for the new SQLITE_ABORT_ROLLBACK extended error code.
FossilOrigin-Name:
affaebde109e8dd851474ffe7b7d48b1aae8c7ed
drh [Fri, 16 Mar 2012 17:00:49 +0000 (17:00 +0000)]
Update the trace2.test script for languageid.
FossilOrigin-Name:
a11528ac575fa20fd8022756d042a32fe1272e12
drh [Fri, 16 Mar 2012 16:52:54 +0000 (16:52 +0000)]
Cherrypick the [
3475092cff ] fix for 32-bit overflow with large language-ids
into trunk.
FossilOrigin-Name:
2755edc7f1186ba8955f2c3550a90f40a55ddae2
dan [Fri, 16 Mar 2012 15:54:19 +0000 (15:54 +0000)]
Fix some integer overflow problems that can occur when using large langauge id values.
FossilOrigin-Name:
3475092cff862080a020d386076d739f0d22c9b2
dan [Fri, 16 Mar 2012 14:54:07 +0000 (14:54 +0000)]
Add a comment to the FTS getAbsoluteLevel() function. No actual code changes.
FossilOrigin-Name:
7e0f861beda4d74d0c3c9fb4abb3ddb5fee346bd
drh [Fri, 16 Mar 2012 00:28:11 +0000 (00:28 +0000)]
Fix harmless compiler warnings.
FossilOrigin-Name:
74eadeec34c4b19cf5f8b7f648db3b7ad601a00e
drh [Thu, 15 Mar 2012 22:54:37 +0000 (22:54 +0000)]
Add the sqlite3_db_readonly() API to trunk.
FossilOrigin-Name:
fed134a5f395533de0c9d76950697c060ddb126d
drh [Thu, 15 Mar 2012 21:28:54 +0000 (21:28 +0000)]
Add the sqlite3_db_readonly() interface. This is still tentative, pending
a closer look at other ideas to accomplish the same thing.
FossilOrigin-Name:
254f99ea9ff1534948bdb179e69ab0c940c87ec1
dan [Thu, 15 Mar 2012 17:45:50 +0000 (17:45 +0000)]
Modify incremental merge code to merge nMin segments at a time.
FossilOrigin-Name:
cd34bc1af4ba608ea3b52bab55bcfe0086711900
dan [Wed, 14 Mar 2012 20:01:52 +0000 (20:01 +0000)]
Add tests for incremental merge code.
FossilOrigin-Name:
570473729d6561d81e6e5f8884fd18487008636e
dan [Wed, 14 Mar 2012 12:17:40 +0000 (12:17 +0000)]
Avoid allocating a large object on the stack in the incremental merge code. Use sqlite3_malloc() instead.
FossilOrigin-Name:
36ae510de45be44efd34cff242d02fb21b7419ac
dan [Wed, 14 Mar 2012 11:51:31 +0000 (11:51 +0000)]
Fix another bug in the incremental merge code.
FossilOrigin-Name:
f97b12e0955c4c29f9c31a186d72d87f7407782e
dan [Tue, 13 Mar 2012 19:56:34 +0000 (19:56 +0000)]
Fix some bugs in the incremental merge code. Some remain.
FossilOrigin-Name:
bff21683705a61b8b8672e0b44c287d1dc7c32a9
drh [Fri, 9 Mar 2012 22:02:08 +0000 (22:02 +0000)]
Candidate fix for the optimizer problem described in ticket
[
b7c8682cc17f3 ] which can causes a LEFT JOIN to be changed
into a INNER JOIN if there are OR terms in the WHERE clause.
FossilOrigin-Name:
0dc4cb935514131c99172175d57feec3a1743aa9
drh [Fri, 9 Mar 2012 12:52:43 +0000 (12:52 +0000)]
Minor commenting and stylistic changes only.
FossilOrigin-Name:
a1747086c5e0c152fcf4bd9fa80a61b6f03f4a94