]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Thu, 27 Aug 2015 19:57:16 +0000 (19:57 +0000)]
Add header comments for new methods in pager.c.
FossilOrigin-Name:
437c7e219d3240767a28f73487bc26c3be3044b3
dan [Thu, 27 Aug 2015 19:22:56 +0000 (19:22 +0000)]
Add test cases for concurrent transactions and long-lived SELECT statements.
FossilOrigin-Name:
fd4798cb7af263409c20d3cf81236b830bd68570
dan [Thu, 27 Aug 2015 17:42:38 +0000 (17:42 +0000)]
Fix a problem whereby concurrent transactions would not consider pages read by the transaction before the first write statement.
FossilOrigin-Name:
fc17f73170a27c2fe511ed6b6d488535c4e35bae
dan [Wed, 26 Aug 2015 18:54:45 +0000 (18:54 +0000)]
Fix an assert() in pager.c that could fail in a concurrent transaction.
FossilOrigin-Name:
69394ddaa2bc9d26477b4359c676c598b733ac9f
dan [Wed, 26 Aug 2015 18:02:20 +0000 (18:02 +0000)]
Fix a problem allowing some conflicting transactions to be committed.
FossilOrigin-Name:
a0566382d564ca17fd13475a44fed8f714742d97
dan [Tue, 25 Aug 2015 19:10:29 +0000 (19:10 +0000)]
Add miscellaneous test cases for concurrent transactions.
FossilOrigin-Name:
779b1d0e17bc54062b2b09cdbf94e9e2f4bae4f7
dan [Tue, 25 Aug 2015 17:16:33 +0000 (17:16 +0000)]
If "PRAGMA integrity_check" is run while the database is being written by a CONCURRENT transaction, do not consider unreferenced pages to be an error. They may be part of the free-page list, which is not visible at the b-tree layer when running a CONCURRENT transaction.
FossilOrigin-Name:
f32b57b49311693eb0c0c9f6f14859e7b1fa93d8
dan [Tue, 25 Aug 2015 16:01:04 +0000 (16:01 +0000)]
Test that if a corrupt wal-index header is encountered when attempting to commit a concurrent transaction, SQLITE_BUSY_SNAPSHOT is returned to the caller.
FossilOrigin-Name:
c746e0bd20cb136eed2b691f326657d266e2f1ed
dan [Tue, 25 Aug 2015 14:37:39 +0000 (14:37 +0000)]
Fix a segfault that could occur following an OOM condition in the concurrent transaction code.
FossilOrigin-Name:
231b5880228cf01efe3981bc8be3150d79b422e5
dan [Tue, 25 Aug 2015 11:16:02 +0000 (11:16 +0000)]
Merge latest trunk changes with this branch.
FossilOrigin-Name:
3e7d6dd62dfa63d7def00bd00ac055a606a0c80d
drh [Tue, 25 Aug 2015 00:34:54 +0000 (00:34 +0000)]
Fix a memory leak that might occur when compiling with SQLITE_OMIT_CHECK.
FossilOrigin-Name:
8f1d9f1f308518522ebb1eaebb9b184b4ac30924
mistachkin [Mon, 24 Aug 2015 22:06:02 +0000 (22:06 +0000)]
Remove duplicated line of code.
FossilOrigin-Name:
47280f2a2b7cc83bf11ab86284204f565c278c55
drh [Mon, 24 Aug 2015 20:54:06 +0000 (20:54 +0000)]
Remove some redundant code: Call sqlite3ResolveExprListNames() rather than
calling sqlite3ResolveExprNames() in a loop - in two places.
FossilOrigin-Name:
bdaf66465b6b1bdad10c08d9527b98e7000a41e4
drh [Mon, 24 Aug 2015 20:21:20 +0000 (20:21 +0000)]
Enhances the parser so that it accepts arbitrary expressions for the arguments
of an index, though the code generator still rejects everything other than
simple column names. The sqlite3RestrictColumnListSyntax() routine is removed
since that feature is now handled by the parser.
FossilOrigin-Name:
bed42116addabcf3dfdc2e2d51ae183965704988
dan [Mon, 24 Aug 2015 19:56:04 +0000 (19:56 +0000)]
Change "BEGIN UNLOCKED" to "BEGIN CONCURRENT".
FossilOrigin-Name:
ba1ab858e2997c88dd7eee6e6893a8616d85c665
dan [Mon, 24 Aug 2015 19:08:10 +0000 (19:08 +0000)]
Fix handling of attempts to modify the database schema, application_id or user_version within an UNLOCKED transaction.
FossilOrigin-Name:
5b9f272113d21fd606903509d6f830fe60fac039
drh [Mon, 24 Aug 2015 17:42:49 +0000 (17:42 +0000)]
Enhance the CREATE VIEW syntax so that the names of columns of the view can
be specified after the view name.
FossilOrigin-Name:
d794b34da6f9c77dfe17773b0b17b22de72cce7f
mistachkin [Mon, 24 Aug 2015 17:18:43 +0000 (17:18 +0000)]
Enhancements to the batch build tool for MSVC.
FossilOrigin-Name:
a1ae20cd97456a1126cfa1a9bedce0bac0940ad6
dan [Mon, 24 Aug 2015 16:00:08 +0000 (16:00 +0000)]
Fix compilation without SQLITE_ENABLE_UNLOCKED. Also other code organization issues.
FossilOrigin-Name:
041135575417201bbcf0544cc69dcb7369c7fb34
drh [Mon, 24 Aug 2015 15:39:42 +0000 (15:39 +0000)]
Disallow the use of COLLATE clauses and the ASC and DESC keywords within
foreign key constraints and in the argument list to common table expressions.
FossilOrigin-Name:
83cbc4d8761498647794affffa961a4fca311be7
drh [Mon, 24 Aug 2015 12:42:41 +0000 (12:42 +0000)]
Improvements to JSON string dequoting.
FossilOrigin-Name:
196d66d34d9783622e6f2f79eafea1488fc6f5cf
dan [Mon, 24 Aug 2015 10:05:03 +0000 (10:05 +0000)]
Consolidate two blocks of similar code in btreeFixUnlocked().
FossilOrigin-Name:
701302b4bd62ca7aefe643eac096a0ee672a62fa
dan [Mon, 24 Aug 2015 06:44:17 +0000 (06:44 +0000)]
Merge trunk changes with this branch.
FossilOrigin-Name:
876810c28b3ad573ae46050ec699ef7eea4e313d
dan [Mon, 24 Aug 2015 06:43:25 +0000 (06:43 +0000)]
Fix another problem involving unlocked transactions and wal-file restarts.
FossilOrigin-Name:
4460764ea8fc948fe02f0a09476857839b3aa1ae
drh [Mon, 24 Aug 2015 02:32:04 +0000 (02:32 +0000)]
Fix corner-case problems in the type and atom columns of json_each() and
json_tree().
FossilOrigin-Name:
f0aba0e120074430cd7ad93291fcc97b8a25a054
drh [Sun, 23 Aug 2015 20:48:29 +0000 (20:48 +0000)]
Fix a comment typo on sqlite3ExprAlloc(). No code changes.
FossilOrigin-Name:
518d6220a12fb1289f699ef0821e6adfcd286ed0
drh [Sun, 23 Aug 2015 20:44:59 +0000 (20:44 +0000)]
Fix minor glitches in the json1.c extension, mostly having to do with OOM
behavior.
FossilOrigin-Name:
cc5204149c4053b9e529a72102d8df0925ad1ea1
drh [Sun, 23 Aug 2015 02:42:30 +0000 (02:42 +0000)]
Fixes to json_each() and json_tree(). Improved json_parse() debugging output.
FossilOrigin-Name:
fc1b24f316af07a64672f6edc14ebcff487dffbb
dan [Sat, 22 Aug 2015 20:32:39 +0000 (20:32 +0000)]
Fix a problem to do with detecting unlocked transaction conflicts if another client restarts the wal while the transaction is running.
FossilOrigin-Name:
e3968b256282d8c0a87c26667b1ba02faf7a5a17
drh [Sat, 22 Aug 2015 19:39:04 +0000 (19:39 +0000)]
Add the json_valid() function to the json1.c extension. Fix various minor
problems in the json1.c extension.
FossilOrigin-Name:
380a97345b446214843a63ccc017d49a52d884da
dan [Sat, 22 Aug 2015 17:28:55 +0000 (17:28 +0000)]
Add further tests for deferred page allocation. And fixes for the same.
FossilOrigin-Name:
ed0a31be726e60115a5dd73d4ed580201b400ab7
dan [Sat, 22 Aug 2015 07:56:49 +0000 (07:56 +0000)]
Merge further trunk changes.
FossilOrigin-Name:
c2327a3b8e5d604ab948b1e9f6cfc401429e51db
dan [Sat, 22 Aug 2015 07:55:08 +0000 (07:55 +0000)]
Merge trunk changes into this branch.
FossilOrigin-Name:
9021f7369f4b32db6126b3dc0ac75d11039625be
drh [Sat, 22 Aug 2015 03:05:54 +0000 (03:05 +0000)]
Fix a couple instances of OOM handling in the json extension.
FossilOrigin-Name:
213a6c5ccbcfe4495d45e3608e99a6398751aeed
drh [Sat, 22 Aug 2015 01:32:29 +0000 (01:32 +0000)]
Do not apply the WHERE-clause pushdown optimization to terms that originate
in the ON or USING clause of a LEFT JOIN. Fix for ticket
[
6df18e949d3676290 ].
FossilOrigin-Name:
351bc22fa9b5a2e50da3583a882c5aa390bda19f
drh [Fri, 21 Aug 2015 20:43:32 +0000 (20:43 +0000)]
Add extension functions for processing JSON.
FossilOrigin-Name:
178f9a352c6c9e15e809e1a47530c6592d18578d
drh [Fri, 21 Aug 2015 20:37:12 +0000 (20:37 +0000)]
Fixes for compiler warnings and errors in the makefiles. Rename the
one test script to json101.test.
FossilOrigin-Name:
9ff6ccde5f26f18073587c320290570854ffc833
drh [Fri, 21 Aug 2015 20:12:43 +0000 (20:12 +0000)]
Change the name of the json loadable extension to "json1.c", in anticipation
of having future major changes to the interface.
FossilOrigin-Name:
d0d4bec9e3d8829a2d488f2742f1650214fa716a
dan [Fri, 21 Aug 2015 20:11:23 +0000 (20:11 +0000)]
Fix many minor issues in the unlocked transaction code.
FossilOrigin-Name:
53aaeea6c98f82f3b55d4b3ab139ee41b727243c
drh [Fri, 21 Aug 2015 20:02:48 +0000 (20:02 +0000)]
Add the fullkey column to both json_each() and json_tree().
FossilOrigin-Name:
15dd99431e9ddd0fbdbb8dcc921687b0c6d26a29
drh [Fri, 21 Aug 2015 19:56:45 +0000 (19:56 +0000)]
Merge header file fixes from trunk.
FossilOrigin-Name:
7c2713e98ffb5f0d96eb7de9514eab43f0712011
drh [Fri, 21 Aug 2015 19:53:06 +0000 (19:53 +0000)]
Add a missing #define for sqlite3_vsnprintf to sqlite3ext.h.
FossilOrigin-Name:
da3c9df09c46564353218d0163e378b880a3ce62
dan [Fri, 21 Aug 2015 18:55:22 +0000 (18:55 +0000)]
When committing an UNLOCKED transaction, try to move pages allocated at the end of the file to free slots within the file (like an incremental-vacuum operation does).
FossilOrigin-Name:
069679162d8d50e9731831e658aa58f280dbb3e7
dan [Fri, 21 Aug 2015 17:57:16 +0000 (17:57 +0000)]
Fix a problem with UNLOCKED transactions that free pages allocated within the same transaction.
FossilOrigin-Name:
227bb8a1815c4dc6084970f06b0a6bfccdff3fd2
drh [Fri, 21 Aug 2015 17:39:35 +0000 (17:39 +0000)]
Reserve the SQLITE_IOERR_VNODE error code name.
FossilOrigin-Name:
53b593fcae178f2e08f758ae6fd100869f771bfd
drh [Fri, 21 Aug 2015 17:33:11 +0000 (17:33 +0000)]
Add the json_tree() virtual table.
FossilOrigin-Name:
08c36e45f0d3a7b89caf823652d7543b76ac802a
drh [Fri, 21 Aug 2015 17:16:22 +0000 (17:16 +0000)]
Merge in trunk fixes for table-valued functions.
FossilOrigin-Name:
67375f32d931351964d75d20671c4a6d8a294d7d
drh [Fri, 21 Aug 2015 17:14:48 +0000 (17:14 +0000)]
Fix a corner-case bug in table-valued functions. Update the generate_series()
virtual table to increase the performance estimate penalty for being
underspecified.
FossilOrigin-Name:
552bc9cb88bbe54b4cf5fdf66d1217e7a2047110
dan [Fri, 21 Aug 2015 16:22:04 +0000 (16:22 +0000)]
Merge trunk changes with this branch.
FossilOrigin-Name:
deaf3b18569025d8d168da29fae76142cfffe9e5
dan [Fri, 21 Aug 2015 14:21:22 +0000 (14:21 +0000)]
Add extra tests and a fix for rollbacks of UNLOCKED transactions.
FossilOrigin-Name:
82cd837e72ed4cf5821be717369694be29a2997e
drh [Fri, 21 Aug 2015 12:37:49 +0000 (12:37 +0000)]
Fix typo in comment. No changes to code.
FossilOrigin-Name:
7b8d17dd840f64dac9a018a4547a97de799e94ab
drh [Thu, 20 Aug 2015 23:39:38 +0000 (23:39 +0000)]
Merge the latest changes from trunk, including the table-valued function
implementation.
FossilOrigin-Name:
10c444322f05ea8b83247f96a140bf3dbc4e9448
drh [Thu, 20 Aug 2015 23:33:09 +0000 (23:33 +0000)]
Compiler-warning fixes in the sqldiff.exe utility.
FossilOrigin-Name:
64d13339d44d1b7ec6768a33421f2138cb7872d8
drh [Thu, 20 Aug 2015 23:28:18 +0000 (23:28 +0000)]
Fix a couple C99-isms that cause compile errors on MSVC.
FossilOrigin-Name:
bc577fe6cbbe5385d81d6fa0f3c34bb1c833f0d6
drh [Thu, 20 Aug 2015 23:21:34 +0000 (23:21 +0000)]
Fix corner-case memory management issues in table-valued functions. Change
virtual table handling so that if xDestroy is missing the table is
eponymous only even if xCreate is present.
FossilOrigin-Name:
774e6a14b124bbae4da0e188b62aee9ffb8c3745
mistachkin [Thu, 20 Aug 2015 21:14:31 +0000 (21:14 +0000)]
Skip calling the virtual table xDestroy method when it is null.
FossilOrigin-Name:
b73ad305a6b7cb84fe0a1efb334b8e4592e21c40
mistachkin [Thu, 20 Aug 2015 21:09:32 +0000 (21:09 +0000)]
Fix compiler warnings in the sqldiff tool seen with MSVC.
FossilOrigin-Name:
072279d458fbb74a812a9ee723041d6b7c662a88
dan [Thu, 20 Aug 2015 20:25:56 +0000 (20:25 +0000)]
Fix a problem causing corruption when an UNLOCKED transaction is rolled back.
FossilOrigin-Name:
7c36147846484c96023939864417b5624f3bc5f8
mistachkin [Thu, 20 Aug 2015 20:21:06 +0000 (20:21 +0000)]
Fix stray variable declaration for C89.
FossilOrigin-Name:
17eb7f18cb76170e109977a94b259b763cd86c47
drh [Thu, 20 Aug 2015 20:13:37 +0000 (20:13 +0000)]
Correctly handle empty function argument lists on table-valued functions.
FossilOrigin-Name:
a7acc7878b8bb8e27a0da67b2dbb7bd51df4859b
drh [Thu, 20 Aug 2015 19:55:58 +0000 (19:55 +0000)]
Add support for table-valued functions in the FROM clause implemented as
virtual tables.
FossilOrigin-Name:
9b718b06b156163ae34115b6c5f6d163a7ee7cc3
drh [Thu, 20 Aug 2015 18:28:46 +0000 (18:28 +0000)]
Prevent the series.c extension from loading on older versions of SQLite that
do not support xCreate==NULL.
FossilOrigin-Name:
3efc79427ef4686142d074cfe5b2f0a33af19b2e
drh [Thu, 20 Aug 2015 17:18:32 +0000 (17:18 +0000)]
Make SQLITE_BUSY_SNAPSHOT and SQLITE_BUSY_RECOVERY retryable, just as a plain
SQLITE_BUSY is.
FossilOrigin-Name:
fd13dd950d99fd1996860f7a5f220fdc89180194
dan [Thu, 20 Aug 2015 16:16:37 +0000 (16:16 +0000)]
Fix a typo in series.c.
FossilOrigin-Name:
23db7f50f14801c2cf56c006d7c7f593908b7158
drh [Wed, 19 Aug 2015 23:02:49 +0000 (23:02 +0000)]
Fix the path lookup for objects so that it can handle quoted identifier
names and non-alphanumerics in the identifier.
FossilOrigin-Name:
87f5873004f69396baa7c67937342b4e32f79bda
drh [Wed, 19 Aug 2015 22:47:17 +0000 (22:47 +0000)]
Add the json_each(JSON,PATH) table-valued-function.
FossilOrigin-Name:
3335ac17bbcb09dc915173d69bf42048f84ad563
dan [Wed, 19 Aug 2015 20:27:05 +0000 (20:27 +0000)]
When committing an unlocked transaction, relocate newly allocated database pages within the file to avoid conflicting with committed transactions. There are lots of things still to fix in this code.
FossilOrigin-Name:
3bbc31d515ba9fc920c5cbc7059d3eb1ba9c7f8e
drh [Wed, 19 Aug 2015 19:26:13 +0000 (19:26 +0000)]
Merge the table-valued-function rowid fix.
FossilOrigin-Name:
a06a6392bd48baa8b9bac2624869c0cc7da7e779
drh [Wed, 19 Aug 2015 19:01:28 +0000 (19:01 +0000)]
Fix eponymous virtual tables so that they do not automatically make the first
column the rowid. Enhance the generate_series virtual table to support rowid.
FossilOrigin-Name:
a325a08599759471047e234ef9cfcc3cb110aafd
drh [Wed, 19 Aug 2015 18:31:11 +0000 (18:31 +0000)]
Merge support for table-valued functions.
FossilOrigin-Name:
96a5d44d9fcb7b159c04630ad2d956fe27df5a43
drh [Wed, 19 Aug 2015 18:19:49 +0000 (18:19 +0000)]
Improved comments on the generate_series virtual table. Test cases for
ORDER BY rowid DESC with generate_series.
FossilOrigin-Name:
fef44c37f31ca9fd7891cecdbe95cc46a987067b
drh [Wed, 19 Aug 2015 17:11:37 +0000 (17:11 +0000)]
A list of arguments following a table name translates into equality
constraints against hidden columns in that table.
FossilOrigin-Name:
40e12cfe4c29475417ba89fb637b4c763cf74016
drh [Wed, 19 Aug 2015 15:20:00 +0000 (15:20 +0000)]
Minor refactor of the SrcList object so that it is able to hold the argument
list to a table-valued-function in the FROM clause.
FossilOrigin-Name:
b919376147597c4b73421abe5788f893baf1560b
drh [Wed, 19 Aug 2015 13:54:20 +0000 (13:54 +0000)]
Virtual table modules with a null xCreate method act as eponymous-only modules -
they cannot be used in a CREATE VIRTUAL TABLE statement. Add the series.c
extension that implements a postgres-like generate_series virtual table to
demonstrate this capability.
FossilOrigin-Name:
c58426dbd5ea8b8440ebcc1214f79fa63d658216
drh [Wed, 19 Aug 2015 12:52:51 +0000 (12:52 +0000)]
Merge changes from trunk.
FossilOrigin-Name:
dddd792dedf0c73ebe74b4ff8d303e6216c16b6a
drh [Wed, 19 Aug 2015 12:45:57 +0000 (12:45 +0000)]
Simplification to error handling in addModuleArgument() in the virtual table
processing.
FossilOrigin-Name:
c573b0a1aa3ba509234f07520fa94d008bcbb330
dan [Wed, 19 Aug 2015 08:34:34 +0000 (08:34 +0000)]
When updating a zipvfs database with RBU, set journal_mode=off to prevent the upper-level pager from creating a large temporary file.
FossilOrigin-Name:
dec14a3980dcf6c61b0b9ac4ba82fa963ac346d4
drh [Wed, 19 Aug 2015 02:32:25 +0000 (02:32 +0000)]
Initial implementation of eponymous virtual table instances.
FossilOrigin-Name:
c1f43a7799a9298abea01b2f8531fc7cdadc4594
dan [Tue, 18 Aug 2015 19:09:28 +0000 (19:09 +0000)]
Add test file spellfix2.test, which should have been checked in some time ago.
FossilOrigin-Name:
8599402092537ab3df8926eb900661c12d738d4c
mistachkin [Tue, 18 Aug 2015 16:32:45 +0000 (16:32 +0000)]
Fix harmless compiler warning in FTS5.
FossilOrigin-Name:
02448a9fccd4532daa667e4ba6ff1dbb7f68008a
drh [Tue, 18 Aug 2015 12:59:58 +0000 (12:59 +0000)]
Comment clarification. No changes to code.
FossilOrigin-Name:
71a966952cf8f1d699cf8362ea3f6204c6e16384
drh [Tue, 18 Aug 2015 02:28:03 +0000 (02:28 +0000)]
Initial implementation of json_set() and json_insert().
FossilOrigin-Name:
4aa49656d98e2894f2faa8963f79462ee6165d40
drh [Mon, 17 Aug 2015 21:22:32 +0000 (21:22 +0000)]
Initial implementation of json_replace().
FossilOrigin-Name:
3c4bee65d93efc7f03f0f11817a068b02068d37c
drh [Mon, 17 Aug 2015 20:14:19 +0000 (20:14 +0000)]
Add an initial implementation for json_remove().
FossilOrigin-Name:
2a8267209dbda36a37c1b5f65000b2f763c62341
drh [Mon, 17 Aug 2015 15:17:37 +0000 (15:17 +0000)]
Initial implementation for json_array_length(), json_extract(), and
json_type().
FossilOrigin-Name:
39983204515837e7bd574cf47918e493acc03d1f
drh [Mon, 17 Aug 2015 11:28:03 +0000 (11:28 +0000)]
Abandon the JSONB format for now. (We may return to it in the future.) Add
a function to render a JSON parse.
FossilOrigin-Name:
9703c0aa18ae43375af876474b818e504e1c10a5
drh [Sat, 15 Aug 2015 21:29:14 +0000 (21:29 +0000)]
Fix off-by-one error when parsing primitive JSON types "true", "false", and
"null".
FossilOrigin-Name:
42c15c1e36b5077646fef99028cf12e587a45023
drh [Sat, 15 Aug 2015 21:25:36 +0000 (21:25 +0000)]
Add a prototype JSON parser.
FossilOrigin-Name:
789ba487000aa73621a41d115ad5de455ea8ea31
dan [Sat, 15 Aug 2015 18:16:46 +0000 (18:16 +0000)]
Handle writes to auto-vacuum databases within UNLOCKED transactions in the same way as for non-UNLOCKED transactions.
FossilOrigin-Name:
de1ea450db33b140b11af5b801ea6a15875e774e
drh [Sat, 15 Aug 2015 16:32:50 +0000 (16:32 +0000)]
Minor fix to the display of oversized KeyInfo structures in the P4 operand
of Open opcodes in EXPLAIN output.
FossilOrigin-Name:
f65a9b4ab2c6f0b7028e16e2a0f83fd6d58ae1cd
drh [Fri, 14 Aug 2015 12:53:37 +0000 (12:53 +0000)]
Duplicate the output of releasetest.tcl into releasetest-out.txt
FossilOrigin-Name:
5e06a9c186f4b7478c73155613de219d702e0241
dan [Thu, 13 Aug 2015 18:26:09 +0000 (18:26 +0000)]
Add the sqlite3rbu_savestate() function to the rbu extension. To force rbu to save its state to disk without closing the sqlite3rbu* handle.
FossilOrigin-Name:
851a875ad6b81f90960caf4d03b116afc911858d
drh [Thu, 13 Aug 2015 13:54:59 +0000 (13:54 +0000)]
Experimental code (untested) for a JSONB datatype.
FossilOrigin-Name:
e3596ac7b1dd5bde3f9cae5781a6806d8d9f7166
dan [Thu, 13 Aug 2015 11:46:21 +0000 (11:46 +0000)]
Avoid invoking system call unlink() directly from RBU code. Use the xDelete method of the default VFS instead.
FossilOrigin-Name:
ee966af8ff79189f8b90f3557dea21059517dfe2
drh [Wed, 12 Aug 2015 17:23:34 +0000 (17:23 +0000)]
Add the json_object() function.
FossilOrigin-Name:
414a95f3b79359f167858b2325fd2be223569c66
drh [Wed, 12 Aug 2015 16:49:40 +0000 (16:49 +0000)]
Begin adding an extension that provides JSON SQL functions.
FossilOrigin-Name:
dde8afdd8dba1d92560326dca7c1cdfedbe5e070
dan [Wed, 12 Aug 2015 15:36:58 +0000 (15:36 +0000)]
Minor optimization for fts5 API xInst().
FossilOrigin-Name:
efb7c9c5d0015c8c966f8d6742c05cda82fc146a
dan [Wed, 12 Aug 2015 12:11:28 +0000 (12:11 +0000)]
Add the xPhraseFirst() and xPhraseNext() fts5 APIs, for faster iteration through a single phrases position list. Also optimize xInst() and xInstCount() a bit.
FossilOrigin-Name:
f7682435278419829a46bb4cc9b5625d46549e22
dan [Tue, 11 Aug 2015 14:25:34 +0000 (14:25 +0000)]
Merge fixes from the fts5NoWarn branch.
FossilOrigin-Name:
61cb2fc6c12810863c965c74e90bc502e20cf810
drh [Sat, 8 Aug 2015 23:30:56 +0000 (23:30 +0000)]
Fix compiler warnings and remove unreachable code.
FossilOrigin-Name:
fd5608fb20831f1f1946c8941445b7acc463a143