]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Fri, 11 Sep 2015 00:06:41 +0000 (00:06 +0000)]
Take out the goofy '$$' path syntax. Instead, use subtypes to communicate when
a string is JSON. Add the json() function that validates and minifies the
JSON and sets the appropriate subtype.
FossilOrigin-Name:
8a80d6459e246ec1b38325e1cbd1e862157138b3
drh [Thu, 10 Sep 2015 20:40:21 +0000 (20:40 +0000)]
Make the sqlite3_value_subtype() and sqlite3_result_subtype() interfaces
available to loadable extensions.
FossilOrigin-Name:
c6fca0be11f7414292279e2ea1b004260e6f4bb6
drh [Thu, 10 Sep 2015 20:34:56 +0000 (20:34 +0000)]
Experimental implementation of sqlite3_result_subtype() and
sqlite3_value_subtype() interfaces.
FossilOrigin-Name:
7b5be299c617a3d3ed327ed30ef0a66a62c85b1f
drh [Thu, 10 Sep 2015 19:22:25 +0000 (19:22 +0000)]
Fix a potential NULL pointer deref in the testing logic of pcache1.
NB: The -DSQLITE_TEST compile-time option is needed to hit the problem.
FossilOrigin-Name:
f5580f08538636ffb1367e717a33756288ccddde
dan [Thu, 10 Sep 2015 17:23:37 +0000 (17:23 +0000)]
Modify the fts5 leaf page format to permit faster seek operations. This is a file-format change. Any existing databases can be upgraded by running the fts5 'rebuild' command.
FossilOrigin-Name:
0c0c4ae971e54efc526eed7bd071c90dfadb95ff
drh [Thu, 10 Sep 2015 17:20:57 +0000 (17:20 +0000)]
Create separate "path" and "root" columns in the json_each() and json_tree()
virtual tables. "Root" is the 2nd parameter and is fixed.
"Path" varies as json_tree() walks the hierarchy.
FossilOrigin-Name:
127cce3eb96b819005832997e0a082df9fb96f0b
dan [Thu, 10 Sep 2015 16:39:38 +0000 (16:39 +0000)]
Increment the fts5 version value to indicate that the on-disk format has changed.
FossilOrigin-Name:
99de5e3613d557728dd196353516bc7cf64a0e6c
dan [Thu, 10 Sep 2015 16:19:01 +0000 (16:19 +0000)]
Fix a segfault in fts5 that could occur if the database contents were corrupt.
FossilOrigin-Name:
4931e37da4d2c26d7afc5432f7f0d534b51a85fa
dan [Thu, 10 Sep 2015 15:52:42 +0000 (15:52 +0000)]
Merge latest changes from trunk. Including fts5_expr.c fixes.
FossilOrigin-Name:
716e7e747714d6af502f6a87ca8d789bb7ce162a
dan [Thu, 10 Sep 2015 15:49:16 +0000 (15:49 +0000)]
Update description of on-disk format in fts5_index.c.
FossilOrigin-Name:
85aac7b8b6731e2f6880b80cfd62d431ea059799
drh [Thu, 10 Sep 2015 15:24:27 +0000 (15:24 +0000)]
Make the sqlite3ext.h header file responsive to -DSQLITE_OMIT_LOAD_EXTENSION.
FossilOrigin-Name:
47a46a9fa4a96cdb96a20b6aec802661b1ee4598
drh [Thu, 10 Sep 2015 15:22:35 +0000 (15:22 +0000)]
Disable tests for json_each() and json_tree() on builds where
virtual tables are not supported
FossilOrigin-Name:
bb8ee3b140a0a8b7c89f5debf22369f204ceef0b
drh [Thu, 10 Sep 2015 15:20:49 +0000 (15:20 +0000)]
Fix the --help option on test/releasetest.tcl. Also fix the final error
count so that it includes a count of subtest crashes.
FossilOrigin-Name:
9ecf684dfe0cd7e3b058d208aca7eb600bf1d21b
dan [Thu, 10 Sep 2015 10:40:00 +0000 (10:40 +0000)]
Revert an accidentally committed makefile change.
FossilOrigin-Name:
402704b13f1f246c0224f90862bed93a825575f1
dan [Thu, 10 Sep 2015 10:01:30 +0000 (10:01 +0000)]
Fix an fts5 problem that could occur if a term and the first associated rowid are on different leaf pages.
FossilOrigin-Name:
ffe2796ac9244c62325fce4960f26c653321623c
dan [Thu, 10 Sep 2015 05:40:17 +0000 (05:40 +0000)]
Change the array of 16-bit offsets at the end of each page to an array of varints.
FossilOrigin-Name:
fab245bea4f283714c17bca22428d5eb4db5935a
drh [Thu, 10 Sep 2015 04:17:06 +0000 (04:17 +0000)]
Attempt to declare sqlite3MemoryBarrier() correctly for all possible
build configurations.
FossilOrigin-Name:
da8a288f8ef4be34281519b4b4db9b857b9d168b
drh [Thu, 10 Sep 2015 03:29:11 +0000 (03:29 +0000)]
Fix the json_tree() scan for the case when a path is supplied. Add new
json1 test cases.
FossilOrigin-Name:
6adc7de76acee6cfb5ff761739e7a8de7b5bf4b2
drh [Thu, 10 Sep 2015 01:22:09 +0000 (01:22 +0000)]
No-op the sqlite3_memory_alarm() interface in a different way, that does
not break legacy memory behavior. This is a re-do of
check-in [
5d3f5df4da9f40d5 ].
FossilOrigin-Name:
8250e2a487ee12c9a2dea5603ab60aed51e5dc7b
mistachkin [Wed, 9 Sep 2015 23:54:46 +0000 (23:54 +0000)]
Fix harmless compiler warning in FTS5.
FossilOrigin-Name:
86146a731d75eb25279c0e072c0bdda593de905d
dan [Wed, 9 Sep 2015 19:44:33 +0000 (19:44 +0000)]
Fix an assert() enabled by SQLITE_ENABLE_EXPENSIVE_ASSERT in wal.c.
FossilOrigin-Name:
8d2ed150a7a15626965cf994ef48c3ab61eca6ec
drh [Wed, 9 Sep 2015 19:27:10 +0000 (19:27 +0000)]
Fix a possible NULL pointer deref when using SQLITE_ENABLE_MEMORY_MANAGEMENT.
FossilOrigin-Name:
89bfdbfe943adce8e02c84ede014fcfed504c5d3
mistachkin [Wed, 9 Sep 2015 17:23:48 +0000 (17:23 +0000)]
Fix harmless compiler warning.
FossilOrigin-Name:
280fd3a482978b4a488a8b425721e451c2a30745
mistachkin [Wed, 9 Sep 2015 17:17:22 +0000 (17:17 +0000)]
Fix harmless compiler warnings in FTS5.
FossilOrigin-Name:
2cdb18778f20baa902e54f218ba26d2bacf0801e
drh [Wed, 9 Sep 2015 13:28:06 +0000 (13:28 +0000)]
When running a CREATE TABLE AS, make the initial temporary sqlite_master entry
for the new table a real record rather than a NULL, in case the query after
the AS actually tries to read the sqlite_master table.
Fix for ticket [
acd12990885d9276 ].
FossilOrigin-Name:
4a18d8bd4cc66eb08c6198cdf6e14f1bce0ec05a
dan [Wed, 9 Sep 2015 08:15:06 +0000 (08:15 +0000)]
Fix a bug in preprocessor macros within fts5_main.c.
FossilOrigin-Name:
0eb2b9521fad6fa36e6fa374c2bc1f70b5180f7c
drh [Tue, 8 Sep 2015 21:16:46 +0000 (21:16 +0000)]
Remove an unused local variable from Lemon.
FossilOrigin-Name:
fe9ffe5eed7d376f3f08c78c1ce5514c886f3479
drh [Tue, 8 Sep 2015 21:12:53 +0000 (21:12 +0000)]
Enhance the DBSTAT virtual table with a new hidden table "schema" that if
set will cause the table to report on the specified schema rather than on
"main". Also: Fix a faulty assert in sqlite3_context_db_handle().
FossilOrigin-Name:
6beb512c7a3c3649b56f0df1ca77855535a87ba7
drh [Tue, 8 Sep 2015 20:26:09 +0000 (20:26 +0000)]
Eponymous virtual tables exist in the "main" schema only. Enforce this rule.
FossilOrigin-Name:
06f90bb274c4bb0c30585024c8d365d43c4162f2
dan [Tue, 8 Sep 2015 19:55:26 +0000 (19:55 +0000)]
Remove the 0x00 terminators from the end of doclists stored on disk.
FossilOrigin-Name:
00d990061dec3661b0376bd167082942d5563bfe
drh [Tue, 8 Sep 2015 17:31:30 +0000 (17:31 +0000)]
Fix the help message that sqlite3_analyzer.exe generates for invalid
arguments.
FossilOrigin-Name:
33a14e7be1004abca7a30f675459138d7f8d72b1
drh [Mon, 7 Sep 2015 23:40:42 +0000 (23:40 +0000)]
Minor tweaks to Lemon.
FossilOrigin-Name:
986677224a8da5e79fbbd90673f1b595da89c5d6
drh [Mon, 7 Sep 2015 20:11:30 +0000 (20:11 +0000)]
Enhance the Lemon parser generator to add SHIFTREDUCE states that reduce the
sizes of some of the parser tables.
FossilOrigin-Name:
99b992fa840707711d99f8d05b62412f7008cd93
drh [Mon, 7 Sep 2015 20:02:39 +0000 (20:02 +0000)]
Fix an unreachable branch in the new parse automaton.
FossilOrigin-Name:
e9d604b4306a86faae315ac3cba59bf07d1b665c
drh [Mon, 7 Sep 2015 19:52:55 +0000 (19:52 +0000)]
Change the parser engine so that it (once again) waits for a lookahead token
before reducing, even in a SHIFTREDUCE action.
FossilOrigin-Name:
2c17a1358353a0845b039283be79353f033e2491
drh [Mon, 7 Sep 2015 18:23:37 +0000 (18:23 +0000)]
For the Lemon-generated parser, add a new action type SHIFTREDUCE and use it
to further compress the parser tables and improve parser performance.
FossilOrigin-Name:
531c3974b3d586c1989cde905b2fb4681239a570
drh [Mon, 7 Sep 2015 14:22:24 +0000 (14:22 +0000)]
In the "parse.out" output file from Lemon, show addition the complete text
of rules on reduce actions.
FossilOrigin-Name:
b6ffb7e471e51ff69668154ad2c8790e466c9d37
dan [Mon, 7 Sep 2015 08:14:30 +0000 (08:14 +0000)]
Use macros to make the code in fts5_index.c easier to read.
FossilOrigin-Name:
67ff5ae81357eb7fa28049bb724a22cb6f52e076
drh [Mon, 7 Sep 2015 02:23:02 +0000 (02:23 +0000)]
Improved "Parser Statistics" output (the -s option) for the Lemon parser
generator.
FossilOrigin-Name:
809503e4efcdb498d176e8c0794a5ba0882adef2
drh [Sun, 6 Sep 2015 10:31:37 +0000 (10:31 +0000)]
Improved memory barrier that should work with MinGW on older versions of
Windows.
FossilOrigin-Name:
47dc24bd1e8f76eb17ba53a883b8984b3e1b2934
drh [Sun, 6 Sep 2015 02:51:04 +0000 (02:51 +0000)]
Add a memory barrier to the mutex initialization logic, try to work around
an issue reported by WebKit.
FossilOrigin-Name:
11a9a786ec06403addb47f5c6fb142b382fae522
drh [Sat, 5 Sep 2015 22:36:07 +0000 (22:36 +0000)]
Omit all use of Expr nodes for TK_AS, as those nodes no longer served a useful
purpose and in fact interferred with the query planner.
FossilOrigin-Name:
7ab0b258eabfcfb7f1b0bd1b12e166d2f267823d
dan [Sat, 5 Sep 2015 19:52:08 +0000 (19:52 +0000)]
Experiment with a different fts5 leaf page format that allows faster seeks.
FossilOrigin-Name:
a1f4c3b543eed84e808f6b901a38179786fffe16
drh [Sat, 5 Sep 2015 19:21:00 +0000 (19:21 +0000)]
Fix an unreachable conditional in the WHERE clause analysis logic.
FossilOrigin-Name:
24924a58197e558a9e8800cc5c91dc8fb32f3557
drh [Sat, 5 Sep 2015 19:07:08 +0000 (19:07 +0000)]
Get STAT4 range scan estimates work again when the bounds are determined
by date/time functions.
FossilOrigin-Name:
d2761357a0496ec1e590c7c9e397c5b5c904f91a
drh [Fri, 4 Sep 2015 18:03:45 +0000 (18:03 +0000)]
Fix over-length source code lines in Lemon.
FossilOrigin-Name:
1efece95ff8777b89558be59277732ba2a68d5ab
drh [Fri, 4 Sep 2015 17:32:19 +0000 (17:32 +0000)]
Add support for CREATE INDEX statements that use deterministic expressions
rather than only column names.
FossilOrigin-Name:
2131a5ca53f0e9b0b98a9dd9a20e495d54d146a7
drh [Fri, 4 Sep 2015 13:02:21 +0000 (13:02 +0000)]
Merge trunk enhancements, and espeically the fix for allowing strings
as column identifers in CREATE INDEX statements.
FossilOrigin-Name:
5ff855293865c244ac632c630e8e7e8d7c05a5f6
drh [Fri, 4 Sep 2015 12:54:01 +0000 (12:54 +0000)]
Continue to support the (broken) legacy syntax of allowing strings for
column names in CREATE INDEX statements and in UNIQUE and PRIMARY KEY
constraints.
FossilOrigin-Name:
3d3df79bfaf9dbc7aa711c08a19d2f6dbe744b32
dan [Fri, 4 Sep 2015 11:13:00 +0000 (11:13 +0000)]
Enhance showfts5.tcl so that it can optionally display the number of terms in each segment.
FossilOrigin-Name:
d648ddd93de039820f5abe064c7bc1318cd9d6b1
dan [Fri, 4 Sep 2015 10:31:51 +0000 (10:31 +0000)]
Modify the fts5 custom tokenizer interface to permit synonym support. The fts5_api.iVersion value is now set to 2. Existing fts5 custom tokenizers (if there are such things) will need to be updated to use the new api version.
FossilOrigin-Name:
0b7e4ab8abde3ae32459233df115c433dd58d2c1
dan [Fri, 4 Sep 2015 10:24:05 +0000 (10:24 +0000)]
Merge latest trunk changes.
FossilOrigin-Name:
443a5eb8e17fd4f0b83ecc5bba74848e2c8a968c
drh [Fri, 4 Sep 2015 04:31:56 +0000 (04:31 +0000)]
Simplification of the LRU list handling in pcache1.
FossilOrigin-Name:
05a3a2cd140587265b5427d23c93c5be1f39e199
drh [Thu, 3 Sep 2015 20:43:55 +0000 (20:43 +0000)]
Change the pcache module to keep track of the total number of references to
all pages rather than the number of pages references, for a performance
improvement and size reduction.
FossilOrigin-Name:
f00a9e1e998c4bd249a45444dc2d71a7e4903b8b
dan [Thu, 3 Sep 2015 19:48:02 +0000 (19:48 +0000)]
Rearrange code in fts5_expr.c so that synonym support does not slow down the common case.
FossilOrigin-Name:
801882817f1d895aef1426f9a7196bd140b807c3
dan [Thu, 3 Sep 2015 18:57:52 +0000 (18:57 +0000)]
Merge enhancements from trunk.
FossilOrigin-Name:
4b49fe996989fe42d2bb1c24e7193fef09c5fc50
drh [Thu, 3 Sep 2015 18:20:10 +0000 (18:20 +0000)]
A simple optimization and size reduction in sqlite3PagerAcquire().
FossilOrigin-Name:
618d8dd4ff44cce10cc4688a2134715ff66cc562
dan [Thu, 3 Sep 2015 18:05:09 +0000 (18:05 +0000)]
Add documentation for fts5 synonym support.
FossilOrigin-Name:
58aa1f435959852df74f1bca8e0bdbc4f47c256a
drh [Thu, 3 Sep 2015 17:54:32 +0000 (17:54 +0000)]
Change the Pager.hasBeenUsed flag into Pager.hasHeldSharedLock in order to
take it off the critical path in sqlite3PagerAcquire().
FossilOrigin-Name:
b79096be7cb02aae2f303db33a8bf19e69204374
dan [Thu, 3 Sep 2015 15:37:26 +0000 (15:37 +0000)]
Add tests to improve coverage of fts5_varint.c.
FossilOrigin-Name:
89f24f31a8f7d7cb0a66ee53523881f566dcb035
dan [Thu, 3 Sep 2015 14:22:27 +0000 (14:22 +0000)]
Remove some more code from fts5_index.c by consolidating similar functions.
FossilOrigin-Name:
59ae30b97b40faa363c55aa2664dead9eaeeddc0
drh [Thu, 3 Sep 2015 14:18:12 +0000 (14:18 +0000)]
Merge enhancements from trunk.
FossilOrigin-Name:
1ab10cbf27245961b40eda1ce70f35646f0a9966
drh [Thu, 3 Sep 2015 13:46:12 +0000 (13:46 +0000)]
Add the sqlite3VdbeLoadString() and sqlite3VdbeMultiLoad() routines to help
with code generation, especially on PRAGMAs. Rename sqlite3VdbeAddGoto()
to just sqlite3VdbeGoto().
FossilOrigin-Name:
847387ec8e6fef283899578fb232b2c23b00ee5b
dan [Thu, 3 Sep 2015 11:17:52 +0000 (11:17 +0000)]
Remove dead code from fts5_index.c.
FossilOrigin-Name:
8a0a9b01e74072ee52fe393311ad591208fbbf7c
dan [Thu, 3 Sep 2015 11:00:50 +0000 (11:00 +0000)]
Fix the fts5 integrity-check so that it works with columnsize=0 tables.
FossilOrigin-Name:
11b887b15eaee57ea2577c763e70494f1e251275
dan [Thu, 3 Sep 2015 10:27:02 +0000 (10:27 +0000)]
Fix a memory leak in fts5_expr.c.
FossilOrigin-Name:
399932a181437d84cd57234e76c4b65da1e4ac5f
drh [Thu, 3 Sep 2015 04:28:25 +0000 (04:28 +0000)]
Factor out and simplify code in pragma.c for pragmas that return a single
row with a single column that is an integer or text value.
FossilOrigin-Name:
d7f4bdf594e93c848f46901637861c8eed4c34df
drh [Thu, 3 Sep 2015 03:29:51 +0000 (03:29 +0000)]
For PRAGMAs, factor out the code that sets the result set column names into
a subroutine.
FossilOrigin-Name:
0ea6e5c9fc6b1dd1174c09097be5bf291da4e6c7
drh [Wed, 2 Sep 2015 21:00:48 +0000 (21:00 +0000)]
Optimizations to the printf formatter.
FossilOrigin-Name:
a3b35ddeca8f459e81105ab6477f3c5afb9b96d5
dan [Wed, 2 Sep 2015 19:48:55 +0000 (19:48 +0000)]
Further tests to raise coverage of fts5 synonym code to 100%. Fix a dropped error code in the same.
FossilOrigin-Name:
bdedd838bb3028c586bcc9f643852ce1364adb49
dan [Wed, 2 Sep 2015 18:56:01 +0000 (18:56 +0000)]
Fix an issue with fts5 synonyms and NEAR(...) queries.
FossilOrigin-Name:
f2e590700d8eb30da8ac3a92f6ca92a2bbe9c1fe
drh [Wed, 2 Sep 2015 18:40:33 +0000 (18:40 +0000)]
Add and use the sqlite3VdbeChangeOpcode() routine. Simplify the implementation
of the other sqlite3VdbeChange*() routines.
FossilOrigin-Name:
0a5b00e493efae58252f9fc7bde5a469645942d5
drh [Wed, 2 Sep 2015 18:19:00 +0000 (18:19 +0000)]
Add the sqlite3VdbeAddGoto(v,i) routine as a shorthand for
sqlite3VdbeAddOp2(v,OP_Goto,0,i).
FossilOrigin-Name:
be78f413df1b0d874b44a866ef6bf17543d7e8a2
drh [Wed, 2 Sep 2015 17:55:12 +0000 (17:55 +0000)]
Change sqlite3_sql() so that it always returns the SQL text of the prepared
statement, if the text is available, even if the the prepared statement was
generated using sqlite3_prepare() instead of sqlite3_prepare_v2(). Also
include some minor comment fixes and code simplifications.
FossilOrigin-Name:
2f5472cfda6c72e75b9cf7b7481612465c1a5e6a
dan [Wed, 2 Sep 2015 17:34:22 +0000 (17:34 +0000)]
Fix a problem with fts5 synonyms and phrase queries. Also fix an OOM handling bug in fts5.
FossilOrigin-Name:
a4c35fa2c94fe34b376670244fe72303c99868c1
drh [Wed, 2 Sep 2015 16:51:37 +0000 (16:51 +0000)]
Small simplification to the EXPLAIN QUERY PLAN logic.
FossilOrigin-Name:
d1592d201afea20cb2ca94fe2bf5ae031bd29ede
drh [Wed, 2 Sep 2015 15:37:50 +0000 (15:37 +0000)]
Use sqlite3XPrintf() instead of sqlite3StrAccumAppend() in a few places
for better performance and a smaller footprint.
FossilOrigin-Name:
82355e41084387fa11b7b531e4d660dd3b4cd984
drh [Wed, 2 Sep 2015 14:56:56 +0000 (14:56 +0000)]
The sqlite3_memory_alarm() interface has been deprecated and undocumented
for almost 8 years (since version 3.5.3). Change it into a no-op.
FossilOrigin-Name:
5d3f5df4da9f40d5897b5c23b2ea9333fc18ac2c
dan [Wed, 2 Sep 2015 14:17:38 +0000 (14:17 +0000)]
Fix a problem handling OOM conditions within fts5 queries that feature synonyms.
FossilOrigin-Name:
11fa980897c6c7be218bbd9c4cd8253272d2c300
dan [Wed, 2 Sep 2015 08:22:41 +0000 (08:22 +0000)]
Fix a problem with fts5 synonyms and the xQueryPhrase() auxiliary function API.
FossilOrigin-Name:
cf3e45e76d23e10ee06296c3561a341591597a04
drh [Tue, 1 Sep 2015 23:51:53 +0000 (23:51 +0000)]
Very minor optimizations in the unix VFS.
FossilOrigin-Name:
6db3ff45bc15ece29cb2c7a736e5c6d005dde200
drh [Tue, 1 Sep 2015 22:29:07 +0000 (22:29 +0000)]
Performance improvement in sqlite3VarintLen().
FossilOrigin-Name:
adf9fefb00ae1dbb07a921c6796cb0a9505c6d19
drh [Tue, 1 Sep 2015 20:09:33 +0000 (20:09 +0000)]
Small size reduction and performance increase in sqlite3DbMallocSize().
FossilOrigin-Name:
8a80967f849eed002a701235ed7fb406099d566e
drh [Tue, 1 Sep 2015 19:51:37 +0000 (19:51 +0000)]
Reduce the number of calls to sqlite3BeginBenignMalloc().
FossilOrigin-Name:
0bee6583665782fac5d9e82bdf19b6f07e7bd03f
dan [Tue, 1 Sep 2015 18:44:33 +0000 (18:44 +0000)]
Fix a problem that occurs when more than 4 synonyms for a term appear within a single row.
FossilOrigin-Name:
cd359550bdc2bf7be4c294b60130c9fc3f583902
dan [Tue, 1 Sep 2015 18:08:36 +0000 (18:08 +0000)]
Add tests for fts5 synonyms implemented by adding extra terms to queries. And fixes for the same.
FossilOrigin-Name:
dbcb73802b88f76be17f09f3eb83ffac542de633
drh [Tue, 1 Sep 2015 13:17:17 +0000 (13:17 +0000)]
Rename SQLITE_FUNC_VARYING to SQLITE_FUNC_SLOCHNG - a more descriptive name
for what that bit means.
FossilOrigin-Name:
ff5137a6dd8cb2a9b629b3a244f52665e9c9ebce
drh [Tue, 1 Sep 2015 00:42:52 +0000 (00:42 +0000)]
Remove unreachable branches.
FossilOrigin-Name:
fd4da2318cc032d7c355376e440d4a05d7ab8793
drh [Mon, 31 Aug 2015 23:09:42 +0000 (23:09 +0000)]
Fix a bug in error reporting when a UNIQUE index on expressions fails its
uniqueness test.
FossilOrigin-Name:
5a2c0e90a1933545b4768d91d8f7c42c8f391019
drh [Mon, 31 Aug 2015 21:16:36 +0000 (21:16 +0000)]
Not only date/time functions, but also functions like sqlite_version() and
changes() need to be prohibited from use inside of indexes.
FossilOrigin-Name:
487131303980f15dd5e1b6695b4f29efda229eb8
dan [Mon, 31 Aug 2015 20:06:06 +0000 (20:06 +0000)]
Begin changes to allow synonym support by adding multiple terms to a query (an alternative to adding multiple terms to the FTS index).
FossilOrigin-Name:
ad7feaed4cd6b1d6e6376bb82d1f5664ddd083f3
drh [Mon, 31 Aug 2015 19:38:42 +0000 (19:38 +0000)]
Always assume that indexed expressions can generate a NULL. Get
indexed expressions working for the case of two or more expressions in
the same index.
FossilOrigin-Name:
cc60321a67bf9f169c090b47afb505f589a6925e
drh [Mon, 31 Aug 2015 18:13:01 +0000 (18:13 +0000)]
Case should not be significant when comparing function names.
FossilOrigin-Name:
e2f1caf117b0a9632d52246717ab202852982339
drh [Mon, 31 Aug 2015 17:34:41 +0000 (17:34 +0000)]
Make the distinction between truly deterministic functions and date/time
functions which only return the same answer for a single query. Only truly
deterministic functions are allowed in indexes. Add new expression index
test cases.
FossilOrigin-Name:
c77554b5c42327106a7b90334e9cc3c07b007c76
drh [Mon, 31 Aug 2015 15:58:06 +0000 (15:58 +0000)]
Improved analysis and usage of indexed expressions in the query planner.
FossilOrigin-Name:
f8893696387cba9d293a05a68dc38228077b3dc5
drh [Mon, 31 Aug 2015 14:27:29 +0000 (14:27 +0000)]
Merge the latest enhancements from trunk.
FossilOrigin-Name:
7bde6d4d8cf05e1beb9bdf20b85760dc3e7a76c9
drh [Sat, 29 Aug 2015 19:41:45 +0000 (19:41 +0000)]
Enhance the json_extract() function so that if given multiple PATH arguments
it will return a JSON array with all of the answers. Also update comments
within the json1 extension to reflect stricter interpretation of JSON and PATH
arguments.
FossilOrigin-Name:
1da60c3dda4254620052a83c853c2d2b6dd5009f
drh [Sat, 29 Aug 2015 19:03:33 +0000 (19:03 +0000)]
Link the json1 extension into the command-line shell by default.
FossilOrigin-Name:
2e8e239cec5a12ac81cf62c0fbe94fb5713c31b1
dan [Sat, 29 Aug 2015 18:46:12 +0000 (18:46 +0000)]
Add a test for an fts5 tokenizer that supports synonyms by adding multiple entries to the fts index.
FossilOrigin-Name:
98d07d16cab92f1e7001afbe370df3ec6343fc1f
drh [Sat, 29 Aug 2015 18:30:30 +0000 (18:30 +0000)]
New test cases for the json1 extension.
FossilOrigin-Name:
daff4832af963f98bcc1d2c2f84bd815d384f850