]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Tue, 26 May 2015 11:53:14 +0000 (11:53 +0000)]
Fix a problem with ignoring UNIQUE constraints on WITHOUT ROWID tables rendered redundant by the PRIMARY KEY.
FossilOrigin-Name:
3b936913f3dc2cae4c94f983f28d85b136a44c9f
mistachkin [Tue, 26 May 2015 03:31:46 +0000 (03:31 +0000)]
Silence harmless compiler warnings when building the command line utilities with MSVC.
FossilOrigin-Name:
d26060c468cc6997e9933d9623a47fcc7d86c2da
mistachkin [Tue, 26 May 2015 03:24:33 +0000 (03:24 +0000)]
Add fuzzcheck to makefile clean targets. Also, for consistency, replace a few tabs with spaces.
FossilOrigin-Name:
eda2a437506f148bcb5bb33baa64b5ad8ae73ada
drh [Tue, 26 May 2015 00:28:08 +0000 (00:28 +0000)]
Add the --result-trace option to fuzzcheck, and other interface enhancements.
FossilOrigin-Name:
c415bb7bbfd531b138462589cdd58fa0204804e8
drh [Mon, 25 May 2015 23:14:37 +0000 (23:14 +0000)]
Fix an important bug in the xRead method of the in-memory VFS for fuzzcheck.
FossilOrigin-Name:
58cd40e89f3060c63abb9a3fca385a1e72ce7bb4
drh [Mon, 25 May 2015 22:38:00 +0000 (22:38 +0000)]
Add the fuzzcheck test program.
FossilOrigin-Name:
341cb6abe74e1e9d03c82ffdeba86be6a2d00397
drh [Mon, 25 May 2015 22:29:26 +0000 (22:29 +0000)]
Add fuzzcheck to all makefiles and fix compiler warnings.
FossilOrigin-Name:
7b3d21906a9650377cda56b94facdff75b2cb858
drh [Mon, 25 May 2015 22:18:33 +0000 (22:18 +0000)]
Merge in trunk fixes.
FossilOrigin-Name:
c71c2e1a991775e1711e9621a59dd8a60eec329b
drh [Mon, 25 May 2015 22:17:06 +0000 (22:17 +0000)]
Improved tracing capabilities in fuzzcheck.
FossilOrigin-Name:
864bfdbfe7b196cc9df2136b15a28e2a0f2713cb
drh [Mon, 25 May 2015 21:59:05 +0000 (21:59 +0000)]
Add the --native-vfs option on fuzzcheck.
FossilOrigin-Name:
12e95e3f178b89d649bc7e30db731df439ae1653
dan [Mon, 25 May 2015 20:04:15 +0000 (20:04 +0000)]
Fix a case of a corrupt database causing SQLite to read from up to 4 bytes before the start of a memory allocation.
FossilOrigin-Name:
7d2c4f7b6695806ab8ce0c6f49d8bc1d77a4320b
drh [Mon, 25 May 2015 19:37:17 +0000 (19:37 +0000)]
Merge the btree fixes out of trunk.
FossilOrigin-Name:
f3cd8cecf4f7aa3429e3ebc90ed31c4e8fff7bc2
drh [Mon, 25 May 2015 19:35:42 +0000 (19:35 +0000)]
Add the --dbid and --sqlid parameters to fuzzcheck. Other fuzzcheck fixes.
FossilOrigin-Name:
75ec9299faca8ce3d49d825ba6ea60588a91d113
dan [Mon, 25 May 2015 19:24:36 +0000 (19:24 +0000)]
Have the b-tree layer return SQLITE_CORRUPT to any attempt to open a cursor with a root page number less than 1.
FossilOrigin-Name:
aa18c8e9d1676b1caa53bc5f5c1dc5f201089b88
drh [Mon, 25 May 2015 18:48:19 +0000 (18:48 +0000)]
First code for a new utility program to rerun checks on a large number of
fuzzer-generated test cases.
FossilOrigin-Name:
c5b4e363528aa1d2d5f41451f16de0aa91152b38
dan [Mon, 25 May 2015 18:47:26 +0000 (18:47 +0000)]
Fix a couple of btree asserts that would fail when encountering 32-bit rollover in cell payload size fields (cell payloads this large always indicate corruption).
FossilOrigin-Name:
8fa0937a2f3476dd280259e252d6f422c33d38ee
dan [Mon, 25 May 2015 17:07:29 +0000 (17:07 +0000)]
Fix a case where database corruption may cause SQLite to write past the end of a buffer.
FossilOrigin-Name:
97806a78142b15f89878e25ee70dc5b0524d6793
dan [Mon, 25 May 2015 15:03:49 +0000 (15:03 +0000)]
Fix an assert() in btree routine freeSpace() that may be false if the database is corrupt.
FossilOrigin-Name:
00a473c56188cd60a74559effb114140e3fe8a8d
dan [Mon, 25 May 2015 11:46:33 +0000 (11:46 +0000)]
Avoid redundant loads from the %_data table in the fts5 code.
FossilOrigin-Name:
02069782f8b7896a582582c79185b50418622736
dan [Mon, 25 May 2015 10:57:13 +0000 (10:57 +0000)]
Fix an fts4 matchinf() problem triggered by deferred tokens that are part of phrases that are part of AND expressions.
FossilOrigin-Name:
f1e942a1dda496a509741e9cc2a17e8b4dac63a3
drh [Mon, 25 May 2015 10:29:52 +0000 (10:29 +0000)]
Fix an obsolete comment - no changes to code.
FossilOrigin-Name:
4e4228c47f862c7f1fb078bf1b8c1d604f09d365
drh [Mon, 25 May 2015 09:33:48 +0000 (09:33 +0000)]
Remove an incorrect and pointless assert().
FossilOrigin-Name:
8c3929bd42ff9c041df341aced5b7dbc0f563506
drh [Sun, 24 May 2015 21:46:03 +0000 (21:46 +0000)]
The assert() changes removed in the previous check-in are needed after all.
FossilOrigin-Name:
336fccc84cd7b770c9c3720efc9976269096232e
drh [Sun, 24 May 2015 21:09:52 +0000 (21:09 +0000)]
Better detection of corruption in allocateSpace() in btree.c.
FossilOrigin-Name:
bf7bb53ee2485a5342916d514d6c7291eb84c5f1
drh [Sun, 24 May 2015 10:18:12 +0000 (10:18 +0000)]
Detect database corruption in the modifyPagePointer() routine and abort.
FossilOrigin-Name:
4f0bba42f904e505900be67b00179ebb1f24ed03
drh [Sat, 23 May 2015 19:53:48 +0000 (19:53 +0000)]
Instead of early detection of corruption in balance_nonroot, simply ignore
the error, as it is harmless and exceedingly uncommon.
FossilOrigin-Name:
7bbf9b3cd6ebf103ebd8347579aef721d0dcd2dc
drh [Sat, 23 May 2015 19:29:08 +0000 (19:29 +0000)]
Earlier detection of a specific kind of corruption in the balance_nonroot()
routine.
FossilOrigin-Name:
ee6dc9913a8733891576e6e298241f7440209c5e
dan [Sat, 23 May 2015 15:43:05 +0000 (15:43 +0000)]
Avoid making redundant copies of position-lists within the fts5 code.
FossilOrigin-Name:
5165de548b84825cb000d33e5d3de12b0ef112c0
drh [Sat, 23 May 2015 02:44:00 +0000 (02:44 +0000)]
Minor documentation improvements. No changes to code.
FossilOrigin-Name:
e446d9ce0049b8ce0fd4f03205a0c32776fc76cd
drh [Fri, 22 May 2015 23:51:30 +0000 (23:51 +0000)]
Merge bug fixes from trunk.
FossilOrigin-Name:
519054bb72e8f8977b11161c81b0e96ba7bca589
drh [Fri, 22 May 2015 23:50:19 +0000 (23:50 +0000)]
Improved error messages in fuzzershell when unable to open the database.
FossilOrigin-Name:
c404fcace83613a50015f15097b7f28123c221c3
drh [Fri, 22 May 2015 23:45:56 +0000 (23:45 +0000)]
Fix a bug in fuzzershell caused by an uninitialized local variable.
FossilOrigin-Name:
745deab87adc378a5376aaa9451fb9485bc2f4c4
drh [Fri, 22 May 2015 23:39:29 +0000 (23:39 +0000)]
Fix another bad assert() in btree - one that can be false on a corrupt database
file.
FossilOrigin-Name:
89f0bbfde4d86a7b15e93aab9c487b4355c6fb2d
drh [Fri, 22 May 2015 23:26:18 +0000 (23:26 +0000)]
Merge enhancements from trunk, including the new sqlite3_value_dup() API and
the addition of the apSqlParam field in the sqlite3_rtree_query_info object
of R-Tree.
FossilOrigin-Name:
cdc0ca6fb36e787b981fb544a27c6df838f85704
drh [Fri, 22 May 2015 23:17:28 +0000 (23:17 +0000)]
Fix incorrect validation of the size of the BLOB returned by a geometry
function on the RHS of a MATCH operator in RTree. The old code worked for
64-bit systems (by chance) but fails on 32-bit.
FossilOrigin-Name:
10cc44f5a63e6cadf6940bb7310a177ee7fa6ee2
drh [Fri, 22 May 2015 21:12:59 +0000 (21:12 +0000)]
Add the sqlite3_value_dup() and sqlite3_value_free() interfaces.
Use these interfaces to enhance R-Tree to add the
sqlite3_rtree_query_info.apSqlParam field.
FossilOrigin-Name:
c1814242e6ce035d486cfbad5a1f4b49aa8898f3
drh [Fri, 22 May 2015 21:04:54 +0000 (21:04 +0000)]
Make sure sqlite3_value_dup() works correctly even for sqlite3_value
objects that are marked SQLITE_STATIC.
FossilOrigin-Name:
f332ffc39b7a17fd6254d8dc699293a57a508ba0
drh [Fri, 22 May 2015 19:55:10 +0000 (19:55 +0000)]
Fix minor issues with the sqlite3_value_dup() interface.
FossilOrigin-Name:
95edcf5010ecb8edd8eb74279c4766f9b655d4a2
drh [Fri, 22 May 2015 18:40:48 +0000 (18:40 +0000)]
Update with fixes and enhancements from trunk.
FossilOrigin-Name:
9605d008f5c763137e9734d033fe4510ca316858
drh [Fri, 22 May 2015 17:29:27 +0000 (17:29 +0000)]
The SRT_Table type for the SelectDest object is now just an SRT_EphemTab for
which the ephemeral table has already been allocated.
FossilOrigin-Name:
b9727e6bbfc3c62c601227e86e62f2f39792fd1d
dan [Fri, 22 May 2015 16:08:42 +0000 (16:08 +0000)]
Have r-tree prefer to use the constraint "col MATCH ?" over "rowid = ?".
FossilOrigin-Name:
b9fb95194d4f7c535f1d175fd2e18d69d76e8fc4
drh [Fri, 22 May 2015 13:09:50 +0000 (13:09 +0000)]
Fix two faulty assert statements discovered by fuzzing.
FossilOrigin-Name:
799817bfb2bc95963c0e0d70063c4cb15c94ef74
drh [Fri, 22 May 2015 12:37:37 +0000 (12:37 +0000)]
Fix an assert in btree.c that can be false when using a corrupted database
file.
FossilOrigin-Name:
a6eb2a39357c35dc13d549ef86c785ff5c69938a
drh [Fri, 22 May 2015 11:38:22 +0000 (11:38 +0000)]
Add the --database option to the fuzzershell test program.
FossilOrigin-Name:
c6d5512f4b8b1237fa4cf5f3f2eae19b160bcf26
dan [Fri, 22 May 2015 07:44:44 +0000 (07:44 +0000)]
Increase test coverage of fts5_vocab.c.
FossilOrigin-Name:
065ab83a6ce36e16d3b95a61505aa3cff0bfea84
dan [Fri, 22 May 2015 06:08:25 +0000 (06:08 +0000)]
Improve test coverage of fts5_unicode2.c.
FossilOrigin-Name:
fea8a4db9d8c7b9a946017a0dc984cbca6ce240e
drh [Wed, 20 May 2015 21:28:32 +0000 (21:28 +0000)]
Add the sqlite3_value_dup() and sqlite3_value_free() interfaces. Use
these interfaces to enhance R-Tree to add the
sqlite3_rtree_query_info.apSqlParam field.
FossilOrigin-Name:
a7ee40c4fc62843ac5b96ba47ca14a66e8cd6961
drh [Wed, 20 May 2015 17:36:49 +0000 (17:36 +0000)]
Fix the initialization logic in CREATE TABLE AS so that the correct affinities
are applied to all values being inserted into the new table, even if the
RHS is a compound SELECT. Fix for ticket [
f2ad7de056ab1dc9200 ].
FossilOrigin-Name:
6a0cf3ce9e68d0127f9653232e588ed59d34eca5
drh [Wed, 20 May 2015 17:25:44 +0000 (17:25 +0000)]
Add a test case to verify that CREATE TABLE AS does not store INT values
in TEXT columns. Ticket [
f2ad7de056ab1dc92 ].
FossilOrigin-Name:
0e45e8f1574ef19a43dbd118440ddbc5cec80ce7
drh [Wed, 20 May 2015 17:18:29 +0000 (17:18 +0000)]
Simplification of the initialization code for CREATE TABLE AS.
FossilOrigin-Name:
937f659e8933011c44e822328a97cb5f0607c04d
drh [Wed, 20 May 2015 15:51:09 +0000 (15:51 +0000)]
A proposed fix for the problem of CREATE TABLE AS generating a table that
has INTEGER values in a TEXT column. Ticket [
f2ad7de056ab1dc92 ].
FossilOrigin-Name:
d5e2c1fc7625130a3cbacc95c28bb553a0119cb8
dan [Wed, 20 May 2015 09:27:51 +0000 (09:27 +0000)]
Improve test coverage of fts5_tokenize.c.
FossilOrigin-Name:
0e91a6a520f040b8902da6a1a4d9107dc66c0ea3
drh [Wed, 20 May 2015 00:15:27 +0000 (00:15 +0000)]
Fix handling of queries with VALUES on the left and UNION ALL SELECT on the
right and a LIMIT clause.
FossilOrigin-Name:
c403502cdce8b82e570e6fc49ab7f5144800c189
drh [Tue, 19 May 2015 23:56:07 +0000 (23:56 +0000)]
Enhance the selecttrace display by showing Select.selFlags.
FossilOrigin-Name:
45d3893c6142ee1dfed48e26a13cf547da12468a
drh [Tue, 19 May 2015 23:04:26 +0000 (23:04 +0000)]
Merge the Makefile.msc fix and the compiler warning fix from trunk. Also
fix another compiler warning in sqlite3session_diff().
FossilOrigin-Name:
7530e1bf557083ef91447a02f05b019dbe60fa70
drh [Tue, 19 May 2015 22:56:45 +0000 (22:56 +0000)]
Fix the MSVC makefile so that it works with OTA. Fix a harmless compiler
warning in FTS3.
FossilOrigin-Name:
c7b16645307d6e46c4153693d6806269de64955f
drh [Tue, 19 May 2015 22:42:23 +0000 (22:42 +0000)]
Merge recent trunk changes, include the R-Tree enhancement that allows
8-byte BLOB arguments to geometry functions, and the fix for the TEXT affinity
problem that could cause corrupt indexes.
FossilOrigin-Name:
0a0de8b72ca24f287f9c84766a14e12ea4564b59
drh [Tue, 19 May 2015 22:20:48 +0000 (22:20 +0000)]
Allow R-Tree geometry functions to take 8-byte BLOB arguments which are
passed directly through to the underlying callback, and which can be used
to pass pointers into the callback.
FossilOrigin-Name:
b271ed56532a78323accc8a7cb348d55f95c350e
dan [Tue, 19 May 2015 19:44:25 +0000 (19:44 +0000)]
Ensure that when the VM applies TEXT affinity to a value it discards any existing REAL or INTEGER value.
FossilOrigin-Name:
f5d0ce80792d58ef424300f973f8876d835ed4ad
dan [Tue, 19 May 2015 19:37:09 +0000 (19:37 +0000)]
Add tests for fts5 tokenizers.
FossilOrigin-Name:
4f90ba20e2be6ec5755fe894938ac97342d6fbf6
dan [Tue, 19 May 2015 17:48:11 +0000 (17:48 +0000)]
Remove the sqlite3ota_open_v2() API. Add a new parameter to sqlite3ota_open() instead.
FossilOrigin-Name:
c74e0bc481ce995f83ca8384e05dfbe068a0ae85
dan [Tue, 19 May 2015 16:50:18 +0000 (16:50 +0000)]
Merge the ota-update branch with trunk.
FossilOrigin-Name:
08e2864ed7c2d36410a248459061dcbd5576e145
dan [Tue, 19 May 2015 16:26:51 +0000 (16:26 +0000)]
Add a comment for SQLITE_FCNTL_OTA to sqlite.h.in.
FossilOrigin-Name:
efa20f8e41e9370f419f055efa941a8521c68c86
dan [Tue, 19 May 2015 16:22:58 +0000 (16:22 +0000)]
Allow OTA update state data to be stored in a database separate from the OTA update database.
FossilOrigin-Name:
5af8db56af457d60ea030d84666ca7fffb6821fe
dan [Tue, 19 May 2015 14:14:57 +0000 (14:14 +0000)]
Merge latest trunk changes with this branch.
FossilOrigin-Name:
6055a6725cb24469c10de9a04f3614dcc79193c6
dan [Tue, 19 May 2015 11:38:32 +0000 (11:38 +0000)]
Update Makefile.in so that the amalgamation files built by "make sqlite3.c" include fts5.
FossilOrigin-Name:
2870a80593302e7835c5f5d167f42710d8439e7d
dan [Tue, 19 May 2015 11:32:01 +0000 (11:32 +0000)]
Fix a memory leak that could follow an OOM condition in fts5.
FossilOrigin-Name:
de9f8ef6ebf036df5a558cd78fb4927da2d83ce8
dan [Mon, 18 May 2015 20:34:59 +0000 (20:34 +0000)]
Improve test coverage of fts5_storage.c.
FossilOrigin-Name:
4dfe2e5871704125338620705e6638f36baaacd7
dan [Mon, 18 May 2015 18:24:41 +0000 (18:24 +0000)]
Fix a bug in test script fts5fault4.test.
FossilOrigin-Name:
a508059305641c2cb53197b0f6e93d7b723697e2
dan [Mon, 18 May 2015 18:03:06 +0000 (18:03 +0000)]
Add a test for an untested branch in fts5_expr.c.
FossilOrigin-Name:
ce08206b5c5bf6a81decf20c99a524dd92c3715b
dan [Mon, 18 May 2015 17:50:17 +0000 (17:50 +0000)]
Improve test coverage of fts5_config.c.
FossilOrigin-Name:
47dbfadb994814c9349d4c9c113b862c2e97c01a
drh [Mon, 18 May 2015 12:28:09 +0000 (12:28 +0000)]
Transitive constraints should only work if operands have compatible
affinities and collating sequences.
FossilOrigin-Name:
5df4056448fee1c766f8f79c735ed12abdce5101
drh [Mon, 18 May 2015 12:18:37 +0000 (12:18 +0000)]
Use an ALWAY() on conditionals in the transitive constraint logic that are
always true as far as we know.
FossilOrigin-Name:
204e567f68e4b3e069f04ca0643c6e5db781d39f
drh [Mon, 18 May 2015 11:34:52 +0000 (11:34 +0000)]
Refinements to the determination of when an A==B term is an equivalence.
Add test cases.
FossilOrigin-Name:
6bfaf525cac2e0c0a4a3bd3a1fc7bf5bd3234303
drh [Mon, 18 May 2015 04:24:27 +0000 (04:24 +0000)]
Make a hard copy of the results of a subquery lest the result of the
subquery be referenced after a change to the table that generated the subquery
result.
FossilOrigin-Name:
9c0d80907b4dee8ee8f205c2ebdb759f5ba1d771
drh [Sat, 16 May 2015 20:51:25 +0000 (20:51 +0000)]
Further restrictions on the use of the transitive property in WHERE clauses.
FossilOrigin-Name:
8c886c43ff0bd5953d289534791d2c6b9dc25445
dan [Sat, 16 May 2015 20:04:43 +0000 (20:04 +0000)]
Further test coverage improvements for fts5.
FossilOrigin-Name:
927d9a64e13c6b768f0a15475713192fcfaaf9e7
drh [Sat, 16 May 2015 19:17:17 +0000 (19:17 +0000)]
Fix the transitive constraint processing to only allow transitivity if the
operands of the == or IS operator have compatible affinities.
FossilOrigin-Name:
a46a247fbcfe6e63b12cef31353835295a650c9b
drh [Sat, 16 May 2015 18:31:44 +0000 (18:31 +0000)]
Fix a typo in a comment. No changes to code.
FossilOrigin-Name:
ee4b74250ad7a4061421d44b490cb79f649b3720
mistachkin [Sat, 16 May 2015 03:41:41 +0000 (03:41 +0000)]
Improve the clean target in the MSVC makefile.
FossilOrigin-Name:
2c1039d454e359b0eec3db2d4201b4ba7e543052
drh [Fri, 15 May 2015 22:20:40 +0000 (22:20 +0000)]
Update the README.md file at the top of the repository so that the homepage
of Git mirrors of SQLite direct users to the official repository.
FossilOrigin-Name:
08f11980efa907728102065115a5bebd44be2419
mistachkin [Fri, 15 May 2015 20:14:00 +0000 (20:14 +0000)]
Minor coding style change, adjust new local variable casing for consistency.
FossilOrigin-Name:
1a4628c66c632d2aff02bf134ddf7adceb04fb84
dan [Fri, 15 May 2015 19:59:23 +0000 (19:59 +0000)]
Do not assume that "col IS ?" matches at most a single row of a UNIQUE column unless the column is also NOT NULL.
FossilOrigin-Name:
e038ce8955e785afcc07bb22499955bbd22a7af4
dan [Fri, 15 May 2015 18:13:14 +0000 (18:13 +0000)]
Improve test coverage of fts5_index.c.
FossilOrigin-Name:
7aea8c6d99737c6c72078e0b4b9c5f8186021aa0
dan [Fri, 15 May 2015 12:18:39 +0000 (12:18 +0000)]
Add test cases. And some fixes.
FossilOrigin-Name:
adee788586197445672013d434e7ba47ce510b59
drh [Fri, 15 May 2015 04:13:15 +0000 (04:13 +0000)]
Simplifications to error message processing. Fix a possible problem in error
message formatting when vacuuming a database with a corrupt schema.
FossilOrigin-Name:
56ef98a04765c34c1c2f3ed7a6f03a732f3b886e
drh [Thu, 14 May 2015 15:39:18 +0000 (15:39 +0000)]
Increase the version number to 3.8.11. Upgrade autoconf from 2.62 to 2.69.
FossilOrigin-Name:
be438d049dd9d7aa6b88db8314eaa11bdd7af5b9
drh [Thu, 14 May 2015 15:17:20 +0000 (15:17 +0000)]
Merge in the IS-operator enhancements and other recent changes from trunk.
FossilOrigin-Name:
4f9229445c293b39c80b2a662901f608c85b36ef
drh [Thu, 14 May 2015 14:32:11 +0000 (14:32 +0000)]
The IS operator can now use indexes the same as the == operator.
FossilOrigin-Name:
3428043cd00294457548bb07ada2ad526b6532d6
drh [Thu, 14 May 2015 14:03:21 +0000 (14:03 +0000)]
A few more test cases for the IS operator.
FossilOrigin-Name:
f397c8622ae5a36a71f81d9f2549ca314005ece5
drh [Thu, 14 May 2015 13:41:22 +0000 (13:41 +0000)]
More test cases. Remove some invalid testcase() macros. Rearrange some code
for improved testability.
FossilOrigin-Name:
b3676377b257bd8bb7fefe9c365d76cdc9e44856
drh [Thu, 14 May 2015 13:18:47 +0000 (13:18 +0000)]
Add testcase() macros. Get transitive WHERE clause constraints on IS operators
working again.
FossilOrigin-Name:
d195d4a65d7184e34a2a08c3ac3db7f6c8c1c21c
dan [Thu, 14 May 2015 09:53:17 +0000 (09:53 +0000)]
Merge changes from the index-is-operator branch into this one. Drop the partial support added for IS on this branch by [
52e73eec ].
FossilOrigin-Name:
16ab9cafd00ea5df7e6f75d6a6740237828b888d
dan [Thu, 14 May 2015 08:58:52 +0000 (08:58 +0000)]
Merge latest trunk changes with this branch.
FossilOrigin-Name:
299ed55c909d327826ef47e204ef1e9afd54852b
drh [Thu, 14 May 2015 01:05:25 +0000 (01:05 +0000)]
A new implementation of indexing with the IS operator that works correctly
when the IS operator is in the WHERE clause and the operands are from
opposite sides of a LEFT JOIN.
FossilOrigin-Name:
4541688b3f56f5cd3d5b299594b58c577ad633bb
drh [Wed, 13 May 2015 19:33:41 +0000 (19:33 +0000)]
Simplified implementation of indexing with the IS operator.
FossilOrigin-Name:
95b1f9bf14e490c6c6bba9ea78aeab712a44aab5
dan [Wed, 13 May 2015 18:12:58 +0000 (18:12 +0000)]
Merge latest trunk changes with this branch.
FossilOrigin-Name:
b5f0e8c5b4bc018d672617ffd342d12b228548b9
drh [Wed, 13 May 2015 17:54:08 +0000 (17:54 +0000)]
Add testcase() macros and comments and a few test-cases.
FossilOrigin-Name:
24263d08b11c88416d270013bdaf5ff45125cb4d
dan [Wed, 13 May 2015 17:15:32 +0000 (17:15 +0000)]
Change fts5 doclist-index structures to be trees instead of flat lists. This only makes a difference for databases that contain millions of instances of the same token.
FossilOrigin-Name:
aa34bf666c384cf32a8d8166ab6d9afbca26a256
drh [Wed, 13 May 2015 15:24:07 +0000 (15:24 +0000)]
An early attempt to get indexes to work with the IS operator. This code
passes tests, but much more testing is needed to verify that it works on
all corner cases.
FossilOrigin-Name:
6f7f1673d00d216a5aa456acb44793a14f3b3d91